Unverified Commit f5b1cb47 authored by sara's avatar sara Committed by GitHub
Browse files

fix: Add Env support to operator Helm chart deployment values (#7081)


Signed-off-by: default avatarqasmi <qasmisara@gmail.com>
parent e86e8b12
......@@ -76,11 +76,13 @@ spec:
command:
- /manager
env:
{{- with .Values.env }}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ quote .Values.kubernetesClusterDomain }}
imagePullPolicy: {{ .Values.controllerManager.manager.image.pullPolicy | quote }}
image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag
| default .Chart.AppVersion }}
image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag | default .Chart.AppVersion }}
livenessProbe:
httpGet:
path: /healthz
......
......@@ -21,6 +21,9 @@
# Set to false if CRDs are managed externally (e.g., via GitOps or a separate pipeline).
upgradeCRD: true
# Environment variables to pass to operator Deployment.
env: []
# Namespace restriction configuration for the operator
# If enabled: true and targetNamespace is empty, the operator will be restricted to the release namespace
# If enabled: true and targetNamespace is set, the operator will be restricted to the specified namespace
......
......@@ -54,6 +54,9 @@ dynamo-operator:
# The Job runs the operator image with the crd-apply tool to apply CRDs via server-side apply.
upgradeCRD: true
# Environment variables to pass to operator Deployment.
env: []
# -- NATS server address for operator communication (leave empty to use the bundled NATS chart). Format: "nats://hostname:port"
natsAddr: ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment