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

feat(gcb): Add permissioning to Google Cloud Build accounts #523

Merged
merged 2 commits into from
Oct 23, 2019

Conversation

afcastano
Copy link
Contributor

@afcastano afcastano commented Oct 22, 2019

Added permissioning to Google Cloud Build accounts.
It solves spinnaker/spinnaker#4814

Protects the gcb accounts so that only defined roles can READ and WRITE.

  • To be able to configure a pipeline with the gcb account, you need READ permissions.
  • To be able to submit a CloudBuild job using the account, you need WRITE permissions.

@afcastano
Copy link
Contributor Author

afcastano commented Oct 22, 2019

Hi @ezimanyi , this is the PR as per our discussion in spinnaker/spinnaker#4814 . Please let me know what do you think.

I did a bit of manual testing in my local environment and it seems working all right.

@afcastano afcastano force-pushed the master branch 4 times, most recently from 2cfa273 to 2c17d68 Compare October 23, 2019 04:50
Copy link
Contributor

@ezimanyi ezimanyi left a comment

Choose a reason for hiding this comment

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

This looks great! I have only one annoying super minor comment about a missing space.

@@ -69,6 +70,9 @@ class InfoController {
@Autowired(required = false)
ConcourseProperties concourseProperties

@Autowired(required =false)
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: missing space after =

@afcastano afcastano force-pushed the master branch 4 times, most recently from 563dcb5 to b8cd73a Compare October 23, 2019 19:31
afcastano and others added 2 commits October 24, 2019 06:32
Co-authored-by: Sirisha Vadrevu <sirishavadrevu@gmail.com>
Added missing whitespace
@afcastano
Copy link
Contributor Author

Great, thanks @ezimanyi, the minor fix is done. =)

@ezimanyi ezimanyi added the ready to merge Approved and ready for merge label Oct 23, 2019
@mergify mergify bot merged commit 486b26a into spinnaker:master Oct 23, 2019
@mergify mergify bot added the auto merged label Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants