You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement first version of EventingAuth controller reacting on EventingAuth CR. Kubebuilder might be used for generating scaffolding of the controller. EventingAuth CR at this moment will not have any spec fields, the CR will contain only status info.
The controller expects following configuration to be provided:
IAS url
IAS credentials of user able to manage apps
target cluster ID or any other ID
target cluster kubeconfig
The controller will react on EventingAuth CR creation. The controller will create IAS app and secret using provided IAS url and IAS credentials. Client ID needs to be fetched using ID of created app. Token url needs to be fetched from IAS OIDC well known configuration.
Having Client ID, Client Secret and token url the controller will create a secret containing mentioned data on a target cluster that can be picked up by eventing component. Finally controller will write status in EventingAuth CR.
DoD:
IAS app and secret created on EventingAuth CR creation
IAS app can be identified by target cluster ID
secret containing Client ID, Client Secret and token url created on target cluster
read token URL from IAS well known OIDC configuration
read IAS credentials from secret and create issue for SRE with secret structure proposal
Consider having target cluster ID and reference to target cluster kubeconfig in EventingAuth spec. IAS specific configuration should be controller configuration since it's the same for all EventingAuth CR. Any opinions @pbochynski@k15r ?
Description
Implement first version of EventingAuth controller reacting on EventingAuth CR. Kubebuilder might be used for generating scaffolding of the controller. EventingAuth CR at this moment will not have any spec fields, the CR will contain only status info.
The controller expects following configuration to be provided:
The controller will react on EventingAuth CR creation. The controller will create IAS app and secret using provided IAS url and IAS credentials. Client ID needs to be fetched using ID of created app. Token url needs to be fetched from IAS OIDC well known configuration.
Having Client ID, Client Secret and token url the controller will create a secret containing mentioned data on a target cluster that can be picked up by eventing component. Finally controller will write status in EventingAuth CR.
DoD:
Attachments
part of: #1
The text was updated successfully, but these errors were encountered: