Skip to content

Instantly share code, notes, and snippets.

@mgoodness
Created December 21, 2017 20:43
Show Gist options
  • Save mgoodness/684d91e5812d383f6cc48d420bdad5b5 to your computer and use it in GitHub Desktop.
Save mgoodness/684d91e5812d383f6cc48d420bdad5b5 to your computer and use it in GitHub Desktop.
nginx-ingress-controller ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: nginx-ingress-controller
rules:
- apiGroups:
- ""
resources:
- configmaps
- endpoints
- nodes
- pods
- secrets
verbs:
- list
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- watch
- apiGroups:
- extensions
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- extensions
resources:
- ingresses/status
verbs:
- update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment