Skip to content

Commit 651c6a8

Browse files
committed
support optional dnsConfig on deployment podspec
1 parent 3503360 commit 651c6a8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

charts/aws-pca-issuer/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ spec:
2929
{{- toYaml .Values.podLabels | nindent 8 }}
3030
{{- end }}
3131
spec:
32+
{{- if .Values.dnsConfig }}
33+
dnsConfig:
34+
{{- toYaml .Values.dnsConfig | nindent 8 }}
35+
{{- end }}
3236
{{- with .Values.imagePullSecrets }}
3337
imagePullSecrets:
3438
{{- toYaml . | nindent 8 }}

charts/aws-pca-issuer/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ service:
5555
# Annotations to add to the issuer Pod
5656
podAnnotations: {}
5757

58+
# Pod dnsConfig : https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
59+
# +docs:property
60+
dnsConfig: {}
61+
5862
# Pod security context
5963
# +docs:property
6064
podSecurityContext:

0 commit comments

Comments
 (0)