Skip to content

Commit f636f99

Browse files
MHBauerpmorie
authored andcommitted
only skip tls verify if not behind the aggregator (#1101)
- if not the in-cluster-config grabs a TLS cert from a config map and complains that it was told to ignore it. - thanks to [email protected] for testing Example error log output: E0804 19:23:14.731483 1 controller_manager.go:259] Failed to get api versions from server: specifying a root certificates file with the insecure flag is not allowed
1 parent 43b40ab commit f636f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/catalog/templates/controller-manager-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
- --service-catalog-api-server-url
5656
- https://{{ template "fullname" . }}-apiserver
5757
{{- end }}
58-
{{ if .Values.controllerManager.apiserverSkipVerify -}}
58+
{{ if and (.Values.controllerManager.apiserverSkipVerify) (not .Values.useAggregator) -}}
5959
- "--service-catalog-insecure-skip-verify=true"
6060
{{- end }}
6161
- -v

0 commit comments

Comments
 (0)