v1.16: networkpolicies under networking.k8s.io/v1

pull/741/head
gjmzj 2019-11-03 10:44:58 +00:00
parent 4cf696b22f
commit ca501796c4
7 changed files with 2 additions and 14 deletions

View File

@ -116,7 +116,6 @@ rules:
- deployments/status
- ingresses
- ingresses/status
- networkpolicies
- replicasets
- replicasets/scale
- replicasets/status

View File

@ -10,7 +10,7 @@ metadata:
release: {{ .Release.Name }}
{{- if .Values.rbac.pspEnabled }}
rules:
- apiGroups: ['extensions']
- apiGroups: ['policy']
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames: [{{ template "grafana.fullname" . }}]

View File

@ -399,7 +399,6 @@ rules:
resources:
- pods
- namespaces
- networkpolicies
- nodes
- serviceaccounts
verbs:

View File

@ -408,7 +408,6 @@ rules:
resources:
- pods
- namespaces
- networkpolicies
- nodes
- serviceaccounts
verbs:

View File

@ -109,7 +109,6 @@ rules:
- deployments/status
- ingresses
- ingresses/status
- networkpolicies
- replicasets
- replicasets/scale
- replicasets/status

View File

@ -51,7 +51,7 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: flannel
rules:
- apiGroups: ['extensions']
- apiGroups: ['policy']
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames: ['psp.flannel.unprivileged']

View File

@ -154,14 +154,6 @@ rules:
- list
- get
- watch
- apiGroups:
- extensions
resources:
- networkpolicies
verbs:
- get
- list
- watch
---
kind: ClusterRoleBinding