Skip to content

Commit e6771ad

Browse files
committed
Update docs
1 parent 52047c1 commit e6771ad

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

template/deploy/helm/[[operator]]/templates/deployment.yaml.j2

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,25 @@ spec:
4444
name: config-spec
4545
env:
4646
# The following env vars are passed as clap (think CLI) arguments to the operator.
47-
# They are picked up by clap using the structs defied in
48-
# https://github.com/stackabletech/operator-rs/blob/main/crates/stackable-operator/src/cli.rs
49-
# (currently "ProductOperatorRun").
47+
# They are picked up by clap using the structs defied in the operator.
48+
# (which is turn pulls in https://github.com/stackabletech/operator-rs/blob/main/crates/stackable-operator/src/cli.rs)
5049
# You can read there about the expected values and purposes.
50+
51+
# Sometimes products need to know the operator image, e.g. the opa-bundle-builder OPA
52+
# sidecar uses the operator image.
5153
- name: OPERATOR_IMAGE
5254
# Tilt can use annotations as image paths, but not env variables
5355
valueFrom:
5456
fieldRef:
5557
fieldPath: metadata.annotations['internal.stackable.tech/image']
58+
59+
# Operators need to know the node name they are running on, to e.g. discover the
60+
# Kubernetes domain name from the kubelet API.
5661
- name: KUBERNETES_NODE_NAME
5762
valueFrom:
5863
fieldRef:
5964
fieldPath: spec.nodeName
65+
6066
{{- if .Values.kubernetesClusterDomain }}
6167
- name: KUBERNETES_CLUSTER_DOMAIN
6268
value: {{ .Values.kubernetesClusterDomain | quote }}

0 commit comments

Comments
 (0)