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

fix(gcp): Use IAMPolicyMember for workload identity bindings #1347

Merged
merged 2 commits into from
Jul 6, 2020

Conversation

Bobgy
Copy link
Contributor

@Bobgy Bobgy commented Jul 6, 2020

Which issue is resolved by this Pull Request:
Solves GoogleCloudPlatform/kubeflow-distribution#61 (comment)

Description of your changes:
IAMPolicy always overwrites the entire policy for that resource, so it's not possible other services also try to add policies to this resource.
Use IAMPolicyMember for workload identity bindings instead, so that profile controller can work with existing KCC controller on IAMPolicy management.

ref: https://cloud.google.com/config-connector/docs/reference/resource-docs/iam/iampolicy

Checklist:

  • Unit tests have been rebuilt:
    1. cd manifests/tests
    2. make generate-changed-only
    3. make test

@kubeflow-bot
Copy link
Contributor

This change is Reviewable

@Bobgy
Copy link
Contributor Author

Bobgy commented Jul 6, 2020

/assign @jlewi

@jlewi
Copy link
Contributor

jlewi commented Jul 6, 2020

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

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

@k8s-ci-robot k8s-ci-robot merged commit bad1ffe into kubeflow:master Jul 6, 2020
@Bobgy Bobgy deleted the fix_gcp_wi_bindings branch July 6, 2020 10:11
Bobgy added a commit to Bobgy/manifests that referenced this pull request Jul 6, 2020
k8s-ci-robot pushed a commit that referenced this pull request Jul 6, 2020
…ings #1347" (#1349)

* fix profile controller iam binding

* rename
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.

5 participants