Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing deny from policy names #51

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runtime-policies/attach/policy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingAdmissionPolicy
metadata:
name: cluster-policy-deny-attach
name: cluster-policy-attach
spec:
matchConstraints:
resourceRules:
Expand All @@ -12,5 +12,5 @@ spec:
failurePolicy: Fail
validations:
- expression: "false"
message: "attach is not allowed"
message: "attach to pod has occurred"
reason: "Medium"
4 changes: 2 additions & 2 deletions runtime-policies/exec/policy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingAdmissionPolicy
metadata:
name: cluster-policy-deny-exec
name: cluster-policy-exec
spec:
matchConstraints:
resourceRules:
Expand All @@ -12,5 +12,5 @@ spec:
failurePolicy: Fail
validations:
- expression: "false"
message: "exec is not allowed"
message: "exec to pod has occurred"
reason: "High"
2 changes: 1 addition & 1 deletion runtime-policies/hostmount/policy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingAdmissionPolicy
metadata:
name: cluster-policy-deny-host-mount
name: cluster-policy-host-mount
spec:
matchConstraints:
resourceRules:
Expand Down
2 changes: 1 addition & 1 deletion runtime-policies/insecure-capabilities/policy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingAdmissionPolicy
metadata:
name: cluster-policy-deny-insecure-capabilities
name: cluster-policy-insecure-capabilities
spec:
failurePolicy: Fail
paramKind:
Expand Down
4 changes: 2 additions & 2 deletions runtime-policies/portforward/policy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingAdmissionPolicy
metadata:
name: cluster-policy-deny-portforward
name: cluster-policy-portforward
spec:
matchConstraints:
resourceRules:
Expand All @@ -12,5 +12,5 @@ spec:
failurePolicy: Fail
validations:
- expression: "false"
message: "portforward is not allowed"
message: "portforward in pod has occurred"
reason: "High"
2 changes: 1 addition & 1 deletion runtime-policies/privileged/policy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingAdmissionPolicy
metadata:
name: cluster-policy-deny-priviliged-flag
name: cluster-policy-priviliged-flag
spec:
failurePolicy: Fail
matchConstraints:
Expand Down