diff --git a/infrastructure/charts/agent/templates/deployment.yaml b/infrastructure/charts/agent/templates/deployment.yaml index 22f85c74bc..baea780ca4 100644 --- a/infrastructure/charts/agent/templates/deployment.yaml +++ b/infrastructure/charts/agent/templates/deployment.yaml @@ -198,6 +198,10 @@ spec: key: root-token optional: false {{- end }} + {{- range $key, $value := .Values.env }} + - name: {{ $key }} + value: {{ $value | quote }} + {{- end }} {{- if .Values.server.keycloak.enabled }} - name: KEYCLOAK_ENABLED value: "true" diff --git a/infrastructure/charts/agent/values.yaml b/infrastructure/charts/agent/values.yaml index a2937a8adb..ad6bf4a96c 100644 --- a/infrastructure/charts/agent/values.yaml +++ b/infrastructure/charts/agent/values.yaml @@ -158,6 +158,9 @@ keycloak: mountPath: /opt/bitnami/keycloak/data/import readOnly: true +# Additional environment variables to be added to the server container +env: {} + # It is configured for deployment and postgresql objects of prism-agent affinity: nodeAffinity: {}