File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ apiVersion: v1
22description : A Helm chart for Kubernetes
33# name can only be lowercase. It is used in the templates.
44name : deployment
5- version : 3.9 .0
5+ version : 3.10 .0
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ spec:
100100 mountPath : {{ $mount.mountPath }}
101101 {{- end }}
102102 - name : app-secrets-volume
103- mountPath : /mnt/app-secrets
103+ mountPath : {{ .Values.appSecrets.mountPath }}
104104 readOnly : true
105105 {{- if .Values.startup.enabled}}
106106 startupProbe :
@@ -147,5 +147,10 @@ spec:
147147 {{- end }}
148148 {{- end }}
149149 - name : app-secrets-volume
150- secret :
151- secretName : {{ template "fullname" . }}-secrets
150+ projected :
151+ sources :
152+ - secret :
153+ name : {{ template "fullname" . }}-secrets
154+ {{- with .Values.appSecrets.additionalSources }}
155+ {{- toYaml . | nindent 14 }}
156+ {{- end }}
Original file line number Diff line number Diff line change @@ -91,6 +91,24 @@ volumes:
9191 secret :
9292 secretName : accesstoken
9393
94+ appSecrets :
95+ mountPath : /mnt/app-secrets
96+ additionalSources : []
97+ # Additional projected volume sources merged into appSecrets.mountPath.
98+ # Example:
99+ # additionalSources:
100+ # - configMap:
101+ # name: apps-runtime-common-config
102+ # items:
103+ # - key: runtime-common.json
104+ # path: runtime-common.json
105+ # - secret:
106+ # name: apps-runtime-common-secrets
107+ # optional: true
108+ # items:
109+ # - key: runtime-common-secrets.json
110+ # path: runtime-common-secrets.json
111+
94112startup :
95113 enabled : false
96114 path : /health
You can’t perform that action at this time.
0 commit comments