Configure the Kubernetes API to access Dex as OpenID connect provider #2868
Unanswered
jackchuong
asked this question in
Q&A
Replies: 1 comment
-
I read another article https://github.com/jimangel/kubernetes-the-easy-way/blob/master/docs/setup-dex-oidc.md
I'm not sure if it works ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm following this instruction https://computingforgeeks.com/active-directory-authentication-for-kubernetes-kubectl/ to config Active Directory Authentication for Kubernetes.
My k8s cluster init from : kubeadm init --v=5 --pod-network-cidr=10.244.0.0/16 --cri-socket unix:///run/cri-dockerd.sock --upload-certs --control-plane-endpoint=k8s.mydomain.com
I deployed DEX on Kubernetes successfully , issuer url https://auth.k8s.mydomain.com , tls certificate is generated from cert-manager , url is public to external through ingress-nginx , I can access url from internet.
Now I want to configure the Kubernetes API to access Dex as OpenID connect provider, how should I edit /etc/kubernetes/manifests/kube-apiserver.yaml ?
I concert about "--oidc-ca-file="
this is my /etc/kubernetes/pki/
Beta Was this translation helpful? Give feedback.
All reactions