From 66433cd1e64edd4b72012e038f669e3499be894c Mon Sep 17 00:00:00 2001 From: xyhhx Date: Fri, 3 Jan 2025 05:36:09 -0500 Subject: [PATCH] chore: add schema comments Signed-off-by: xyhhx --- pod-security-cel/baseline/kustomization.yaml | 5 +++++ pod-security-cel/restricted/kustomization.yaml | 5 +++++ pod-security/baseline/kustomization.yaml | 6 +++++- pod-security/enforce/kustomization.yaml | 7 ++++++- pod-security/kustomization.yaml | 7 ++++++- pod-security/restricted/kustomization.yaml | 5 +++++ 6 files changed, 32 insertions(+), 3 deletions(-) diff --git a/pod-security-cel/baseline/kustomization.yaml b/pod-security-cel/baseline/kustomization.yaml index b02f3c10f..fe08bd260 100644 --- a/pod-security-cel/baseline/kustomization.yaml +++ b/pod-security-cel/baseline/kustomization.yaml @@ -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 diff --git a/pod-security-cel/restricted/kustomization.yaml b/pod-security-cel/restricted/kustomization.yaml index 6725535b9..58d16d8d0 100644 --- a/pod-security-cel/restricted/kustomization.yaml +++ b/pod-security-cel/restricted/kustomization.yaml @@ -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 diff --git a/pod-security/baseline/kustomization.yaml b/pod-security/baseline/kustomization.yaml index 1ee109d96..3c550f718 100644 --- a/pod-security/baseline/kustomization.yaml +++ b/pod-security/baseline/kustomization.yaml @@ -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 @@ -10,4 +15,3 @@ resources: - restrict-apparmor-profiles/restrict-apparmor-profiles.yaml - restrict-seccomp/restrict-seccomp.yaml - restrict-sysctls/restrict-sysctls.yaml - \ No newline at end of file diff --git a/pod-security/enforce/kustomization.yaml b/pod-security/enforce/kustomization.yaml index 506528fae..d0c9e4142 100644 --- a/pod-security/enforce/kustomization.yaml +++ b/pod-security/enforce/kustomization.yaml @@ -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: |- diff --git a/pod-security/kustomization.yaml b/pod-security/kustomization.yaml index f2d7f5c55..343f6116f 100644 --- a/pod-security/kustomization.yaml +++ b/pod-security/kustomization.yaml @@ -1,2 +1,7 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/kustomization +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + resources: -- restricted + - restricted diff --git a/pod-security/restricted/kustomization.yaml b/pod-security/restricted/kustomization.yaml index 288abaaf5..4694ae70a 100644 --- a/pod-security/restricted/kustomization.yaml +++ b/pod-security/restricted/kustomization.yaml @@ -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