Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

kopf.on.create - how to access jwt token requesting the change? #355

Open
styk-tv opened this issue Apr 29, 2020 · 0 comments
Open

kopf.on.create - how to access jwt token requesting the change? #355

styk-tv opened this issue Apr 29, 2020 · 0 comments
Labels
question Further information is requested

Comments

@styk-tv
Copy link

styk-tv commented Apr 29, 2020

In scenario where OIDC is enabled on API and each user making requests is presenting their own Bearer token, kube api does its verification and so on, how would I get the token? I want to make decisions inside kopf based on the attributes from the auth token?

just a note: obviously I don't mean the authentication of the operator, but the token of the requestor submitting the request through the kubernetes api to the crd.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant