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

Update helm-chart rbac to have minimum required privileges #542

Merged
merged 3 commits into from
Apr 18, 2019

Conversation

Dean-Coakley
Copy link
Contributor

@Dean-Coakley Dean-Coakley commented Apr 16, 2019

Proposed changes

The leader election used in the status reporting feature requires the IC to create/update a Configmap. Thus, RBAC must allow that. However, when the feature is disabled, the RBAC must now allow create/update on the Configmap.

When the controller.reportIngressStatus.enableLeaderElection is false, the RBAC must not allow the IC to create/update the ConfigMaps.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

@Dean-Coakley Dean-Coakley added the bug An issue reporting a potential bug label Apr 16, 2019
@Dean-Coakley Dean-Coakley self-assigned this Apr 16, 2019
When the "controller.reportIngressStatus.enableLeaderElection" is false, the RBAC must not allow the IC to create/update the ConfigMaps.
Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@martialonline martialonline left a comment

Choose a reason for hiding this comment

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

👍

@Dean-Coakley Dean-Coakley merged commit a16e3e0 into master Apr 18, 2019
@Dean-Coakley Dean-Coakley deleted the fix/rbac-helm-chart branch April 18, 2019 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue reporting a potential bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants