Abstract
Installation and configuration of dex
.
dex#
Purpose#
This is required to allow the kube-apiserver
to authenticate
against an existing Samba Active Directory Domain Controller.
The Ansible playbook in this directory does the following.
Install
dex
.Configure
dex
for use with an existing AD DC.Prepare
dex
for availaibility to thekube-apiserver
.Start the
dex
service.Enable the
dex
service.
Notes#
Once you have Dex configured and running, you’ll need to configure the Kubernetes API server to use Dex for authentication. This involves setting up the OIDC flags on the kube-apiserver, such as
--oidc-issuer-url
,--oidc-client-id
,--oidc-username-claim
, etc., to point to your Dex deployment.Remember, deploying Dex and configuring it correctly requires careful consideration of your network setup, security policies, and the specifics of your Samba AD deployment. The above configuration is a starting point and will likely need adjustments to fit your environment securely and correctly.
– ChatGPT4