Skip to content

Commit a053ff5

Browse files
authored
Add KUBERNETES_SERVICE_DNS_DOMAIN to deployment templating (#445)
* add CLUSTER_DNS_DOMAIN to deployment templating * change env var name
1 parent 3e6fe5a commit a053ff5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ spec:
4848
valueFrom:
4949
fieldRef:
5050
fieldPath: metadata.annotations['internal.stackable.tech/image']
51+
- name: KUBERNETES_SERVICE_DNS_DOMAIN
52+
value: {{ .Values.kubernetesServiceDnsDomain | default "cluster.local" | quote }}
5153
{[% if operator.product_string in ['kafka'] %}]
5254
- name: KAFKA_BROKER_CLUSTERROLE
5355
value: {{ include "operator.fullname" . }}-kafka-broker-clusterrole

0 commit comments

Comments
 (0)