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
genofire 2023-08-09 17:29:17 +02:00 committed by Rashesh Padia
parent 978a62afef
commit 6654665a99
1 changed files with 2 additions and 8 deletions

View File

@ -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 }}