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

OCM-12971 | 'ocm gcp update wif-config' remediates all wif-config misconfigurations #696

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

renan-campos
Copy link
Collaborator

Overview
The following new behavior was added to the functionality of the command used to update resources associated with wif-configs:

  • re-enable disabled service accounts
  • re-enable disabled custom roles
  • re-enable disabled workload identity pool
  • overwrite identity provider misconfigurations

Testing
The resources of a test wif-config resource was manually modified into the states described above. Running ocm gcp verify wif-config confirmed that the error related to the misconfiguration was detected. After running ocm gcp update wif-config, verification succeeds. Manual inspection of GCP resources confirms that their configuration was corrected through calling the update command.

@renan-campos renan-campos requested a review from ckandag December 11, 2024 14:41
@renan-campos renan-campos self-assigned this Dec 11, 2024
@ckandag ckandag merged commit 3a8ef75 into openshift-online:main Dec 12, 2024
4 checks passed
ckandag added a commit that referenced this pull request Feb 27, 2025
-3a8ef75 OCM-12971 | 'ocm gcp update wif-config' remediates all wif-config misconfigurations (#696)
-d4deb29 Add 'version' flag to wif-config create and update commands (#698)
-f079176 updated help message for wif verification errors
-1fb1d56 Refactored GCP client operations to log user messages and optimized resource updation (#700)
-dd04c33 Update Konflux references (#697)
-c84225e OCM-11995 | feat : Add GCP KMS custom encryption support (#701)
-7ac7051 added 'availability-zone' argument to machine pool creation (#703)
-56ca538 updates to konflux_build_pipeline (#704)
-b37893c listing wif-configs shows supported versions (#706)
-7087572 Update Konflux references (#702)
-7aac46f Update Konflux references (#707)
-2045f98 Update github.com/pkg/browser digest to 5ac0b6a (#708)
-0b6615a Update module github.com/golang-jwt/jwt/v4 to v4.5.1 (#709)
-1cf3d22 Update module github.com/openshift-online/ocm-sdk-go to v0.1.459 (#711)
-579f8de Update module github.com/golang/glog to v1.2.4 (#710)
-c5c95d5 n-3 vesion supportfor  wif-update (#713)
ckandag added a commit that referenced this pull request Feb 27, 2025
-3a8ef75 OCM-12971 | 'ocm gcp update wif-config' remediates all wif-config misconfigurations (#696)
-d4deb29 Add 'version' flag to wif-config create and update commands (#698)
-f079176 updated help message for wif verification errors
-1fb1d56 Refactored GCP client operations to log user messages and optimized resource updation (#700)
-dd04c33 Update Konflux references (#697)
-c84225e OCM-11995 | feat : Add GCP KMS custom encryption support (#701)
-7ac7051 added 'availability-zone' argument to machine pool creation (#703)
-56ca538 updates to konflux_build_pipeline (#704)
-b37893c listing wif-configs shows supported versions (#706)
-7087572 Update Konflux references (#702)
-7aac46f Update Konflux references (#707)
-2045f98 Update github.com/pkg/browser digest to 5ac0b6a (#708)
-0b6615a Update module github.com/golang-jwt/jwt/v4 to v4.5.1 (#709)
-1cf3d22 Update module github.com/openshift-online/ocm-sdk-go to v0.1.459 (#711)
-579f8de Update module github.com/golang/glog to v1.2.4 (#710)
-c5c95d5 n-3 vesion supportfor  wif-update (#713)
@ckandag ckandag mentioned this pull request Feb 27, 2025
renan-campos pushed a commit that referenced this pull request Feb 27, 2025
-3a8ef75 OCM-12971 | 'ocm gcp update wif-config' remediates all wif-config misconfigurations (#696)
-d4deb29 Add 'version' flag to wif-config create and update commands (#698)
-f079176 updated help message for wif verification errors
-1fb1d56 Refactored GCP client operations to log user messages and optimized resource updation (#700)
-dd04c33 Update Konflux references (#697)
-c84225e OCM-11995 | feat : Add GCP KMS custom encryption support (#701)
-7ac7051 added 'availability-zone' argument to machine pool creation (#703)
-56ca538 updates to konflux_build_pipeline (#704)
-b37893c listing wif-configs shows supported versions (#706)
-7087572 Update Konflux references (#702)
-7aac46f Update Konflux references (#707)
-2045f98 Update github.com/pkg/browser digest to 5ac0b6a (#708)
-0b6615a Update module github.com/golang-jwt/jwt/v4 to v4.5.1 (#709)
-1cf3d22 Update module github.com/openshift-online/ocm-sdk-go to v0.1.459 (#711)
-579f8de Update module github.com/golang/glog to v1.2.4 (#710)
-c5c95d5 n-3 vesion supportfor  wif-update (#713)
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