Browse Source
Merge pull request #2369 from eviln1/fix-insecure-apiserver-port
fix apiserver manifest when disabling insecure_port
pull/2396/head
Chad Swenson
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2
|
@ -123,7 +123,7 @@ spec: |
|
|
httpGet: |
|
|
httpGet: |
|
|
host: 127.0.0.1 |
|
|
host: 127.0.0.1 |
|
|
path: /healthz |
|
|
path: /healthz |
|
|
{% if kube_apiserver_insecure_port == 0 %} |
|
|
|
|
|
|
|
|
{% if kube_apiserver_insecure_port|int == 0 %} |
|
|
port: {{ kube_apiserver_port }} |
|
|
port: {{ kube_apiserver_port }} |
|
|
scheme: HTTPS |
|
|
scheme: HTTPS |
|
|
{% else %} |
|
|
{% else %} |
|
|