Skip to content

Commit

Permalink
feat: new values file for pichu, pikachu & raichu under topaz & amber
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Aug 11, 2024
1 parent 19ca08a commit c596d34
Show file tree
Hide file tree
Showing 6 changed files with 804 additions and 0 deletions.
134 changes: 134 additions & 0 deletions chart/values.pichu.amber.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
serviceTree:
landscape: &landscape pichu
cluster: amber

commonExclude:
annotations: &annotationExclude
- "*-cleanup-controller-*"
labels: &labelExclude
- "*-cleanup-controller-*"
- "*-silicon-*"
- "tin-livecache*"

globalExcludedNamespace: &globalExcludedNamespace
- kube-system

kyverno-policies:
podSecurityStandard: baseline
podSecuritySeverity: medium
validationFailureAction: Audit
policyExclude:
disallow-capabilities:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-host-namespaces:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-host-path:
any:
- resources:
namespaces: *globalExcludedNamespace
- resources:
namespaces:
- sulfoxide
names:
- "*-container-logs-collector*"
disallow-host-ports:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-host-process:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-privileged-containers:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-proc-mount:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-selinux:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-apparmor-profiles:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-sysctls:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-seccomp:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-privilege-escalation:
any:
- resources:
namespaces: *globalExcludedNamespace
- resources:
namespaces:
- sulfoxide
names:
- "*-otel*"
require-run-as-non-root-user:
any:
- resources:
namespaces: *globalExcludedNamespace
require-run-as-nonroot:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-seccomp-strict:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-volume-types:
any:
- resources:
namespaces: *globalExcludedNamespace

policies:
requireAtomiCloudAnnotations:
exclude:
names: *annotationExclude

requireAtomiCloudLabels:
exclude:
names: *labelExclude

checkLandscapeLabel:
value: *landscape
exclude:
names: *labelExclude

checkLandscapeAnnotation:
value: *landscape
exclude:
names: *annotationExclude

checkLayerLabel:
exclude:
names: *labelExclude

checkLayerAnnotation:
exclude:
names: *annotationExclude

checkPlatformLabel:
exclude:
names: *labelExclude

checkPlatformAnnotation:
exclude:
names: *annotationExclude

requireRequestLimits:
exclude:
names:
- "*-target-allocator-targetallocator-*"
134 changes: 134 additions & 0 deletions chart/values.pichu.topaz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
serviceTree:
landscape: &landscape pichu
cluster: topaz

commonExclude:
annotations: &annotationExclude
- "*-cleanup-controller-*"
labels: &labelExclude
- "*-cleanup-controller-*"
- "*-silicon-*"
- "tin-livecache*"

globalExcludedNamespace: &globalExcludedNamespace
- kube-system

kyverno-policies:
podSecurityStandard: baseline
podSecuritySeverity: medium
validationFailureAction: Audit
policyExclude:
disallow-capabilities:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-host-namespaces:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-host-path:
any:
- resources:
namespaces: *globalExcludedNamespace
- resources:
namespaces:
- sulfoxide
names:
- "*-container-logs-collector*"
disallow-host-ports:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-host-process:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-privileged-containers:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-proc-mount:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-selinux:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-apparmor-profiles:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-sysctls:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-seccomp:
any:
- resources:
namespaces: *globalExcludedNamespace
disallow-privilege-escalation:
any:
- resources:
namespaces: *globalExcludedNamespace
- resources:
namespaces:
- sulfoxide
names:
- "*-otel*"
require-run-as-non-root-user:
any:
- resources:
namespaces: *globalExcludedNamespace
require-run-as-nonroot:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-seccomp-strict:
any:
- resources:
namespaces: *globalExcludedNamespace
restrict-volume-types:
any:
- resources:
namespaces: *globalExcludedNamespace

policies:
requireAtomiCloudAnnotations:
exclude:
names: *annotationExclude

requireAtomiCloudLabels:
exclude:
names: *labelExclude

checkLandscapeLabel:
value: *landscape
exclude:
names: *labelExclude

checkLandscapeAnnotation:
value: *landscape
exclude:
names: *annotationExclude

checkLayerLabel:
exclude:
names: *labelExclude

checkLayerAnnotation:
exclude:
names: *annotationExclude

checkPlatformLabel:
exclude:
names: *labelExclude

checkPlatformAnnotation:
exclude:
names: *annotationExclude

requireRequestLimits:
exclude:
names:
- "*-target-allocator-targetallocator-*"
Loading

0 comments on commit c596d34

Please sign in to comment.