mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +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
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: test-endpoint
|
||||
name: demo-endpoint
|
||||
labels:
|
||||
label : test
|
||||
subsets:
|
||||
|
|
|
@ -4,7 +4,7 @@ metadata :
|
|||
name : policy-endpoints
|
||||
spec :
|
||||
rules:
|
||||
- name: pEP
|
||||
- name: demo-ep
|
||||
resource:
|
||||
kinds :
|
||||
- Endpoints
|
||||
|
|
|
@ -2,8 +2,6 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: qos-demo
|
||||
# labels:
|
||||
# app: nginx
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
|
|
|
@ -8,11 +8,11 @@ spec:
|
|||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
app: psp
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
app: psp
|
||||
spec:
|
||||
volumes:
|
||||
- name: sec-ctx-vol
|
||||
|
|
Loading…
Add table
Reference in a new issue