From ad82ba56a58217989d12ca52b12a3474a3a5dc59 Mon Sep 17 00:00:00 2001 From: Jonathan West Date: Mon, 21 Aug 2023 07:57:35 -0400 Subject: [PATCH] Enable AppProject isolation --- backend/config/manager/manager.yaml | 2 ++ cluster-agent/config/manager/manager.yaml | 2 ++ tests-e2e/Makefile | 3 +-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/backend/config/manager/manager.yaml b/backend/config/manager/manager.yaml index dec3e4e229..1ebfe2a593 100644 --- a/backend/config/manager/manager.yaml +++ b/backend/config/manager/manager.yaml @@ -45,6 +45,8 @@ spec: secretKeyRef: key: postgresql-password name: gitops-postgresql-staging + - name: ENABLE_APPPROJECT_ISOLATION + value: "true" image: ${COMMON_IMAGE} securityContext: allowPrivilegeEscalation: false diff --git a/cluster-agent/config/manager/manager.yaml b/cluster-agent/config/manager/manager.yaml index 0dd4946eb9..845e094b8d 100644 --- a/cluster-agent/config/manager/manager.yaml +++ b/cluster-agent/config/manager/manager.yaml @@ -45,6 +45,8 @@ spec: secretKeyRef: key: postgresql-password name: gitops-postgresql-staging + - name: ENABLE_APPPROJECT_ISOLATION + value: "true" image: ${COMMON_IMAGE} livenessProbe: httpGet: diff --git a/tests-e2e/Makefile b/tests-e2e/Makefile index 286664f28b..41c9912cdd 100644 --- a/tests-e2e/Makefile +++ b/tests-e2e/Makefile @@ -33,8 +33,7 @@ help: ## Display this help. .PHONY: test test: ## Run E2E tests. - go test -v -p=1 -timeout=100m -race -count=1 -coverprofile=coverage.out ./... - + ENABLE_APPPROJECT_ISOLATION="true" go test -v -p=1 -timeout=100m -race -count=1 -coverprofile=coverage.out ./... # go-get-tool will 'go install' any package $2 and install it to $1. PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))