-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce gcp WIF sub-commands to manage wif-configs #619
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far I've looked over output/tables/wifconfigs.yaml and create-wif-config.go.
b1becc9
to
5cd8d8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a large PR, and I did my best to give it a thorough review. I really like the way the code is structured. I numbered the way that I went through the code and the commands. I then looked at the helper files in the order github has them. I think some discussion is needed on some points, which we can do tomorrow during the usual sync.
-416843e OSD-24332 Adding CNI Type to the printed output. -ca71863 Introduce gcp WIF sub-commands to manage wif-configs (#619) -5f9697b multi arch release images (#631) -951d7cd Red Hat Konflux update ocm-cli (#633) -2604647 Limit Konflux Pipeline Runs (#634) -9645301 Update Konflux references (#635) -c797dfb Update Konflux references to 0dc3087 -28b521d support hermetic build (#636) -3117d6b Update Konflux references to 9eee3cf -d228140 Update Konflux references to 71270c3 -0ff233b update konflux pipeline (#641) -ae2093b Update Konflux references -2ae4aa0 Update Konflux references -bdd172b Update Konflux references to f93024e -d750acc Red Hat Konflux update ocm-cli Signed-off-by: red-hat-konflux <[email protected]> -0bbcf6e Update Konflux references -21ff6b8 Replace wif models and client with sdk (#643) -c3d52e2 Update Konflux build (#651) -8073ef8 release_version (#652) -e9a014d Update Konflux references -78317e9 Add 'wif-config' flag as cluster create option -49f4e41 Set project number on wif config creation -e441c1b Update Konflux references -ca8d9db Support listing and parameters in 'gcp get wif-config' (#656)
-416843e OSD-24332 Adding CNI Type to the printed output. -ca71863 Introduce gcp WIF sub-commands to manage wif-configs (#619) -5f9697b multi arch release images (#631) -951d7cd Red Hat Konflux update ocm-cli (#633) -2604647 Limit Konflux Pipeline Runs (#634) -9645301 Update Konflux references (#635) -c797dfb Update Konflux references to 0dc3087 -28b521d support hermetic build (#636) -3117d6b Update Konflux references to 9eee3cf -d228140 Update Konflux references to 71270c3 -0ff233b update konflux pipeline (#641) -ae2093b Update Konflux references -2ae4aa0 Update Konflux references -bdd172b Update Konflux references to f93024e -d750acc Red Hat Konflux update ocm-cli Signed-off-by: red-hat-konflux <[email protected]> -0bbcf6e Update Konflux references -21ff6b8 Replace wif models and client with sdk (#643) -c3d52e2 Update Konflux build (#651) -8073ef8 release_version (#652) -e9a014d Update Konflux references -78317e9 Add 'wif-config' flag as cluster create option -49f4e41 Set project number on wif config creation -e441c1b Update Konflux references -ca8d9db Support listing and parameters in 'gcp get wif-config' (#656)
-416843e OSD-24332 Adding CNI Type to the printed output. -ca71863 Introduce gcp WIF sub-commands to manage wif-configs (#619) -5f9697b multi arch release images (#631) -951d7cd Red Hat Konflux update ocm-cli (#633) -2604647 Limit Konflux Pipeline Runs (#634) -9645301 Update Konflux references (#635) -c797dfb Update Konflux references to 0dc3087 -28b521d support hermetic build (#636) -3117d6b Update Konflux references to 9eee3cf -d228140 Update Konflux references to 71270c3 -0ff233b update konflux pipeline (#641) -ae2093b Update Konflux references -2ae4aa0 Update Konflux references -bdd172b Update Konflux references to f93024e -d750acc Red Hat Konflux update ocm-cli Signed-off-by: red-hat-konflux <[email protected]> -0bbcf6e Update Konflux references -21ff6b8 Replace wif models and client with sdk (#643) -c3d52e2 Update Konflux build (#651) -8073ef8 release_version (#652) -e9a014d Update Konflux references -78317e9 Add 'wif-config' flag as cluster create option -49f4e41 Set project number on wif config creation -e441c1b Update Konflux references -ca8d9db Support listing and parameters in 'gcp get wif-config' (#656)
This PR introduces sub-commands for workload identity federation under a new gcp command:
ocm gcp create wif-config --name=<name> --project=<project>
ocm gcp delete wif-config <id>
ocm gcp get wif-config <id>
ocm gcp list wif-config
ocm gcp describe wif-config <id>
ocm gcp update wif-config <id>
[unimplemented]ocm gcp generate <id>
These commands allow users to prepare and manage workload identity configurations in order to deploy clusters using the new method