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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ before_install:
- if [[ "${TRAVIS_PULL_REQUEST_SLUG}" == "nginxinc/kubernetes-ingress" || "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
wget https://${fossalocation}/${fossafile} && tar xzf ${fossafile}
&& ./fossa init
&& ./fossa analyze -t kubernetes-ingress -b ${TRAVIS_BRANCH}; fi
env:
global:
secure: V55h8keIrz7C4KiiyTGRUFY51coVcQSf1W/jPt0G9x8SQIY4s0jJ5jbNx5M1Sllic1wrdZJrSK+q9dxqJBHn/1JsOSgx6CAx8NCsBECJuWz2N841uTVlXSNuW+FpJT3sBtNauwcdxVXJ+FmuL74rPJm1n+utWuXVtaGcj3y39r7gldqBbNiGKTIseMfrHreA+i5U8Yy/6FYk5Pm9TG2jtP+e5lHF7jD6/E1EnhLGOl9u0GAHu1VHHRNU0GNXFZR/mObfsDhBw5QkaZNFavW8/1xU7//ueYM+ZlQUbb/mPC4G4F1A7oouflYnEjmuqAxwxGL30F6xNKCVUV3rW2V7yaBFcLCM+0F3Qw1NHe67hmxRVloHdWl1of5SNHsWgJ8pVA4k6mcOETOwUJS2WN38txphsQKt9SEtu2oB50KVpXt/REg+2OY2Ln880lyzDPGjvV/UT6voa1LhnAx7JQnoQqwOEFk1zwcVxIGxePvCL2PYVkC3iKuj8ESixyZk5r/k0/hVl1n3T1l2KlzmxQgMg7Ew7T0Uv3EyCPc7i39sUMv86XV6BHaooTgDGSSquxiVABZUpaEYHBGq57gmYahVRbKeonOQ4wDFzXWTWSVP6tzy5iBoF5ecD6xB2IpFXwPhKYDPKOnU0eJpahfzUwJMXee/RjVtzswIjRU4BAV8xZY=
&& FOSSA_API_KEY=${fossapush} ./fossa analyze -t kubernetes-ingress -b ${TRAVIS_BRANCH}; fi
4 changes: 3 additions & 1 deletion deployments/helm-chart/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ rules:
- get
- list
- watch
{{- if .Values.controller.reportIngressStatus.enableLeaderElection }}
- update
- create
{{- end }}
- apiGroups:
- ""
resources:
Expand All @@ -56,7 +58,7 @@ rules:
- watch
{{- if .Values.controller.reportIngressStatus.enable }}
- apiGroups:
- "extensions"
- extensions
resources:
- ingresses/status
verbs:
Expand Down