Skip to content

Commit

Permalink
Add fuel core secret (#740)
Browse files Browse the repository at this point in the history
* Adding new fuel core secret ref to helm chart

* change fuel-core env secret name

* add quotation marks

* remove quotes

* add ""

Co-authored-by: Brandon Kite <brandonkite92@gmail.com>
  • Loading branch information
rfuelsh and Voxelot committed Nov 3, 2022
1 parent 6b986d5 commit 4af8354
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deployment/charts/templates/fuel-core-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ spec:
env:
- name: HUMAN_LOGGING
value: {{ .Values.app.human_logging | quote }}
- name: CONSENSUS_KEY_SECRET
valueFrom:
secretKeyRef:
name: fuel-core-secret
key: CONSENSUS_KEY_SECRET
volumes:
- name: {{ .Values.app.volume.pvname }}
persistentVolumeClaim:
Expand Down
7 changes: 7 additions & 0 deletions deployment/secrets/fuel-core-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: fuel-core-secret
namespace: ${k8s_namespace}
data:
CONSENSUS_KEY_SECRET: "${fuel_core_consensus_key_secret_base64_encoded}"

0 comments on commit 4af8354

Please sign in to comment.