feat(modjo-microservice): extraVolumes

This commit is contained in:
devthejo 2023-12-17 00:19:44 +01:00
parent 2616823c2d
commit 3014f5c3f2
Signed by: devthejo
GPG key ID: C04215C627711F5C
2 changed files with 21 additions and 13 deletions

View file

@ -46,6 +46,9 @@ spec:
- name: jwt - name: jwt
secret: secret:
secretName: {{ .Values.application.jwt.secretName }} secretName: {{ .Values.application.jwt.secretName }}
{{- if .Values.extraVolumes }}
{{- .Values.extraVolumes | toYaml | nindent 8 }}
{{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
securityContext: securityContext:
@ -81,6 +84,9 @@ spec:
subPath: {{ .Values.application.jwt.jwkOldSecretKey }} subPath: {{ .Values.application.jwt.jwkOldSecretKey }}
readOnly: true readOnly: true
{{- end }} {{- end }}
{{- if .Values.extraVolumeMounts }}
{{- .Values.extraVolumeMounts | toYaml | nindent 12 }}
{{- end }}
env: env:
- name: LOGLEVEL - name: LOGLEVEL
value: {{ .Values.application.logLevel }} value: {{ .Values.application.logLevel }}

View file

@ -39,6 +39,8 @@ application:
jwkOldSecretKey: jwk-old.json jwkOldSecretKey: jwk-old.json
extraEnv: extraEnv:
extraVolumes:
extraVolumeMounts:
commonAnnotations: {} commonAnnotations: {}
commonLabels: {} commonLabels: {}