From 3296e9f97af2bf12f08990ad340744583f6d2f91 Mon Sep 17 00:00:00 2001 From: Brandon Foley Date: Wed, 6 Nov 2024 16:40:51 -0500 Subject: [PATCH] remove some sec context --- pkg/fixtures/deployments/helm/charts/values.yaml | 6 ------ pkg/fixtures/deployments/kustomize/base/deployment.yaml | 6 ------ pkg/fixtures/deployments/manifest/manifests/deployment.yaml | 6 ------ template/deployments/helm/charts/values.yaml | 6 ------ template/deployments/kustomize/base/deployment.yaml | 6 ------ template/deployments/manifests/manifests/deployment.yaml | 6 ------ 6 files changed, 36 deletions(-) diff --git a/pkg/fixtures/deployments/helm/charts/values.yaml b/pkg/fixtures/deployments/helm/charts/values.yaml index 1f87fd79..58905ad1 100644 --- a/pkg/fixtures/deployments/helm/charts/values.yaml +++ b/pkg/fixtures/deployments/helm/charts/values.yaml @@ -79,12 +79,6 @@ affinity: app: testapp securityContext: - privileged: false - allowPrivilegeEscalation: false - runAsNonRoot: true - runAsUser: 1000 - runAsGroup: 3000 - readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault capabilities: diff --git a/pkg/fixtures/deployments/kustomize/base/deployment.yaml b/pkg/fixtures/deployments/kustomize/base/deployment.yaml index e83af792..206cce40 100644 --- a/pkg/fixtures/deployments/kustomize/base/deployment.yaml +++ b/pkg/fixtures/deployments/kustomize/base/deployment.yaml @@ -44,12 +44,6 @@ spec: successThreshold: 1 initialDelaySeconds: 3 securityContext: - privileged: false - allowPrivilegeEscalation: false - runAsNonRoot: true - runAsUser: 1000 - runAsGroup: 3000 - readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault capabilities: diff --git a/pkg/fixtures/deployments/manifest/manifests/deployment.yaml b/pkg/fixtures/deployments/manifest/manifests/deployment.yaml index e83af792..206cce40 100644 --- a/pkg/fixtures/deployments/manifest/manifests/deployment.yaml +++ b/pkg/fixtures/deployments/manifest/manifests/deployment.yaml @@ -44,12 +44,6 @@ spec: successThreshold: 1 initialDelaySeconds: 3 securityContext: - privileged: false - allowPrivilegeEscalation: false - runAsNonRoot: true - runAsUser: 1000 - runAsGroup: 3000 - readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault capabilities: diff --git a/template/deployments/helm/charts/values.yaml b/template/deployments/helm/charts/values.yaml index 4f69418d..a99d0bc0 100644 --- a/template/deployments/helm/charts/values.yaml +++ b/template/deployments/helm/charts/values.yaml @@ -79,12 +79,6 @@ affinity: app: {{ .Config.GetVariableValue "APPNAME" }} securityContext: - privileged: false - allowPrivilegeEscalation: false - runAsNonRoot: true - runAsUser: 1000 - runAsGroup: 3000 - readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault capabilities: diff --git a/template/deployments/kustomize/base/deployment.yaml b/template/deployments/kustomize/base/deployment.yaml index 98a97aa8..83baa4d6 100644 --- a/template/deployments/kustomize/base/deployment.yaml +++ b/template/deployments/kustomize/base/deployment.yaml @@ -44,12 +44,6 @@ spec: successThreshold: {{ .Config.GetVariableValue "READINESSSUCCESSTHRESHOLD" }} initialDelaySeconds: {{ .Config.GetVariableValue "READINESSINITIALDELAY" }} securityContext: - privileged: false - allowPrivilegeEscalation: false - runAsNonRoot: true - runAsUser: 1000 - runAsGroup: 3000 - readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault capabilities: diff --git a/template/deployments/manifests/manifests/deployment.yaml b/template/deployments/manifests/manifests/deployment.yaml index 98a97aa8..83baa4d6 100644 --- a/template/deployments/manifests/manifests/deployment.yaml +++ b/template/deployments/manifests/manifests/deployment.yaml @@ -44,12 +44,6 @@ spec: successThreshold: {{ .Config.GetVariableValue "READINESSSUCCESSTHRESHOLD" }} initialDelaySeconds: {{ .Config.GetVariableValue "READINESSINITIALDELAY" }} securityContext: - privileged: false - allowPrivilegeEscalation: false - runAsNonRoot: true - runAsUser: 1000 - runAsGroup: 3000 - readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault capabilities: