From 5f5a4ffe5539b4fb345e716c479757b7c021ed92 Mon Sep 17 00:00:00 2001 From: Lukasz Kosiak <103423117+lukozill@users.noreply.github.com> Date: Mon, 27 May 2024 08:14:16 +0200 Subject: [PATCH] APT-1040: Unnecessary bridge z config removed #697 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ɓukasz Kosiak --- bridge-web/infra/cd/base/app-secrets.yaml | 13 ------------- bridge-web/infra/cd/base/kustomization.yaml | 1 - .../infra/cd/overlays/production/app-secrets.yaml | 13 ------------- .../infra/cd/overlays/production/kustomization.yaml | 1 - .../infra/cd/overlays/staging/app-secrets.yaml | 13 ------------- .../infra/cd/overlays/staging/kustomization.yaml | 1 - 6 files changed, 42 deletions(-) delete mode 100644 bridge-web/infra/cd/base/app-secrets.yaml delete mode 100644 bridge-web/infra/cd/overlays/production/app-secrets.yaml delete mode 100644 bridge-web/infra/cd/overlays/staging/app-secrets.yaml diff --git a/bridge-web/infra/cd/base/app-secrets.yaml b/bridge-web/infra/cd/base/app-secrets.yaml deleted file mode 100644 index e6feebb..0000000 --- a/bridge-web/infra/cd/base/app-secrets.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: xbridge-frontend-secret - labels: - app.kubernetes.io/name: xbridge-frontend - annotations: -type: Opaque -data: - VITE_BSC_TESTNET_API: "" - VITE_BSC_TESTNET_KEY: "" - VITE_BSC_MAINNET_API: "" - VITE_BSC_MAINNET_KEY: "" diff --git a/bridge-web/infra/cd/base/kustomization.yaml b/bridge-web/infra/cd/base/kustomization.yaml index 35617bb..dcc83c0 100644 --- a/bridge-web/infra/cd/base/kustomization.yaml +++ b/bridge-web/infra/cd/base/kustomization.yaml @@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - namespace.yaml - - app-secrets.yaml - deployment.yaml - svc.yaml - ingress.yaml diff --git a/bridge-web/infra/cd/overlays/production/app-secrets.yaml b/bridge-web/infra/cd/overlays/production/app-secrets.yaml deleted file mode 100644 index 53311ec..0000000 --- a/bridge-web/infra/cd/overlays/production/app-secrets.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: xbridge-frontend-secret - labels: - app.kubernetes.io/name: xbridge-frontend - annotations: -type: Opaque -data: - VITE_BSC_TESTNET_API: "" - VITE_BSC_TESTNET_KEY: "" - VITE_BSC_MAINNET_API: op://prj-p-blockchain-infra/xbridge_bsc_testnet_api/hostname - VITE_BSC_MAINNET_KEY: op://prj-p-blockchain-infra/xbridge_bsc_testnet_api/credential diff --git a/bridge-web/infra/cd/overlays/production/kustomization.yaml b/bridge-web/infra/cd/overlays/production/kustomization.yaml index 9cc1e69..f631a20 100644 --- a/bridge-web/infra/cd/overlays/production/kustomization.yaml +++ b/bridge-web/infra/cd/overlays/production/kustomization.yaml @@ -41,4 +41,3 @@ patches: target: kind: Deployment name: xbridge-frontend - - path: app-secrets.yaml diff --git a/bridge-web/infra/cd/overlays/staging/app-secrets.yaml b/bridge-web/infra/cd/overlays/staging/app-secrets.yaml deleted file mode 100644 index c26ef9d..0000000 --- a/bridge-web/infra/cd/overlays/staging/app-secrets.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: xbridge-frontend-secret - labels: - app.kubernetes.io/name: xbridge-frontend - annotations: -type: Opaque -data: - VITE_BSC_TESTNET_API: op://prj-d-staging/xbridge_bsc_testnet_api/hostname - VITE_BSC_TESTNET_KEY: op://prj-d-staging/xbridge_bsc_testnet_api/credential - VITE_BSC_MAINNET_API: "" - VITE_BSC_MAINNET_KEY: "" diff --git a/bridge-web/infra/cd/overlays/staging/kustomization.yaml b/bridge-web/infra/cd/overlays/staging/kustomization.yaml index 0f0ecec..9d251cf 100644 --- a/bridge-web/infra/cd/overlays/staging/kustomization.yaml +++ b/bridge-web/infra/cd/overlays/staging/kustomization.yaml @@ -32,4 +32,3 @@ patches: path: /metadata/annotations value: beta.cloud.google.com/backend-config: '{"default": "xbridge-frontend"}' - - path: app-secrets.yaml