From fb3fd59f96c1ccdbdeff69848d33c611140484a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20Echterh=C3=B6lter?= Date: Fri, 25 Oct 2024 09:55:45 +0200 Subject: [PATCH] fix: fixed env variable name --- charts/account-operator/templates/deployment.yaml | 2 +- .../tests/__snapshot__/deployment_test.yaml.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/account-operator/templates/deployment.yaml b/charts/account-operator/templates/deployment.yaml index 667d2ab13..1e9724f1e 100644 --- a/charts/account-operator/templates/deployment.yaml +++ b/charts/account-operator/templates/deployment.yaml @@ -56,7 +56,7 @@ spec: env: - name: KCP_ENABLED value: "{{ .Values.kcp.enabled }}" - - name: VIRTUAL_WORKSPACE_URL + - name: KCP_VIRTUAL_WORKSPACE_URL value: "{{ .Values.kcp.virtualWorkspaceUrl }}" {{- if .Values.kubeconfigSecret }} - name: KUBECONFIG diff --git a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap index ab8e76b55..93cb7c8b3 100644 --- a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap +++ b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap @@ -96,7 +96,7 @@ operator match the snapshot: env: - name: KCP_ENABLED value: "false" - - name: VIRTUAL_WORKSPACE_URL + - name: KCP_VIRTUAL_WORKSPACE_URL value: "" image: ghcr.io/openmfp/account-operator:0.0.0 livenessProbe: @@ -237,7 +237,7 @@ operator match the snapshot (with kubeconfigSecret): env: - name: KCP_ENABLED value: "false" - - name: VIRTUAL_WORKSPACE_URL + - name: KCP_VIRTUAL_WORKSPACE_URL value: "" - name: KUBECONFIG value: /api-kubeconfig/kubeconfig