mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix: mutate existing kuttl tests (#8088)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
c8433bf048
commit
11ef5758e4
6 changed files with 15 additions and 85 deletions
|
@ -1,7 +1,11 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: kyverno:background-controller:additional
|
name: kyverno:background-controller:temp
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: background-controller
|
||||||
|
app.kubernetes.io/instance: kyverno
|
||||||
|
app.kubernetes.io/part-of: kyverno
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- '*'
|
- '*'
|
|
@ -1,27 +0,0 @@
|
||||||
## reset changed clusterrole for the rest of the tests
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: kyverno:background-controller:additional
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- '*'
|
|
||||||
resources:
|
|
||||||
- configmaps
|
|
||||||
- networkpolicies
|
|
||||||
- resourcequotas
|
|
||||||
- secrets
|
|
||||||
- roles
|
|
||||||
- rolebindings
|
|
||||||
- limitranges
|
|
||||||
- namespaces
|
|
||||||
- nodes
|
|
||||||
- nodes/status
|
|
||||||
- pods
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- patch
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
|
@ -1,7 +1,11 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: kyverno:background-controller:additional
|
name: kyverno:background-controller:temp
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: background-controller
|
||||||
|
app.kubernetes.io/instance: kyverno
|
||||||
|
app.kubernetes.io/part-of: kyverno
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- '*'
|
- '*'
|
|
@ -1,27 +0,0 @@
|
||||||
## reset changed clusterrole for the rest of the tests
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: kyverno:background-controller:additional
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- '*'
|
|
||||||
resources:
|
|
||||||
- configmaps
|
|
||||||
- networkpolicies
|
|
||||||
- resourcequotas
|
|
||||||
- secrets
|
|
||||||
- roles
|
|
||||||
- rolebindings
|
|
||||||
- limitranges
|
|
||||||
- namespaces
|
|
||||||
- nodes
|
|
||||||
- nodes/status
|
|
||||||
- pods
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- patch
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
|
@ -1,7 +1,11 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: kyverno:background-controller:additional
|
name: kyverno:background-controller:temp
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: background-controller
|
||||||
|
app.kubernetes.io/instance: kyverno
|
||||||
|
app.kubernetes.io/part-of: kyverno
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- '*'
|
- '*'
|
|
@ -1,28 +0,0 @@
|
||||||
## reset changed clusterrole for the rest of the tests
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: kyverno:background-controller:additional
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- '*'
|
|
||||||
resources:
|
|
||||||
- configmaps
|
|
||||||
- networkpolicies
|
|
||||||
- resourcequotas
|
|
||||||
- secrets
|
|
||||||
- roles
|
|
||||||
- rolebindings
|
|
||||||
- limitranges
|
|
||||||
- namespaces
|
|
||||||
- nodes
|
|
||||||
- nodes/status
|
|
||||||
- pods
|
|
||||||
- deployments
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- patch
|
|
||||||
- delete
|
|
||||||
- get
|
|
||||||
- list
|
|
Loading…
Add table
Reference in a new issue