mirror of https://github.com/kubernetes/kops.git
Allow using insecure TLS for metrics-server with Kubernetes 1.19+
This commit is contained in:
parent
0d92bfee56
commit
2df8e56fc9
|
|
@ -137,7 +137,7 @@ spec:
|
|||
{{ else }}
|
||||
- --cert-dir=/tmp
|
||||
{{ end }}
|
||||
{{ if not UseKopsControllerForNodeBootstrap }}
|
||||
{{ if and UseKopsControllerForNodeBootstrap (not (WithDefaultBool .MetricsServer.Insecure true)) }}
|
||||
- --kubelet-insecure-tls
|
||||
{{ end }}
|
||||
image: {{ or .MetricsServer.Image "k8s.gcr.io/metrics-server/metrics-server:v0.4.3" }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue