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 kustomize RBAC bindings to have namespace kube-system #878

Merged
merged 1 commit into from
May 10, 2021

Conversation

wongma7
Copy link
Contributor

@wongma7 wongma7 commented May 10, 2021

Is this a bug fix or adding new feature? /bug

What is this PR about? / Why do we need it? I broke the RBAC. helm used to hardcode kube-system so kustomize templates inherited kube-system. Then we stopped hardcoding it in favour of RElease.namespace so kustomize templates started inheriting default. Unfortunately this breaks things for users who already had kustomize installed in kube-system so let's revert by adding -n kube-system to the helm template command.

What testing is done?

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 10, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wongma7

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 added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 10, 2021
@AndyXiangLi
Copy link
Contributor

/lgtm
Thanks! Can you also cherry-pick this commit to release v1.0 branch?

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 10, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1947

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 79.188%

Totals Coverage Status
Change from base Build 1942: 0.0%
Covered Lines: 1990
Relevant Lines: 2513

💛 - Coveralls

@k8s-ci-robot k8s-ci-robot merged commit a45e4e1 into kubernetes-sigs:master May 10, 2021
@therealdwright
Copy link
Contributor

therealdwright commented Jun 22, 2021

This PR broke our aws-ebs-csi-driver deployment which is configured to run in its own namespace. All of the ClusterRoleBinding's and RoleBinding's were shifted to the kube-system namespace causing the driver pods to fail with retrieving resource lock errors when upgrading to 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants