mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
21 lines
449 B
YAML
21 lines
449 B
YAML
apiVersion : kyverno.io/v1
|
|
kind: ClusterPolicy
|
|
metadata:
|
|
name: disallow-helm-tiller
|
|
annotations:
|
|
policies.kyverno.io/category: Security
|
|
policies.kyverno.io/description:
|
|
spec:
|
|
rules:
|
|
- name: validate-helm-tiller
|
|
match:
|
|
resources:
|
|
kinds:
|
|
- Pod
|
|
validate:
|
|
message: "Helm Tiller is not allowed"
|
|
pattern:
|
|
spec:
|
|
containers:
|
|
- name: "*"
|
|
image: "!*tiller*"
|