This message was deleted.
# rke2
a
This message was deleted.
c
To what end?
a
trying to build webhook authentication
api-server talks to a ldap-auth service inside cluster
just wondering why dnsPolicy is not set to
ClusterFirstWithHostNet
c
You're supposed to specify the service info in the webhook clientConfig, instead of using the url. I linked you to the docs in the GH issue you opened.
a
clientconfig is for admission webhook, but for webhook authentication from official doc, the config is different
c
Hmm, interesting that is true.
We don't want it to use cluster DNS because then it is dependent on something else within the cluster; the apiserver should be standalone. I'm not sure what the suggested pattern is for auth webhooks deployed within the cluster. I suspect that these are usually used to auth to services outside the cluster, such as a cloud provider.
a
it’s common to auth against ldap for corp AD
i understand your point, to avoid circular dependency
for now i just use external dns for the auth proxy inside the cluster, but it’s a waste routing