chore(helm): easy format of hostalieses on deployment
Change-Id: f3edb041-f152-4b89-ab0f-466267aecc87 Signed-off-by: genofire <geno+dev@fireorbit.de>pull/7120/head
parent
978a62afef
commit
6654665a99
|
@ -34,15 +34,9 @@ spec:
|
|||
{{- include "collabora-online.selectorLabels" . | nindent 8 }}
|
||||
type: main
|
||||
spec:
|
||||
{{- if .Values.deployment.hostAliases }}
|
||||
{{- with .Values.deployment.hostAliases }}
|
||||
hostAliases:
|
||||
{{- range .Values.deployment.hostAliases }}
|
||||
- ip: {{ .ip | quote }}
|
||||
hostnames:
|
||||
{{- range .hostnames }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
|
|
Loading…
Reference in New Issue