cert-manager: 1.18.6 -> 1.19.6
Change-Id: I03ccd9378c24a6160b9949e90bfa467595a82b22
diff --git a/charts/cert-manager/templates/deployment.yaml b/charts/cert-manager/templates/deployment.yaml
index b1af927..453e823 100644
--- a/charts/cert-manager/templates/deployment.yaml
+++ b/charts/cert-manager/templates/deployment.yaml
@@ -66,6 +66,9 @@
{{- with .Values.global.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
+ {{- if (hasKey .Values.global "hostUsers") }}
+ hostUsers: {{ .Values.global.hostUsers }}
+ {{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
@@ -209,7 +212,9 @@
failureThreshold: {{ .failureThreshold }}
{{- end }}
{{- end }}
- {{- with .Values.nodeSelector }}
+ {{- $nodeSelector := .Values.global.nodeSelector | default dict }}
+ {{- $nodeSelector = merge $nodeSelector (.Values.nodeSelector | default dict) }}
+ {{- with $nodeSelector }}
nodeSelector:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
@@ -236,4 +241,4 @@
{{- end }}
{{- with .Values.hostAliases }}
hostAliases: {{ toYaml . | nindent 8 }}
- {{- end }}
\ No newline at end of file
+ {{- end }}