Replace curl with gcloud commands in GAM integration
What does this MR do and why?
Replace curl with gcloud commands in GAM integration
Include Workload Identity Federation project number and pool ID in the instructions
EE: true
Changelog: changed
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Context | Before | After |
---|---|---|
With project ID | ![]() |
![]() |
Without project ID | ![]() |
![]() |
Archived
| Context | Before | After | | ------ | ------ | ------ | | With project ID |![Screenshot_2024-05-21_at_11.33.04_PM](/-/project/278964/uploads/c2932b803592529c82e02d53ff796d1f/Screenshot_2024-05-21_at_11.33.04_PM.png)
![Screenshot_2024-05-21_at_11.25.09_PM](/-/project/278964/uploads/e43f5d3e9d0ae361f42371f2f6488f96/Screenshot_2024-05-21_at_11.25.09_PM.png)
![Screenshot_2024-05-21_at_11.33.19_PM](/-/project/278964/uploads/b7d0f09fa679dbb21f30614a1e963332/Screenshot_2024-05-21_at_11.33.19_PM.png)
![Screenshot_2024-05-21_at_11.25.39_PM](/-/project/278964/uploads/26b6bae0dd6ccbe5930cf834f2b0b27d/Screenshot_2024-05-21_at_11.25.39_PM.png)
How to set up and validate locally
-
Simulate a SAAS instance in local GDK
-
In rails console enable the experiment
Feature.enable(:google_cloud_support_feature_flag)
-
Visit
Project > Settings > Integrations > Google Cloud IAM
and complete the fields with random values. -
Visit
Project > Settings > Integrations > Google Artifact Registry
-
Confirm that configuration instructions include Workload Identity Federation project number and pool ID from Google Cloud IAM integration
-
Confirm that updating the Project ID form field updates the script.
Related to #460001 (closed)