diff --git a/charts/sourcebot/Chart.yaml b/charts/sourcebot/Chart.yaml index 8b53ef5..73eeaa5 100644 --- a/charts/sourcebot/Chart.yaml +++ b/charts/sourcebot/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 type: application name: sourcebot version: 0.1.3 -appVersion: v4.8.1 +appVersion: v4.8.2 description: Sourcebot is a self-hosted tool that helps you understand your codebase. icon: https://raw.githubusercontent.com/sourcebot-dev/sourcebot/ebf6721836b8f878d42bb8c1e844bdc7867a74fe/packages/web/public/logo_512.png keywords: diff --git a/charts/sourcebot/README.md b/charts/sourcebot/README.md index 13ecaa6..7301ca3 100644 --- a/charts/sourcebot/README.md +++ b/charts/sourcebot/README.md @@ -1,6 +1,6 @@ # sourcebot -![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.8.1](https://img.shields.io/badge/AppVersion-v4.8.1-informational?style=flat-square) +![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.8.2](https://img.shields.io/badge/AppVersion-v4.8.2-informational?style=flat-square) Sourcebot is a self-hosted tool that helps you understand your codebase. @@ -55,6 +55,7 @@ Sourcebot is a self-hosted tool that helps you understand your codebase. | sourcebot.command | list | `[]` | Override the default command of the container | | sourcebot.config | object | `{"$schema":"https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json","connections":{},"settings":{}}` | Configure Sourcebot-specific application settings | | sourcebot.containerSecurityContext | object | `{}` | Set the container-level security context | +| sourcebot.envFrom | list | `[]` | Load environment variables from ConfigMaps and Secrets This is useful for injecting multiple environment variables from external secret management systems | | sourcebot.extraVolumeMounts | list | `[]` | Define volume mounts for the container See: https://kubernetes.io/docs/concepts/storage/volumes/ | | sourcebot.extraVolumes | list | `[]` | Define additional volumes See: https://kubernetes.io/docs/concepts/storage/volumes/ | | sourcebot.image.digest | string | `""` | Container image digest (used instead of tag if set) | diff --git a/charts/sourcebot/templates/deployment.yaml b/charts/sourcebot/templates/deployment.yaml index 0c4ad6b..db15d82 100644 --- a/charts/sourcebot/templates/deployment.yaml +++ b/charts/sourcebot/templates/deployment.yaml @@ -47,6 +47,10 @@ spec: {{- with $.Values.sourcebot.args }} args: {{ toYaml . | nindent 12 }} {{- end }} + {{- with $.Values.sourcebot.envFrom }} + envFrom: + {{- toYaml . | nindent 12 }} + {{- end }} env: {{- if and $.Values.sourcebot.ingress.enabled (gt (len $.Values.sourcebot.ingress.hosts) 0) }} - name: AUTH_URL diff --git a/charts/sourcebot/values.schema.json b/charts/sourcebot/values.schema.json index 8bb557c..c6f4c3f 100644 --- a/charts/sourcebot/values.schema.json +++ b/charts/sourcebot/values.schema.json @@ -83,6 +83,9 @@ "additionalEnv": { "type": "array" }, + "envFrom": { + "type": "array" + }, "config": { "type": "object" }, diff --git a/charts/sourcebot/values.yaml b/charts/sourcebot/values.yaml index ffaab8d..ae80e11 100644 --- a/charts/sourcebot/values.yaml +++ b/charts/sourcebot/values.yaml @@ -55,6 +55,14 @@ sourcebot: # - name: SOURCEBOT_TELEMETRY_DISABLED # value: "1" + # -- Load environment variables from ConfigMaps and Secrets + # This is useful for injecting multiple environment variables from external secret management systems + envFrom: [] + # - secretRef: + # name: sourcebot-secrets + # - configMapRef: + # name: sourcebot-config + # -- Configure Sourcebot-specific application settings config: # Schema version of the Sourcebot configuration