From f3c15a7b34b71b1b1992952fe3d735733ebdcf44 Mon Sep 17 00:00:00 2001 From: gisele-igore Date: Mon, 3 Apr 2023 18:10:43 +0200 Subject: [PATCH] Vault Envs --- .circleci/workflows.yml.tmp | 62 ------------------------------------- devops/charts/values.yaml | 10 ------ 2 files changed, 72 deletions(-) delete mode 100644 .circleci/workflows.yml.tmp diff --git a/.circleci/workflows.yml.tmp b/.circleci/workflows.yml.tmp deleted file mode 100644 index 5eb04fc8..00000000 --- a/.circleci/workflows.yml.tmp +++ /dev/null @@ -1,62 +0,0 @@ -version: 2.1 -orbs: - helm: circleci/helm@2.0.1 - -parameters: - -######################################################## -################## DO NOT EDIT ######################### -######################################################## - charts: - type: boolean - description: This is the directory of the charts - default: false - -######################################################## - -################################################################### -################ COMMANDS ####################### -################################################################### - -jobs: - - package-helm-chart: - docker: - - image: cimg/base:stable - steps: - - checkout - - helm/install-helm-client - - run: - name: Helm dependency build - command: helm dependency build helm-charts - - run: - name: Helm lint - command: helm lint helm-charts - - run: - name: Install Chart Releaser - command: | - cd /tmp - curl -sSL https://github.com/helm/chart-releaser/releases/download/v1.2.1/chart-releaser_1.2.1_linux_amd64.tar.gz | tar xzf - - mv cr ~/bin/cr - - add_ssh_keys: - fingerprints: - - "e6:6b:41:5b:4f:27:66:8e:06:be:f3:70:5a:73:db:3b" - - run: - name: Install Chart Releaser - command: | - git config user.email "devops@smart-chain.fr" - git config user.name "CircleCI Job" - helm package helm-charts --destination .deploy - cr upload -o smart-chain-fr -r tezoslink -p .deploy - git checkout gh-pages - cr index -i ./index.yaml -p .deploy -o smart-chain-fr -r tezoslink -c https://smart-chain-fr.github.io/tezosLink/ - git add index.yaml - git commit -m "Automatic commit from CircleCI [skip ci]" - git push origin gh-pages - -workflows: - version: 2 - deploy-helm-chart: - when: <> - jobs: - - package-helm-chart diff --git a/devops/charts/values.yaml b/devops/charts/values.yaml index 5dcbb6a3..4581e48f 100644 --- a/devops/charts/values.yaml +++ b/devops/charts/values.yaml @@ -43,16 +43,6 @@ lecoffreBack: cert-manager.io/cluster-issuer: letsencrypt-prod nginx.ingress.kubernetes.io/from-to-www-redirect: "true" nginx.ingress.kubernetes.io/force-ssl-redirect: "true" - env: - DATABASE_HOSTNAME: "localhost" - DATABASE_PORT: "59445" - DATABASE_USER: "postgres" - DATABASE_PASSWORD: "0000" - DATABASE_NAME: "postgres" - POSTGRES_PASSWORD: "0000" - APP_LABEL: "lecoffre" - APP_PORT: 3001 - API_ROOT_URL: /api livenessProbe: enabled: true path: /health