diff --git a/infra/helm/charts/app/templates/api-deployment.yaml b/infra/helm/charts/app/templates/api-deployment.yaml index 87c3834..f1ca94c 100644 --- a/infra/helm/charts/app/templates/api-deployment.yaml +++ b/infra/helm/charts/app/templates/api-deployment.yaml @@ -51,3 +51,11 @@ spec: timeoutSeconds: 3 resources: {{- toYaml .Values.api.resources | nindent 12 }} +{{- if .Values.api.extraVolumeMounts }} + volumeMounts: + {{- toYaml .Values.api.extraVolumeMounts | nindent 12 }} +{{- end }} +{{- if .Values.api.extraVolumes }} + volumes: + {{- toYaml .Values.api.extraVolumes | nindent 8 }} +{{- end }} diff --git a/infra/helm/charts/app/values.yaml b/infra/helm/charts/app/values.yaml index 989b7b8..bd7b509 100644 --- a/infra/helm/charts/app/values.yaml +++ b/infra/helm/charts/app/values.yaml @@ -16,6 +16,10 @@ api: fhirRelease: "R4" externalMongodbConnectionString: "" existingSecret: "" + # Extra volume mounts for the API container (e.g. for certificate files) + extraVolumeMounts: [] + # Extra volumes for the API pod (e.g. Kubernetes Secrets) + extraVolumes: [] # Hostnames for API HTTPRoute hostnames: []