[bitnami/zookeeper] Add hostAliases (#5321)

This commit is contained in:
Javier J. Salmerón-García
2021-01-29 10:11:26 +01:00
committed by GitHub
parent 73811e2cf5
commit bfbd24f353
4 changed files with 147 additions and 132 deletions

View File

@@ -48,6 +48,9 @@ spec:
securityContext:
fsGroup: {{ .Values.securityContext.fsGroup }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 8 }}
{{- else }}