From 1c3be482390fceabc017c30074e5cad51e817e62 Mon Sep 17 00:00:00 2001 From: cristidas Date: Fri, 11 Oct 2024 17:01:04 +0200 Subject: [PATCH 1/2] adding new env vars --- deploy/prod/cla-assistant.yaml | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/deploy/prod/cla-assistant.yaml b/deploy/prod/cla-assistant.yaml index f09cffb7..316c49ee 100644 --- a/deploy/prod/cla-assistant.yaml +++ b/deploy/prod/cla-assistant.yaml @@ -1,7 +1,7 @@ replicaCount: 1 service: enabled: true - name: cla-assistent + name: cla-assistant port: 8080 type: ClusterIP containerPort: 8080 @@ -9,7 +9,7 @@ service: enabled: true issuerName: cloudflare image: - repository: ${ECR_REGISTRY}/cla-assistent + repository: ${ECR_REGISTRY}/cla-assistant pullPolicy: Always tag: prod serviceAccount: @@ -47,23 +47,42 @@ env: GITHUB_CLIENT: type: parameterStore name: github-client - parameter_name: /eks/maker-prod/cla-assistent/github-client + parameter_name: /eks/maker-prod/cla-assistant/github-client GITHUB_SECRET: type: parameterStore name: github-secret - parameter_name: /eks/maker-prod/cla-assistent/github-secret + parameter_name: /eks/maker-prod/cla-assistant/github-secret GITHUB_TOKEN: type: parameterStore name: github-token - parameter_name: /eks/maker-prod/cla-assistent/github-token + parameter_name: /eks/maker-prod/cla-assistant/github-token + GITHUB_APP_NAME: + type: kv + value: "CLA Assistant MakerDAO" + GITHUB_APP_ID: + type: parameterStore + name: github-app-id + parameter_name: /eks/maker-prod/cla-assistant/github-app-id + GITHUB_APP_CLIENT: + type: parameterStore + name: github-app-client + parameter_name: /eks/maker-prod/cla-assistant/github-app-client + GITHUB_APP_SECRET: + type: parameterStore + name: github-app-secret + parameter_name: /eks/maker-prod/cla-assistant/github-app-secret + GITHUB_APP_PRIVATE_KEY: + type: parameterStore + name: github-app-private-key + parameter_name: /eks/maker-prod/cla-assistant/github-app-private-key MONGODB: type: parameterStore name: mongodb - parameter_name: /eks/maker-prod/cla-assistent/mongodb + parameter_name: /eks/maker-prod/cla-assistant/mongodb GITHUB_ADMIN_USERS: type: parameterStore name: github-admin-users - parameter_name: /eks/maker-prod/cla-assistent/github-admin-users + parameter_name: /eks/maker-prod/cla-assistant/github-admin-users externalSecrets: clusterSecretStoreName: maker-prod readinessProbe: From 5655d7e3d7b94850ff638b0006a9b44565325321 Mon Sep 17 00:00:00 2001 From: cristidas Date: Fri, 11 Oct 2024 18:00:20 +0200 Subject: [PATCH 2/2] updating to latest helm chart requirements --- deploy/prod/cla-assistant.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/prod/cla-assistant.yaml b/deploy/prod/cla-assistant.yaml index 316c49ee..35834503 100644 --- a/deploy/prod/cla-assistant.yaml +++ b/deploy/prod/cla-assistant.yaml @@ -14,9 +14,11 @@ image: tag: prod serviceAccount: create: false +ingressClassName: traefik ingress: enabled: true - host: cla.daifoundation.org + hosts: + - cla.daifoundation.org annotations: external-dns.alpha.kubernetes.io/cloudflare-proxied: "true" podAnnotations: