feat: Add support for hostAliases (#401) (#97)

picked from upstream

- https://gitea.com/gitea/helm-chart/pulls/401

Co-authored-by: podain77 <podain77@noreply.gitea.io>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/97
This commit is contained in:
Michael Kriese 2023-03-07 11:18:25 +00:00
parent 888cdc75af
commit 7f59f2b36e
3 changed files with 10 additions and 0 deletions

View file

@ -302,6 +302,10 @@ spec:
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- include "gitea.container-additional-mounts" . | nindent 12 }}
{{- with .Values.global.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}