Add support for externalServer=true (#303)

This commit is contained in:
kfox1111
2024-04-26 19:19:01 +00:00
committed by GitHub
parent a2494ee45e
commit c132cc481e
19 changed files with 51 additions and 20 deletions
@@ -1,3 +1,4 @@
{{- if not .Values.externalServer }}
{{- if eq ((dig "installAndUpgradeHooks" "enabled" .Values.controllerManager.installAndUpgradeHook.enabled .Values.global) | toString) "true" }}
{{- if and (eq (.Values.controllerManager.enabled | toString) "true") .Values.controllerManager.validatingWebhookConfiguration.enabled }}
{{- if eq .Values.controllerManager.validatingWebhookConfiguration.failurePolicy "Fail" }}
@@ -87,3 +88,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}