From d0c66fbeadb2667df46415277218af0e9a163d50 Mon Sep 17 00:00:00 2001 From: Automated pipeline Date: Fri, 28 Nov 2025 10:03:09 +0000 Subject: [PATCH] Automated upload for garm-provider-test.t09.de --- .../stacks/coder/coder.yaml | 32 ++++++++++ .../coder/coder/manifests/postgres.yaml | 38 ++++++++++++ .../stacks/coder/coder/values.yaml | 61 +++++++++++++++++++ .../stacks/core/cloudnative-pg.yaml | 29 +++++++++ .../stacks/terralist/terralist/values.yaml | 2 + 5 files changed, 162 insertions(+) create mode 100644 otc/garm-provider-test.t09.de/stacks/coder/coder.yaml create mode 100644 otc/garm-provider-test.t09.de/stacks/coder/coder/manifests/postgres.yaml create mode 100644 otc/garm-provider-test.t09.de/stacks/coder/coder/values.yaml create mode 100644 otc/garm-provider-test.t09.de/stacks/core/cloudnative-pg.yaml diff --git a/otc/garm-provider-test.t09.de/stacks/coder/coder.yaml b/otc/garm-provider-test.t09.de/stacks/coder/coder.yaml new file mode 100644 index 0000000..68873e5 --- /dev/null +++ b/otc/garm-provider-test.t09.de/stacks/coder/coder.yaml @@ -0,0 +1,32 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: coder + namespace: argocd + labels: + env: dev +spec: + project: default + syncPolicy: + automated: + selfHeal: true + syncOptions: + - CreateNamespace=true + retry: + limit: -1 + destination: + name: in-cluster + namespace: coder + sources: + - repoURL: https://helm.coder.com/v2 + chart: coder + targetRevision: 2.28.3 + helm: + valueFiles: + - $values/otc/garm-provider-test.t09.de/stacks/coder/coder/values.yaml + - repoURL: https://edp.buildth.ing/DevFW-CICD/stacks-instances + targetRevision: HEAD + ref: values + - repoURL: https://edp.buildth.ing/DevFW-CICD/stacks-instances + targetRevision: HEAD + path: "otc/garm-provider-test.t09.de/stacks/coder/coder/manifests" diff --git a/otc/garm-provider-test.t09.de/stacks/coder/coder/manifests/postgres.yaml b/otc/garm-provider-test.t09.de/stacks/coder/coder/manifests/postgres.yaml new file mode 100644 index 0000000..cae4b97 --- /dev/null +++ b/otc/garm-provider-test.t09.de/stacks/coder/coder/manifests/postgres.yaml @@ -0,0 +1,38 @@ +--- +apiVersion: postgresql.cnpg.io/v1 +kind: Cluster +metadata: + name: coder-db + namespace: coder +spec: + instances: 1 + primaryUpdateStrategy: unsupervised + resources: + requests: + memory: "1Gi" + cpu: "1" + limits: + memory: "1Gi" + cpu: "1" + managed: + roles: + - name: coder + createdb: true + login: true + passwordSecret: + name: coder-db-user + storage: + size: 10Gi + storageClass: csi-disk +--- +apiVersion: postgresql.cnpg.io/v1 +kind: Database +metadata: + name: coder + namespace: coder +spec: + cluster: + name: coder-db + name: coder + owner: coder +--- diff --git a/otc/garm-provider-test.t09.de/stacks/coder/coder/values.yaml b/otc/garm-provider-test.t09.de/stacks/coder/coder/values.yaml new file mode 100644 index 0000000..0291c10 --- /dev/null +++ b/otc/garm-provider-test.t09.de/stacks/coder/coder/values.yaml @@ -0,0 +1,61 @@ +coder: + # You can specify any environment variables you'd like to pass to Coder + # here. Coder consumes environment variables listed in + # `coder server --help`, and these environment variables are also passed + # to the workspace provisioner (so you can consume them in your Terraform + # templates for auth keys etc.). + # + # Please keep in mind that you should not set `CODER_HTTP_ADDRESS`, + # `CODER_TLS_ENABLE`, `CODER_TLS_CERT_FILE` or `CODER_TLS_KEY_FILE` as + # they are already set by the Helm chart and will cause conflicts. + env: + - name: CODER_ACCESS_URL + value: https://coder.garm-provider-test.t09.de + - name: CODER_PG_CONNECTION_URL + valueFrom: + secretKeyRef: + # You'll need to create a secret called coder-db-url with your + # Postgres connection URL like: + # postgres://coder:password@postgres:5432/coder?sslmode=disable + name: coder-db-user + key: url + # For production deployments, we recommend configuring your own GitHub + # OAuth2 provider and disabling the default one. + - name: CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE + value: "false" + - name: EDGE_CONNECT_ENDPOINT + valueFrom: + secretKeyRef: + name: edge-credential + key: endpoint + - name: EDGE_CONNECT_USERNAME + valueFrom: + secretKeyRef: + name: edge-credential + key: username + - name: EDGE_CONNECT_PASSWORD + valueFrom: + secretKeyRef: + name: edge-credential + key: password + + # (Optional) For production deployments the access URL should be set. + # If you're just trying Coder, access the dashboard via the service IP. + # - name: CODER_ACCESS_URL + # value: "https://coder.example.com" + + #tls: + # secretNames: + # - my-tls-secret-name + service: + type: ClusterIP + + ingress: + enable: true + className: nginx + host: coder.garm-provider-test.t09.de + annotations: + cert-manager.io/cluster-issuer: main + tls: + enable: true + secretName: coder-tls-secret diff --git a/otc/garm-provider-test.t09.de/stacks/core/cloudnative-pg.yaml b/otc/garm-provider-test.t09.de/stacks/core/cloudnative-pg.yaml new file mode 100644 index 0000000..84ebe3a --- /dev/null +++ b/otc/garm-provider-test.t09.de/stacks/core/cloudnative-pg.yaml @@ -0,0 +1,29 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cloudnative-pg + namespace: argocd + labels: + env: dev +spec: + project: default + syncPolicy: + automated: + selfHeal: true + syncOptions: + - CreateNamespace=true + retry: + limit: -1 + destination: + name: in-cluster + namespace: cloudnative-pg + sources: + - repoURL: https://cloudnative-pg.github.io/charts + chart: cloudnative-pg + targetRevision: 0.26.1 + helm: + valueFiles: + - $values/otc/garm-provider-test.t09.de/stacks/core/cloudnative-pg/values.yaml + - repoURL: https://edp.buildth.ing/DevFW-CICD/stacks-instances + targetRevision: HEAD + ref: values diff --git a/otc/garm-provider-test.t09.de/stacks/terralist/terralist/values.yaml b/otc/garm-provider-test.t09.de/stacks/terralist/terralist/values.yaml index 539b6dc..eb5eabc 100644 --- a/otc/garm-provider-test.t09.de/stacks/terralist/terralist/values.yaml +++ b/otc/garm-provider-test.t09.de/stacks/terralist/terralist/values.yaml @@ -26,6 +26,8 @@ controllers: secretKeyRef: name: terralist-secret key: cookie-secret + - name: TERRALIST_GH_ORGANIZATION + value: think-ahead-technologies - name: TERRALIST_URL value: https://terralist.garm-provider-test.t09.de - name: TERRALIST_SQLITE_PATH