diff --git a/charts/localstack/templates/deployment.yaml b/charts/localstack/templates/deployment.yaml index 7b56cbc..af949a7 100644 --- a/charts/localstack/templates/deployment.yaml +++ b/charts/localstack/templates/deployment.yaml @@ -50,6 +50,10 @@ spec: containerPort: {{ . }} protocol: TCP {{- end }} + {{- if .Values.service.dnsService }} + - name: dns-svc + containerPort: 53 + {{- end }} livenessProbe: {{- toYaml .Values.livenessProbe | nindent 12 }} httpGet: diff --git a/charts/localstack/templates/service.yaml b/charts/localstack/templates/service.yaml index b87bd6f..9edd18b 100644 --- a/charts/localstack/templates/service.yaml +++ b/charts/localstack/templates/service.yaml @@ -27,6 +27,9 @@ spec: {{- if .Values.service.ipFamilyPolicy }} ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }} {{- end }} + {{- if .Values.service.clusterIP }} + clusterIP: {{ .Values.service.clusterIP }} + {{- end }} ports: - name: {{ .Values.service.edgeService.name }} port: {{ .Values.service.edgeService.targetPort }} diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index 2e73220..0164140 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -114,6 +114,7 @@ service: externalServicePorts: start: 4510 end: 4560 +# dnsService: true ingress: enabled: false