File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
keps/sig-auth/4940-psa-block-host-field-in-probes Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,14 @@ probes with the Host field set when using the (about to be deprecated) API.
112
112
This is implemented by [ kubernetes PR 125271] ( https://github.com/kubernetes/kubernetes/pull/125271 )
113
113
that does exactly that.
114
114
115
+ NOTE: Given there is still a use case where admins might be deploying the apiserver
116
+ or any controlplane host-networked pod service to have probes with ` .Host ` field set to
117
+ localhost (127.0.0.1). This is because there could be firewall rules blocking access to public nodeIP
118
+ for good reasons. Hence we would continue to allow for this use case meaning the only values
119
+ allowed on the ` .Host ` field would be ` 127.0.0.1 ` and ` ::1 ` . See [ this snippet] for example.
120
+
121
+ [ this snippet ] : https://github.com/kubernetes/kops/blob/5dd2f468b46fda43f3a63ba1e6dc7c55c21919eb/nodeup/pkg/model/kube_apiserver.go#L603
122
+
115
123
### Risks and Mitigations
116
124
117
125
There might be users who depend on the ` Host ` field in
You can’t perform that action at this time.
0 commit comments