Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rrichards/2d22d677caa57a14bf688dc6b37d555a to your computer and use it in GitHub Desktop.
Save rrichards/2d22d677caa57a14bf688dc6b37d555a to your computer and use it in GitHub Desktop.
nginx-ingress-controller Role
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: nginx-ingress-controller
rules:
- apiGroups:
- ""
resources:
- configmaps
- pods
- secrets
- namespaces
verbs:
- get
- apiGroups:
- ""
resources:
- configmaps
resourceNames:
- ingress-controller-leader-nginx
- tcp-services
- udp-services
verbs:
- get
- update
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- apiGroups:
- ""
resources:
- endpoints
verbs:
- get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment