From 9e41bdb94ac7f9349d47f8bff879d908f0868b93 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Oct 2024 13:48:36 +0200 Subject: [PATCH] Add the TERRAT_WEB_BASE_URL env var --- charts/terrateam/Chart.yaml | 10 +++++----- charts/terrateam/README.md | 1 + charts/terrateam/templates/server-deployment.yaml | 2 ++ charts/terrateam/values.yaml | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/charts/terrateam/Chart.yaml b/charts/terrateam/Chart.yaml index cb3fff2..6eb8161 100644 --- a/charts/terrateam/Chart.yaml +++ b/charts/terrateam/Chart.yaml @@ -1,10 +1,10 @@ apiVersion: v2 name: terrateam -icon: https://terrateam.io/images/circle-logo.png -description: Terrateam https://terrateam.io +icon: "data:image/svg+xml;base64,Cjxzdmcgdmlld0JveD0iNTAuNDU4OTggNTMuMDI2NjY2NjY2NjY2NjY0IDI2Ny44MjA3NCAyNzIuODkzMzMzMzMzMzMzNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSIgaWQ9IkxheWVyXzEiIHN0eWxlPSJtYXgtaGVpZ2h0OiA1MDBweCIgd2lkdGg9IjI2Ny44MjA3NCIgaGVpZ2h0PSIyNzIuODkzMzMzMzMzMzMzNCI+CiAgPGc+CiAgICA8cGF0aCBzdHJva2Utd2lkdGg9IjAiIGZpbGw9IiMwMDAiIGQ9Ik00NjYuNDMsMTMxLjMzdjI0Ljk2aC0zNS43NHYxMDcuNDFoLTI2LjA5di0xMDcuNDFoLTM1LjU1di0yNC45Nmg5Ny4zOCwwWiIvPgogICAgPHBhdGggc3Ryb2tlLXdpZHRoPSIwIiBmaWxsPSIjMDAwIiBkPSJNNDc5LjQ4LDIyNi40NWMzLjI4LDExLjg1LDEyLjE2LDE3Ljc3LDI2LjY2LDE3Ljc3LDkuMzMsMCwxNi4zOS0zLjE1LDIxLjE4LTkuNDVsMTkuNjcsMTEuMzRjLTkuMzMsMTMuNDktMjMuMDcsMjAuMjMtNDEuMjIsMjAuMjMtMTUuNjMsMC0yOC4xOC00LjczLTM3LjYzLTE0LjE4LTkuNDUtOS40Ni0xNC4xOC0yMS4zNy0xNC4xOC0zNS43NHM0LjY2LTI2LjEyLDEzLjk5LTM1LjY0LDIxLjMtMTQuMjgsMzUuOTMtMTQuMjhjMTMuODcsMCwyNS4zMSw0Ljc5LDM0LjMyLDE0LjM3LDkuMDEsOS41OCwxMy41MiwyMS40MywxMy41MiwzNS41NSwwLDMuMTUtLjMyLDYuNDktLjk1LDEwLjAyaC03MS4yOSwwWk00NzkuMSwyMDcuNTRoNDguMjJjLTEuMzktNi40My00LjI1LTExLjIyLTguNi0xNC4zN3MtOS4zLTQuNzMtMTQuODQtNC43M2MtNi41NiwwLTExLjk4LDEuNjctMTYuMjYsNS4wMS00LjI5LDMuMzQtNy4xMiw4LjA0LTguNTEsMS4uLgogICAgPHBhdGggc3Ryb2tlLXdpZHRoPSIwIiBmaWxsPSIjMDAwIiBkPSJNNTg5LjM0LDE4NS40MmMyLjI3LTYuMDUsNi4wMi0xMC41OSwxMS4yNS0xMy42MSw1LjIzLTMuMDMsMTEuMDYtNC41NCwxNy40OS00LjU0djI3LjIzYy03LjQ0LS44OC0xNC4wOS42My0xOS45NSw0LjU0LTUuODYsMy45MS04Ljc5LDEwLjQtOC43OSwxOS40OHY0NS4xOWgtMjQuMzl2LTk0LjU1aDI0LjM5djE2LjI2aDBaIi8+CiAgPC9nPgo8L3N2Zz4K" +description: "Terrateam - Automate your Terraform and OpenTofu workflows with GitOps. Learn more at https://terrateam.io" type: application -version: 0.1.2 +version: 0.1.3 appVersion: "1.0.0" maintainers: -- email: hello@terrateam.io - name: terrateam + - email: hello@terrateam.io + name: Terrateam diff --git a/charts/terrateam/README.md b/charts/terrateam/README.md index 4294788..a37d894 100644 --- a/charts/terrateam/README.md +++ b/charts/terrateam/README.md @@ -51,3 +51,4 @@ See the [Terrateam docs](https://terrateam.io/docs/self-hosted/kubernetes) for d | server.resources.requests.memory | string | `"512Mi"` | | | server.self_hosted_infracost_api_key | string | `""` | | | server.telemetry_level | string | `"anonymous"` | | +| server.web_base_url | string | `"https://github.com"` | | diff --git a/charts/terrateam/templates/server-deployment.yaml b/charts/terrateam/templates/server-deployment.yaml index 3ba1837..4672c75 100644 --- a/charts/terrateam/templates/server-deployment.yaml +++ b/charts/terrateam/templates/server-deployment.yaml @@ -49,6 +49,8 @@ spec: value: "{{ .Values.server.infracost_pricing_api_endpoint }}" - name: "TERRAT_TELEMETRY_LEVEL" value: "{{ .Values.server.telemetry_level }}" + - name: "TERRAT_WEB_BASE_URL" + value: "{{ .Values.server.web_base_url }}" - name: "DB_HOST" value: "{{ .Values.server.db_host }}" - name: "DB_PORT" diff --git a/charts/terrateam/values.yaml b/charts/terrateam/values.yaml index d0fae47..66aef1c 100644 --- a/charts/terrateam/values.yaml +++ b/charts/terrateam/values.yaml @@ -10,6 +10,7 @@ server: self_hosted_infracost_api_key: "" infracost_pricing_api_endpoint: "" telemetry_level: "anonymous" + terrat_web_base_url: "https://github.com" image: repository: ghcr.io/terrateamio/terrateam tag: "v1"