From 8fb0cecfdc5b9f4cbff464312fec3f1884743787 Mon Sep 17 00:00:00 2001 From: Ilya Egorov Date: Mon, 18 Nov 2024 18:44:42 +0300 Subject: [PATCH] ci: update mixpanel secrets (#153) Co-authored-by: Ilya Egorov --- .github/workflows/deploy.yml | 6 +++--- helm/app/templates/deployment.yaml | 6 +++--- helm/app/values.yaml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e7ff6e0..dd29f0d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -84,9 +84,9 @@ jobs: --set host=${{ env.APP_DOMAIN }} \ --set appName=${{ vars.APP_NAME }} \ --set ghcrSecret=${{ secrets.GHCR_SECRET }} \ - --set secrets.publicProxyKey=${{ secrets.NEXT_PUBLIC_MIXPANEL_TOKEN }} \ - --set secrets.publicMixPanelToken=${{ secrets.NEXT_PUBLIC_ANALYTICS_ENABLED }} \ - --set secrets.publicProxyKey=${{ secrets.NEXT_PUBLIC_ANALYTICS_ENABLED }} + --set secrets.nextPublicProxyKey=${{ secrets.NEXT_PUBLIC_PROXY_KEY }} \ + --set secrets.nextPublicMixpanelToken=${{ secrets.NEXT_PUBLIC_MIXPANEL_TOKEN }} \ + --set secrets.nextPublicAnalyticsEnabled=${{ secrets.NEXT_PUBLIC_ANALYTICS_ENABLED }} - name: Verify deployment run: | diff --git a/helm/app/templates/deployment.yaml b/helm/app/templates/deployment.yaml index e77c4d5..401295f 100644 --- a/helm/app/templates/deployment.yaml +++ b/helm/app/templates/deployment.yaml @@ -37,11 +37,11 @@ spec: - name: APP_VERSION value: {{ .Values.appVersion | quote }} - name: NEXT_PUBLIC_PROXY_KEY - value: {{ .Values.secrets.publicProxyKey | quote }} + value: {{ .Values.secrets.nextPublicProxyKey | quote }} - name: NEXT_PUBLIC_MIXPANEL_TOKEN - value: {{ .Values.secrets.publicMixPanelToken | quote }} + value: {{ .Values.secrets.nextPublicMixpanelToken | quote }} - name: NEXT_PUBLIC_ANALYTICS_ENABLED - value: {{ .Values.secrets.publicProxyKey | quote }} + value: {{ .Values.secrets.nextPublicAnalyticsEnabled | quote }} ports: - containerPort: {{ .Values.containerPort }} resources: diff --git a/helm/app/values.yaml b/helm/app/values.yaml index e8a1376..1ff7425 100644 --- a/helm/app/values.yaml +++ b/helm/app/values.yaml @@ -37,6 +37,6 @@ sslRedirect: false secrets: - publicProxyKey: "" - publicMixPanelToken: "" - secrets.publicProxyKey: "" + nextPublicProxyKey: "redacted_proxy_key" + nextPublicMixpanelToken: "redacted_mixpanel_token" + nextPublicAnalyticsEnabled: "true"