Skip to content
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

Replace wif dry-run flag with mode #671

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

JakobGray
Copy link
Contributor

@JakobGray JakobGray commented Oct 14, 2024

Issue: https://issues.redhat.com/browse/OCM-11690

--mode flag replaces --dry-run where:

    mode=auto is the default and runs all the necessary actions
    mode=manual can be set and outputs commands to a script to be run manuallly

Create workload identity configuration

Usage:
  ocm gcp create wif-config [flags]

Flags:
  -h, --help                 help for wif-config
  -m, --mode string          How to perform the operation. Valid options are:
                             auto (default): Resource changes will be automatic applied using the current GCP account
                             manual: Commands necessary to modify GCP resources will be output to be run manually (default "auto")
      --name string          User-defined name for all created Google cloud resources
      --output-dir string    Directory to place generated files (defaults to current directory)
      --project string       ID of the Google cloud project
      --role-prefix string   Prefix for naming custom roles

Copy link
Collaborator

@renan-campos renan-campos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good except for the missing check on update.

@renan-campos renan-campos merged commit 664b2c4 into openshift-online:main Oct 15, 2024
4 of 5 checks passed
@JakobGray JakobGray deleted the OCM-11690 branch October 15, 2024 17:03
ckandag added a commit that referenced this pull request Oct 15, 2024
-e034b6b Update Konflux references to 2418e94
-5066ea0 Filter wif configs in interactive mode (#660)
-878f5e3 Initial refactor to prepare to move the connection builder and config packages to ocm-common
-1ea2e05 lint
-2c66dc0 removes redundant api url
-65bf8cf Add role prefix flag on create wif-config (#662)
-a39ce2e Grant access to support group during WifConfig creation (#663)
-0275d67 Revert "Grant access to support group during WifConfig creation (#663)" (#664)
-7cddc94 Wif creation improvements, including logic to grant support access as part of wif creation. (#666)
-7f41626 Update Konflux references
-b9a750c UpdatesToKonflux (#668)
-e4aa770 OCM-10615 | Implement 'gcp wif-config update' command (#667)
-cf6e500 Dry-run wif config delete before tearing down cloud resources (#670)
-e18ea10 OCM-11842 | feat: Updates to support GCP-PSC clusters (#672)
-893acd5 wif-enable gcp-inquiries (#673)
-664b2c4 Replace wif dry-run flag with mode (#671)
-df87894 Update Konflux references (#669)
@ckandag ckandag mentioned this pull request Oct 15, 2024
renan-campos pushed a commit that referenced this pull request Oct 15, 2024
-e034b6b Update Konflux references to 2418e94
-5066ea0 Filter wif configs in interactive mode (#660)
-878f5e3 Initial refactor to prepare to move the connection builder and config packages to ocm-common
-1ea2e05 lint
-2c66dc0 removes redundant api url
-65bf8cf Add role prefix flag on create wif-config (#662)
-a39ce2e Grant access to support group during WifConfig creation (#663)
-0275d67 Revert "Grant access to support group during WifConfig creation (#663)" (#664)
-7cddc94 Wif creation improvements, including logic to grant support access as part of wif creation. (#666)
-7f41626 Update Konflux references
-b9a750c UpdatesToKonflux (#668)
-e4aa770 OCM-10615 | Implement 'gcp wif-config update' command (#667)
-cf6e500 Dry-run wif config delete before tearing down cloud resources (#670)
-e18ea10 OCM-11842 | feat: Updates to support GCP-PSC clusters (#672)
-893acd5 wif-enable gcp-inquiries (#673)
-664b2c4 Replace wif dry-run flag with mode (#671)
-df87894 Update Konflux references (#669)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants