diff --git a/clabverter/assets/namespace.yaml.template b/clabverter/assets/namespace.yaml.template index 088df4a..a1b293b 100644 --- a/clabverter/assets/namespace.yaml.template +++ b/clabverter/assets/namespace.yaml.template @@ -3,3 +3,5 @@ apiVersion: v1 kind: Namespace metadata: name: {{ .Name }} + labels: + pod-security.kubernetes.io/enforce: privileged \ No newline at end of file diff --git a/clabverter/test-fixtures/golden/simple-no-explicit-namespace/_topo01-ns.yaml b/clabverter/test-fixtures/golden/simple-no-explicit-namespace/_topo01-ns.yaml index f4c0d2f..28b7436 100755 --- a/clabverter/test-fixtures/golden/simple-no-explicit-namespace/_topo01-ns.yaml +++ b/clabverter/test-fixtures/golden/simple-no-explicit-namespace/_topo01-ns.yaml @@ -3,3 +3,5 @@ apiVersion: v1 kind: Namespace metadata: name: c9s-topo01 + labels: + pod-security.kubernetes.io/enforce: privileged \ No newline at end of file diff --git a/clabverter/test-fixtures/golden/simple-no-explicit-namespace/topo01-ns.yaml b/clabverter/test-fixtures/golden/simple-no-explicit-namespace/topo01-ns.yaml deleted file mode 100644 index f4c0d2f..0000000 --- a/clabverter/test-fixtures/golden/simple-no-explicit-namespace/topo01-ns.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: c9s-topo01 diff --git a/clabverter/test-fixtures/golden/simple/_topo01-ns.yaml b/clabverter/test-fixtures/golden/simple/_topo01-ns.yaml index bc8c389..6d92bf1 100755 --- a/clabverter/test-fixtures/golden/simple/_topo01-ns.yaml +++ b/clabverter/test-fixtures/golden/simple/_topo01-ns.yaml @@ -3,3 +3,5 @@ apiVersion: v1 kind: Namespace metadata: name: notclabernetes + labels: + pod-security.kubernetes.io/enforce: privileged \ No newline at end of file diff --git a/clabverter/test-fixtures/golden/simple/topo01-ns.yaml b/clabverter/test-fixtures/golden/simple/topo01-ns.yaml deleted file mode 100644 index bc8c389..0000000 --- a/clabverter/test-fixtures/golden/simple/topo01-ns.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: notclabernetes