1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Merge pull request #85 from nirmata/83_update_example

update apiVersion for test YAMLs and update spec.rules.generate type …
This commit is contained in:
shuting 2019-05-22 18:02:38 -07:00 committed by GitHub
commit c8775239d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 18 additions and 18 deletions

View file

@ -12,7 +12,7 @@ spec:
matchLabels:
LabelForSelector : "namespace2"
generate :
- kind: ConfigMap
kind: ConfigMap
name : copied-cm
copyFrom :
namespace : default

View file

@ -30,7 +30,7 @@ spec :
matchLabels:
LabelForSelector : "namespace2"
generate :
- kind: ConfigMap
kind: ConfigMap
name : copied-cm
copyFrom :
namespace : default
@ -46,7 +46,7 @@ spec :
matchLabels:
LabelForSelector : "namespace2"
generate :
- kind: ConfigMap
kind: ConfigMap
name : generated-cm
data :
secretData: "very sensitive data from cmg"
@ -63,7 +63,7 @@ spec :
- Namespace
name: ns2
generate :
- kind: Secret
kind: Secret
name : generated-secrets
data :
foo : bar
@ -80,7 +80,7 @@ spec :
- Namespace
name: ns2
generate :
- kind: Secret
kind: Secret
name : copied-secrets
copyFrom :
namespace : default

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata :
name : policy-ingress

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata:
name: policy-job-perl-bigint

View file

@ -1,4 +1,4 @@
apiVersion : kyverno.nirmata.io/v1alpha1
apiVersion : kyverno.io/v1alpha1
kind : Policy
metadata :
name : policy-limitrange

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata :
name : policy-namespace

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata:
name: policy-network-policy

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata:
name: policy-pvc

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata:
name: policy-pdb

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata:
name: test-podtemplate

View file

@ -1,4 +1,4 @@
apiVersion : kyverno.nirmata.io/v1alpha1
apiVersion : kyverno.io/v1alpha1
kind : Policy
metadata :
name : policy-quota-low-test-validation

View file

@ -1,4 +1,4 @@
apiVersion : kyverno.nirmata.io/v1alpha1
apiVersion : kyverno.io/v1alpha1
kind : Policy
metadata :
name : policy-quota-low-test

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata:
name: policy-secrets

View file

@ -1,4 +1,4 @@
apiVersion : kyverno.nirmata.io/v1alpha1
apiVersion : kyverno.io/v1alpha1
kind : Policy
metadata :
name : policy-service

View file

@ -1,4 +1,4 @@
apiVersion: kyverno.nirmata.io/v1alpha1
apiVersion: kyverno.io/v1alpha1
kind: Policy
metadata:
name: policy-statefulset