Skip to content

Commit 56e3ebe

Browse files
authored
feat: add hostAliases to podSpec
1 parent 9806a8e commit 56e3ebe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

application/templates/cronjob.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ spec:
131131
{{- if $job.dnsPolicy }}
132132
dnsPolicy: {{ $job.dnsPolicy }}
133133
{{- end }}
134+
{{- with $job.hostAliases }}
135+
hostAliases: {{ toYaml . | nindent 12 }}
136+
{{- end }}
134137
{{- with $job.volumes }}
135138
volumes:
136139
{{ toYaml . | indent 12 }}

0 commit comments

Comments
 (0)