Skip to content

Commit 98c6940

Browse files
author
Cris Simpson
committed
Add hostAliases to deployment
1 parent ef4b76c commit 98c6940

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/helm-chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ spec:
2424
imagePullSecrets:
2525
{{- toYaml . | nindent 8 }}
2626
{{- end }}
27+
{{- with .Values.hostAliases }}
28+
hostAliases:
29+
{{ toYaml . | nindent 8 }}
30+
{{- end }}
2731
serviceAccountName: {{ include "helm-chart.serviceAccountName" . }}
2832
securityContext:
2933
{{- toYaml .Values.podSecurityContext | nindent 8 }}

0 commit comments

Comments
 (0)