Skip to content

Commit

Permalink
chore: add schema comments
Browse files Browse the repository at this point in the history
Signed-off-by: xyhhx <[email protected]>
  • Loading branch information
xyhhx committed Jan 3, 2025
1 parent ebc3671 commit 66433cd
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
5 changes: 5 additions & 0 deletions pod-security-cel/baseline/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- disallow-capabilities/disallow-capabilities.yaml
- disallow-host-namespaces/disallow-host-namespaces.yaml
Expand Down
5 changes: 5 additions & 0 deletions pod-security-cel/restricted/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- disallow-capabilities-strict/disallow-capabilities-strict.yaml
- disallow-privilege-escalation/disallow-privilege-escalation.yaml
Expand Down
6 changes: 5 additions & 1 deletion pod-security/baseline/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- disallow-capabilities/disallow-capabilities.yaml
- disallow-host-namespaces/disallow-host-namespaces.yaml
Expand All @@ -10,4 +15,3 @@ resources:
- restrict-apparmor-profiles/restrict-apparmor-profiles.yaml
- restrict-seccomp/restrict-seccomp.yaml
- restrict-sysctls/restrict-sysctls.yaml

7 changes: 6 additions & 1 deletion pod-security/enforce/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../restricted
- ../restricted

patches:
- patch: |-
Expand Down
7 changes: 6 additions & 1 deletion pod-security/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- restricted
- restricted
5 changes: 5 additions & 0 deletions pod-security/restricted/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../baseline
- disallow-capabilities-strict/disallow-capabilities-strict.yaml
Expand Down

0 comments on commit 66433cd

Please sign in to comment.