Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/sourcebot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion charts/sourcebot/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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) |
Expand Down
4 changes: 4 additions & 0 deletions charts/sourcebot/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions charts/sourcebot/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
"additionalEnv": {
"type": "array"
},
"envFrom": {
"type": "array"
},
"config": {
"type": "object"
},
Expand Down
8 changes: 8 additions & 0 deletions charts/sourcebot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down