-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Chandan-DK <[email protected]>
- Loading branch information
1 parent
c0b203a
commit 2908df9
Showing
2 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
14 changes: 8 additions & 6 deletions
14
best-practices-cel/disallow-helm-tiller/artifacthub-pkg.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
name: disallow-helm-tiller | ||
name: disallow-helm-tiller-cel | ||
version: 1.0.0 | ||
displayName: Disallow Helm Tiller | ||
createdAt: "2023-04-10T19:47:15.000Z" | ||
displayName: Disallow Helm Tiller in CEL expressions | ||
description: >- | ||
Tiller, found in Helm v2, has known security challenges. It requires administrative privileges and acts as a shared resource accessible to any authenticated user. Tiller can lead to privilege escalation as restricted users can impact other users. It is recommend to use Helm v3+ which does not contain Tiller for these reasons. This policy validates that there is not an image containing the name `tiller`. | ||
install: |- | ||
```shell | ||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policies/main/best-practices/disallow-helm-tiller/disallow-helm-tiller.yaml | ||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policies/main/best-practices-cel/disallow-helm-tiller/disallow-helm-tiller.yaml | ||
``` | ||
keywords: | ||
- kyverno | ||
- Sample | ||
- CEL Expressions | ||
readme: | | ||
Tiller, found in Helm v2, has known security challenges. It requires administrative privileges and acts as a shared resource accessible to any authenticated user. Tiller can lead to privilege escalation as restricted users can impact other users. It is recommend to use Helm v3+ which does not contain Tiller for these reasons. This policy validates that there is not an image containing the name `tiller`. | ||
Refer to the documentation for more details on Kyverno annotations: https://artifacthub.io/docs/topics/annotations/kyverno/ | ||
annotations: | ||
kyverno/category: "Sample" | ||
kyverno/category: "Sample in CEL" | ||
kyverno/kubernetesVersion: "1.26-1.27" | ||
kyverno/subject: "Pod" | ||
digest: 6de64a4a8d611c250dc0190b28b6c757db531063161531e4f68202c0fbda5be4 | ||
digest: 68bd8e1cf068759dc436032f3bcb1204992b84ba33498ffd76b744329976769e | ||
createdAt: "2024-03-08T06:30:37Z" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters