From 83ff7a015be35ed0aaf3940ef382cc584f318a97 Mon Sep 17 00:00:00 2001 From: Brandon Foley Date: Wed, 6 Nov 2024 17:25:21 -0500 Subject: [PATCH] test no sec context --- .github/workflows/integration-linux.yml | 2 ++ .../deployments/helm/charts/values.yaml | 22 +------------------ template/deployments/helm/charts/values.yaml | 22 +------------------ 3 files changed, 4 insertions(+), 42 deletions(-) diff --git a/.github/workflows/integration-linux.yml b/.github/workflows/integration-linux.yml index 3dd40c1d..3c5bbe11 100644 --- a/.github/workflows/integration-linux.yml +++ b/.github/workflows/integration-linux.yml @@ -444,6 +444,8 @@ jobs: npm install -g ajv-cli@5.0.0 ajv validate -s test/update_dry_run_schema.json -d test/temp/update_dry_run.json - run: ./draft -v update -d ./langtest/ -a webapp_routing --variable ingress-tls-cert-keyvault-uri=test.cert.keyvault.uri --variable ingress-use-osm-mtls=true --variable ingress-host=host1 + - name: print manifests + run: cat ./langtest/manifests/* - name: start minikube id: minikube uses: medyagh/setup-minikube@master diff --git a/pkg/fixtures/deployments/helm/charts/values.yaml b/pkg/fixtures/deployments/helm/charts/values.yaml index 58905ad1..ed83c293 100644 --- a/pkg/fixtures/deployments/helm/charts/values.yaml +++ b/pkg/fixtures/deployments/helm/charts/values.yaml @@ -78,27 +78,7 @@ affinity: matchLabels: app: testapp -securityContext: - seccompProfile: - type: RuntimeDefault - capabilities: - drop: - - ALL - add: - - SETPCAP - - MKNOD - - AUDIT_WRITE - - CHOWN - - DAC_OVERRIDE - - FOWNER - - FSETID - - KILL - - SETGID - - SETUID - - NET_BIND_SERVICE - - SYS_CHROOT - - SETFCAP - - SYS_PTRACE +securityContext: {} envVars: diff --git a/template/deployments/helm/charts/values.yaml b/template/deployments/helm/charts/values.yaml index a99d0bc0..9887f895 100644 --- a/template/deployments/helm/charts/values.yaml +++ b/template/deployments/helm/charts/values.yaml @@ -78,27 +78,7 @@ affinity: matchLabels: app: {{ .Config.GetVariableValue "APPNAME" }} -securityContext: - seccompProfile: - type: RuntimeDefault - capabilities: - drop: - - ALL - add: - - SETPCAP - - MKNOD - - AUDIT_WRITE - - CHOWN - - DAC_OVERRIDE - - FOWNER - - FSETID - - KILL - - SETGID - - SETUID - - NET_BIND_SERVICE - - SYS_CHROOT - - SETFCAP - - SYS_PTRACE +securityContext: {} envVars: {{- range $key, $value := .Config.GetVariableValue "ENVVARS" }}