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
We can use opsctl create dexconfig to create, update, clean and delete dex operator configuration.
The actual logic is in the setup module in dex-operator repo and can be imported by a different tool if needed, so opsctl isn't important here. (plus its deprecated)
For CAPI we are still running these commands manually so that credentials are available as secrets during bootstrap.
It should be possible to use the same logic (or update it a little to make it work) in mc bootstrap so that dex credentials management is automated during the bootstrap process and the manual step is not needed.
The text was updated successfully, but these errors were encountered:
ensure default contains a dedicated default credential
directly calling opsctl inside mc bootstrap to create new credentials from default ones
use created values in installation secrets
what happens currently if file exists
installation secrets is simply reused
what we could do:
call opsctl inside mc bootstrap to update credentials
replace values in installation secrets
things to consider:
rotation of default credentials
some steps need manual intervention: github in general needs a person going through the flow and azure first time creation needs admin approval. Is that okay?
just azure could be run without opening any windows, for creation, consent would then need to be given at some point. update would just work
calling opsctl is not a long term solution. It would be very easy to just use the module if mcb was golang but like this it's tricky.
We can use
opsctl create dexconfig
to create, update, clean and delete dex operator configuration.The actual logic is in the
setup
module index-operator
repo and can be imported by a different tool if needed, so opsctl isn't important here. (plus its deprecated)For CAPI we are still running these commands manually so that credentials are available as secrets during bootstrap.
It should be possible to use the same logic (or update it a little to make it work) in
mc bootstrap
so that dex credentials management is automated during the bootstrap process and the manual step is not needed.The text was updated successfully, but these errors were encountered: