Skip to content

Commit

Permalink
Nameserver config (#103)
Browse files Browse the repository at this point in the history
* Added nameserver config. Incremental commit

* Add port 53
  • Loading branch information
cabeaulac authored Jan 10, 2024
1 parent ce47b15 commit 700eac4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/localstack/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions charts/localstack/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions charts/localstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ service:
externalServicePorts:
start: 4510
end: 4560
# dnsService: true

ingress:
enabled: false
Expand Down

0 comments on commit 700eac4

Please sign in to comment.