Slide 19
Slide 19 text
kubectl kubernetes
Authn SVC
ldap server
Config
File
Webhook
Token
trigger
ldapsearch
(cn,password)
load
request
(username,password)
status[,userinfo}
request
token:“username:password”
1. Use kubectl cli k8s
client and point to the
right configfile using
--kubeconfig flag,
2. Make a request using
bearer token,
3. API-Server receives a
request and triggers a
Webhook Token,
4. Webhook Token Plugin
forwards credentials to
Authn service for
validation,
5. Authn service makes an
ldapsearch operation,
6. LDAP-Server send status
and userinfo if token is
valid,
7. Authn service send back
to api-server the
result,
8. API-Server send 401 to
user if token is
invalid,
9. API-server pass userinfo
to Authz stage for
role/rolebinding mapping