From 082c5389fbbbdfb73518f47c981555e334e10c0b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 27 Mar 2023 23:06:30 +0000 Subject: [PATCH] Add deployment for PR #482 --- staging/pr-482.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 staging/pr-482.yaml diff --git a/staging/pr-482.yaml b/staging/pr-482.yaml new file mode 100644 index 000000000..7d7103c32 --- /dev/null +++ b/staging/pr-482.yaml @@ -0,0 +1,41 @@ + +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: pr-482 + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://github.com/TUM-Dev/navigatum.git + targetRevision: dependabot/cargo/server/main-api/image-0.24.6 + path: deployment/k3s + helm: + version: v3 + values: | + namespace: pr-482 + tag: pr-482 + url: pr-482.nav.tum.sexy + server: + MEILI_MASTER_KEY: ZTMwYzgyMDgzZjljMjFmZmJhNWU4OWQxMzBmNDVmMGNhNzQ5OTFlOGIzMTI5MmZjYmQK + # GITHUB_TOKEN is intentionally omitted, as this file is templated and then added to git in the deployments branch + # JWT_KEY is omitted, because adding it would only make sense in conjunction with GITHUB_TOKEN + # MEILI_MASTER_KEY being added is not a security risk, since it is a hidden service and even if exposed is heavily restricted by other network policies + destination: + server: https://kubernetes.default.svc + namespace: pr-482 + syncPolicy: + automated: + selfHeal: true + prune: true + syncOptions: + - PrunePropagationPolicy=foreground + - CreateNamespace=true + retry: + limit: 2 + backoff: + duration: 5s + factor: 2 + maxDuration: 3m0s