diff --git a/infrastructure/charts/agent/templates/deployment.yaml b/infrastructure/charts/agent/templates/deployment.yaml index 85a2023818..f6a8888dc3 100644 --- a/infrastructure/charts/agent/templates/deployment.yaml +++ b/infrastructure/charts/agent/templates/deployment.yaml @@ -194,6 +194,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 582c0ebc3f..a32e7562f5 100644 --- a/infrastructure/charts/agent/values.yaml +++ b/infrastructure/charts/agent/values.yaml @@ -142,6 +142,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: {}