Skip to content

Commit

Permalink
Add cloud-credentials envFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Nov 30, 2022
1 parent 2c7d5ef commit 7eb8334
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/edge-site/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ type: application
# 1.0.0-alpha.0
# 1.0.0-alpha.1
# 1.0.0
version: 0.0.0-alpha.3
version: 0.0.0-alpha.4

appVersion: "0.0.0"
5 changes: 4 additions & 1 deletion charts/edge-site/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
- name: storage-root
persistentVolumeClaim:
claimName: "{{ .Values.edge_controller.storageClaim }}"
volumes:
- name: index-root
persistentVolumeClaim:
claimName: "{{ .Values.edge_controller.indexClaim }}"
Expand All @@ -29,6 +28,10 @@ spec:
name: storage-root
- mountPath: "/data/index"
name: index-root
envFrom:
- secretRef:
name: cloud-credentials
optional: true
env:
- name: SITE_TOKEN
valueFrom:
Expand Down

0 comments on commit 7eb8334

Please sign in to comment.