diff --git a/cli/k8s_client/yaml_factory.go b/cli/k8s_client/yaml_factory.go index 5df52594d..82146e12c 100644 --- a/cli/k8s_client/yaml_factory.go +++ b/cli/k8s_client/yaml_factory.go @@ -1131,6 +1131,7 @@ spec: - "--disable_audit_log={DISABLE_AUDIT_LOG}" - "--http_request_timeout={HTTP_REQUEST_TIMEOUT}" - "--https_rest" + - "--https_address=[::1]" - "--https_port={PROBE_PORT}" - "--enable_force_detach={FORCE_DETACH_BOOL}" - "--iscsi_self_healing_interval={ISCSI_SELF_HEALING_INTERVAL}" @@ -1138,6 +1139,7 @@ spec: {DEBUG} startupProbe: httpGet: + host: localhost path: /liveness scheme: HTTPS port: {PROBE_PORT} @@ -1146,6 +1148,7 @@ spec: periodSeconds: 10 livenessProbe: httpGet: + host: localhost path: /liveness scheme: HTTPS port: {PROBE_PORT} @@ -1154,6 +1157,7 @@ spec: periodSeconds: 10 readinessProbe: httpGet: + host: localhost path: /readiness scheme: HTTPS port: {PROBE_PORT} @@ -1328,6 +1332,7 @@ spec: - "--disable_audit_log={DISABLE_AUDIT_LOG}" - "--http_request_timeout={HTTP_REQUEST_TIMEOUT}" - "--https_rest" + - "--https_address=127.0.0.1" - "--https_port={PROBE_PORT}" {DEBUG} # Windows requires named ports for it to actually bind @@ -1337,6 +1342,7 @@ spec: protocol: TCP startupProbe: httpGet: + host: localhost path: /liveness scheme: HTTPS port: healthz @@ -1345,6 +1351,7 @@ spec: periodSeconds: 10 livenessProbe: httpGet: + host: localhost path: /liveness scheme: HTTPS port: healthz @@ -1353,6 +1360,7 @@ spec: periodSeconds: 10 readinessProbe: httpGet: + host: localhost path: /readiness scheme: HTTPS port: healthz