mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-10-02 20:01:06 +00:00
feat: add hostAliases injection (#122)
Fix: https://gitea.com/gitea/helm-actions/issues/87 --------- Co-authored-by: DaanSelen <[email protected]> Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/122 Co-authored-by: Daan Selen <[email protected]> Co-committed-by: Daan Selen <[email protected]>
This commit is contained in:
committed by
DaanSelen
co-authored by
DaanSelen
parent
6a31cb00f7
commit
476593d1a3
@@ -34,8 +34,14 @@ spec:
|
||||
{{- if .Values.statefulset.serviceAccountName }}
|
||||
serviceAccountName: {{ .Values.statefulset.serviceAccountName }}
|
||||
{{- end }}
|
||||
{{- if .Values.statefulset.securityContext }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.statefulset.securityContext | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.statefulset.hostAliases }}
|
||||
hostAliases:
|
||||
{{- toYaml .Values.statefulset.hostAliases | nindent 8 }}
|
||||
{{- end }}
|
||||
initContainers:
|
||||
{{- if .Values.preExtraInitContainers }}
|
||||
{{- toYaml .Values.preExtraInitContainers | nindent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user