Compact nginx-ingress ClusterRole rules

* https://github.com/kubernetes/ingress-nginx/pull/4302
This commit is contained in:
Dalton Hubble 2019-07-20 20:31:06 -07:00
parent e0be091acc
commit f543f08867
5 changed files with 5 additions and 65 deletions

View File

@ -37,6 +37,7 @@ rules:
- patch - patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
- "networking.k8s.io"
resources: resources:
- ingresses - ingresses
verbs: verbs:
@ -45,19 +46,6 @@ rules:
- watch - watch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources:
- ingresses/status
verbs:
- update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io" - "networking.k8s.io"
resources: resources:
- ingresses/status - ingresses/status

View File

@ -37,6 +37,7 @@ rules:
- patch - patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
- "networking.k8s.io"
resources: resources:
- ingresses - ingresses
verbs: verbs:
@ -45,19 +46,6 @@ rules:
- watch - watch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources:
- ingresses/status
verbs:
- update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io" - "networking.k8s.io"
resources: resources:
- ingresses/status - ingresses/status

View File

@ -37,6 +37,7 @@ rules:
- patch - patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
- "networking.k8s.io"
resources: resources:
- ingresses - ingresses
verbs: verbs:
@ -45,19 +46,6 @@ rules:
- watch - watch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources:
- ingresses/status
verbs:
- update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io" - "networking.k8s.io"
resources: resources:
- ingresses/status - ingresses/status

View File

@ -37,6 +37,7 @@ rules:
- patch - patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
- "networking.k8s.io"
resources: resources:
- ingresses - ingresses
verbs: verbs:
@ -45,19 +46,6 @@ rules:
- watch - watch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources:
- ingresses/status
verbs:
- update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io" - "networking.k8s.io"
resources: resources:
- ingresses/status - ingresses/status

View File

@ -37,6 +37,7 @@ rules:
- patch - patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
- "networking.k8s.io"
resources: resources:
- ingresses - ingresses
verbs: verbs:
@ -45,19 +46,6 @@ rules:
- watch - watch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources:
- ingresses/status
verbs:
- update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io" - "networking.k8s.io"
resources: resources:
- ingresses/status - ingresses/status