From 4d98b219d67050879221ab9654bd8c52b02974bc Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 7 Sep 2023 12:20:07 -0400 Subject: [PATCH] fix(woodpecker): specify namespace for worker pods, fix agent's server environmental var --- cluster/apps/dev/woodpecker/helm-release.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cluster/apps/dev/woodpecker/helm-release.yaml b/cluster/apps/dev/woodpecker/helm-release.yaml index 0a0df9f..c9011a6 100644 --- a/cluster/apps/dev/woodpecker/helm-release.yaml +++ b/cluster/apps/dev/woodpecker/helm-release.yaml @@ -22,11 +22,16 @@ spec: extraSecretNamesForEnvFrom: - woodpecker-secret + env: + WOODPECKER_SERVER: "woodpecker-server.dev.svc.cluster.local:9000" + WOODPECKER_BACKEND_K8S_NAMESPACE: dev + server: enabled: true env: WOODPECKER_HOST: https://ci.${SECRET_NEW_DOMAIN} + WOODPECKER_BACKEND_K8S_NAMESPACE: dev extraSecretNamesForEnvFrom: - woodpecker-secret