diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 796a3bbf..6504c5ed 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -30,6 +30,10 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} env: {{- toYaml .Values.deployment.env | nindent 12 }} + {{- with .Values.deployment.envFrom }} + envFrom: + {{- toYaml . | nindent 12 }} + {{- end }} ports: - name: graphql containerPort: 8082 diff --git a/chart/values.yaml b/chart/values.yaml index 6ba8eaa3..71971711 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -59,6 +59,9 @@ deployment: # - name: ARCHIVISTA_BLOB_STORE_BUCKET_NAME # value: attestations + ## Allows the specification of a configmap or secret to set all key-value pairs as environment variables for Archivista + envFrom: [] + service: type: ClusterIP port: 8082