Revert "Support for disabling apiserver insecure port" (#1974)

This commit is contained in:
Matthew Mosesohn
2017-11-14 13:41:28 +00:00
committed by GitHub
parent c7910b51a1
commit f9b68a5d17
6 changed files with 6 additions and 31 deletions

View File

@@ -110,17 +110,9 @@ spec:
httpGet:
host: 127.0.0.1
path: /healthz
{% if kube_apiserver_insecure_port == 0 %}
port: {{ kube_apiserver_port }}
scheme: HTTPS
{% else %}
port: {{ kube_apiserver_insecure_port }}
{% endif %}
failureThreshold: 8
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 15
initialDelaySeconds: 30
timeoutSeconds: 10
volumeMounts:
- mountPath: {{ kube_config_dir }}
name: kubernetes-config