Skip to content

Commit

Permalink
[fulcrum] Bumping to v1.11.1 and RPCPASSWORD refacctor (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
bboerst authored Dec 5, 2024
1 parent 795b4e4 commit 79654e8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/fulcrum/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
type: application
description: fulcrum helm chart
name: fulcrum
version: 0.1.7
version: 0.1.8
# renovate: image=cculianu/fulcrum
appVersion: "v1.11.0"
appVersion: "v1.11.1"
5 changes: 3 additions & 2 deletions charts/fulcrum/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fulcrum

![Version: 0.1.7](https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.11.0](https://img.shields.io/badge/AppVersion-v1.11.0-informational?style=flat-square)
![Version: 0.1.8](https://img.shields.io/badge/Version-0.1.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.11.1](https://img.shields.io/badge/AppVersion-v1.11.1-informational?style=flat-square)

fulcrum helm chart

Expand All @@ -10,7 +10,7 @@ fulcrum helm chart
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| arguments[0] | string | `"/data/config.toml"` | |
| config | string | `"# Example config: https://github.com/cculianu/Fulcrum/blob/master/doc/fulcrum-example-config.conf\ndatadir = /data\nbitcoind = bitcoind:8332\nrpcuser = fulcrum\nrpcpassword = hunter1\n#rpccookie = /authcookie/.cookie\n"` | |
| config | string | `"# Example config: https://github.com/cculianu/Fulcrum/blob/master/doc/fulcrum-example-config.conf\ndatadir = /data\nbitcoind = bitcoind:8332\nrpcuser = fulcrum\nrpcpassword = hunter1 # alternatively use the rpcPasswordEnvVarSecretName instead\n#rpccookie = /authcookie/.cookie\n"` | |
| cookiePersistence.enabled | bool | `false` | |
| cookiePersistence.existingClaim | string | `"bitcoin-core-authcookie"` | |
| extraManifests | list | `[]` | |
Expand All @@ -33,6 +33,7 @@ fulcrum helm chart
| podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| rpcPasswordEnvVarSecretName | string | `""` | |
| securityContext | object | `{}` | |
| service.annotations | object | `{}` | |
| service.enabled | bool | `true` | |
Expand Down
8 changes: 8 additions & 0 deletions charts/fulcrum/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ spec:
{{- range .Values.arguments }}
- {{ . }}
{{- end }}
env:
{{- if .Values.rpcPasswordEnvVarSecretName }}
- name: RPCPASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.rpcPasswordEnvVarSecretName }}
key: RPCPASSWORD
{{- end }}
ports:
{{- range $port := .Values.service.ports.tcp }}
- name: "{{ $port }}-tcp"
Expand Down
6 changes: 5 additions & 1 deletion charts/fulcrum/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ config: |
datadir = /data
bitcoind = bitcoind:8332
rpcuser = fulcrum
rpcpassword = hunter1
rpcpassword = hunter1 # alternatively use the rpcPasswordEnvVarSecretName instead
#rpccookie = /authcookie/.cookie
# Secret name containing RPCPASSWORD, created from:
# kubectl create secret generic thesecretname -n fulcrum-namespace --from-literal=RPCPASSWORD=thepasswordhere
rpcPasswordEnvVarSecretName: ""

ssl:
enabled: false
useCertManager: true
Expand Down

0 comments on commit 79654e8

Please sign in to comment.