mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 07:26:55 +00:00
Update Name
This commit is contained in:
parent
c3b7de6f16
commit
ee20fcd4a0
3 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,7 @@ This policy requires that all pods have CPU and memory resource requests and lim
|
|||
|
||||
````yaml
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: Policy
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
name: check-cpu-memory
|
||||
spec:
|
||||
|
@ -62,7 +62,7 @@ This policy sets the imagePullPolicy to Always if the image tag is latest:
|
|||
|
||||
````yaml
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: Policy
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
name: set-image-pull-policy
|
||||
spec:
|
||||
|
@ -90,7 +90,7 @@ This policy sets the Zookeeper and Kafka connection strings for all namespaces w
|
|||
|
||||
````yaml
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: Policy
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
name: "zk-kafka-address"
|
||||
spec:
|
||||
|
|
|
@ -14,7 +14,7 @@ This policy matches and mutates pods with `emptyDir` and `hostPath` volumes, to
|
|||
|
||||
````yaml
|
||||
apiVersion: "kyverno.io/v1"
|
||||
kind: "ClusterPolicy"
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
name: "add-safe-to-evict"
|
||||
spec:
|
||||
|
|
|
@ -8,7 +8,7 @@ The volume of type `hostPath` allows pods to use host bind mounts (i.e. director
|
|||
|
||||
````yaml
|
||||
apiVersion: "kyverno.io/v1"
|
||||
kind: "ClusterPolicy"
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
name: "disallow-bind-mounts"
|
||||
spec:
|
||||
|
|
Loading…
Add table
Reference in a new issue