Skip to content

feat: add IAPSettings as a direct resource #3493

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

Merged

Conversation

jingyih
Copy link
Collaborator

@jingyih jingyih commented Jan 17, 2025

This PR builds on #2785.

Copy link
Collaborator

@yuwenma yuwenma left a comment

Choose a reason for hiding this comment

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

This PR seems to contain many irrelevant changes. Could you try fetching and rebasing to see if they go away ?

@jingyih jingyih force-pushed the IAPSettings_controller branch from f7e2912 to ac5825f Compare January 21, 2025 06:48
@jingyih
Copy link
Collaborator Author

jingyih commented Jan 21, 2025

This PR seems to contain many irrelevant changes. Could you try fetching and rebasing to see if they go away ?

This PR is based on #2785. Once #2785 is reviewed and merged, I'll be able to rebase this PR.

Copy link
Collaborator

@yuwenma yuwenma left a comment

Choose a reason for hiding this comment

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

/assign @jasonvigil Could you help reviewing this resource?

@jingyih jingyih force-pushed the IAPSettings_controller branch from 01f9159 to 5a48958 Compare January 22, 2025 23:04
@jingyih
Copy link
Collaborator Author

jingyih commented Jan 22, 2025

PR is rebased and ready for review.

@@ -32,11 +32,11 @@ import (
// projects/{projects_id}/iap_web
// projects/{projects_id}/iap_web/compute
// projects/{projects_id}/iap_web/compute-{region}
// projects/{projects_id}/iap_web/compute/service/{service_id}
// projects/{projects_id}/iap_web/compute-{region}/service/{service_id}
// projects/{projects_id}/iap_web/compute/services/{service_id}

Choose a reason for hiding this comment

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

Just curious, how did we discover this format / realize we needed to change the pattern here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

A couple of months ago, I reached out to the IAP team to inquire about the format of this field. We'll need to manually test it to determine the format. e.g.

$ gcloud iap settings get --project=cnrm-jingyih-oncall --resource-type=compute --region=us-central1 --service=computebackendservice-3vcb62pjjxfhg6a
name: projects/441062683835/iap_web/compute-us-central1/services/1841600559922189902

@jasonvigil
Copy link

/lgtm

@yuwenma
Copy link
Collaborator

yuwenma commented Jan 23, 2025

/approve

Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yuwenma

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 01d70f9 into GoogleCloudPlatform:master Jan 23, 2025
18 checks passed
jingyih added a commit that referenced this pull request Jan 29, 2025
jingyih added a commit that referenced this pull request Jan 29, 2025
google-oss-prow bot added a commit that referenced this pull request Jan 29, 2025
tylerreidwaze pushed a commit that referenced this pull request Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants