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

Predeploy roles before RoleBindings #380

Merged
merged 3 commits into from
Nov 28, 2018
Merged

Conversation

lautis
Copy link
Contributor

@lautis lautis commented Nov 24, 2018

RoleBindings were added to predeploy in #354. If role bindings rely on a role, deployment fails as role is not available. Fixed by predeploying roles.

If role bindings rely on a role, deployment fails as role is not available. Fixed by predeploying roles.
Copy link
Contributor

@dturn dturn left a comment

Choose a reason for hiding this comment

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

Thank you for the PR. This looks good to me once you fix the style issue.

@lautis
Copy link
Contributor Author

lautis commented Nov 26, 2018

Fixed the rubocop error.

@dturn dturn requested a review from KnVerey November 26, 2018 20:13
Copy link
Contributor

@KnVerey KnVerey left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!
Just one request, then @dturn can you please run CI and ship this?

@@ -89,6 +89,10 @@ def assert_all_service_accounts_up
assert_service_account_present("build-robot")
end

def assert_all_roles_up
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please call this from assert_all_up (L9 of this file) too?

@dturn dturn merged commit 396d76d into Shopify:master Nov 28, 2018
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