Skip to content

Commit

Permalink
Selectively enable permissions for status update
Browse files Browse the repository at this point in the history
The IC only requires ingress/status update permissions if
report-ingress-status is enabled.
  • Loading branch information
isaac committed Aug 16, 2018
1 parent f7fea6b commit c1e723a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm-chart/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@ rules:
verbs:
- list
- watch
{{- if .Values.controller.reportIngressStatus.enable }}
- apiGroups:
- "extensions"
resources:
- ingresses/status
verbs:
- update
{{- end }}
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
Expand Down

0 comments on commit c1e723a

Please sign in to comment.