mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-07 00:17:13 +00:00
update examples
This commit is contained in:
parent
5132f6497a
commit
7932bd62a3
4 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Endpoints
|
kind: Endpoints
|
||||||
metadata:
|
metadata:
|
||||||
name: test-endpoint
|
name: demo-endpoint
|
||||||
labels:
|
labels:
|
||||||
label : test
|
label : test
|
||||||
subsets:
|
subsets:
|
||||||
|
|
|
@ -4,7 +4,7 @@ metadata :
|
||||||
name : policy-endpoints
|
name : policy-endpoints
|
||||||
spec :
|
spec :
|
||||||
rules:
|
rules:
|
||||||
- name: pEP
|
- name: demo-ep
|
||||||
resource:
|
resource:
|
||||||
kinds :
|
kinds :
|
||||||
- Endpoints
|
- Endpoints
|
||||||
|
|
|
@ -2,8 +2,6 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: qos-demo
|
name: qos-demo
|
||||||
# labels:
|
|
||||||
# app: nginx
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -8,11 +8,11 @@ spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: nginx
|
app: psp
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: nginx
|
app: psp
|
||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: sec-ctx-vol
|
- name: sec-ctx-vol
|
||||||
|
|
Loading…
Add table
Reference in a new issue