Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fuel core secret #740

Merged
merged 7 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}"