Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(chart): add kaneo.extraEnv for arbitrary env vars

Andrey Paliy1cfa2e92d446
diff --git a/charts/kaneo/Chart.yaml b/charts/kaneo/Chart.yaml
index 063598a00..d15b6fa06 100644
--- a/charts/kaneo/Chart.yaml
+++ b/charts/kaneo/Chart.yaml
@@ -2,8 +2,8 @@ apiVersion: v2
name: kaneo
description: Kaneo - All you need. Nothing you don't. Open source project management that works for you.
type: application
-# Bumped to 0.3.0 — breaking: api/web values collapsed into kaneo, single container
-version: 0.3.0
+# 0.4.0: add kaneo.extraEnv for arbitrary env vars on the kaneo container
+version: 0.4.0
appVersion: "2.6.0"
keywords:
- project-management
diff --git a/charts/kaneo/templates/deployment.yaml b/charts/kaneo/templates/deployment.yaml
index 6a5453cdd..e639aa7f6 100644
--- a/charts/kaneo/templates/deployment.yaml
+++ b/charts/kaneo/templates/deployment.yaml
@@ -73,6 +73,9 @@ spec:
value: {{ .Values.kaneo.env.disableRegistration | quote }}
- name: DISABLE_PASSWORD_REGISTRATION
value: {{ .Values.kaneo.env.disablePasswordRegistration | quote }}
+ {{- with .Values.kaneo.extraEnv }}
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
livenessProbe:
{{- toYaml .Values.kaneo.livenessProbe | nindent 12 }}
readinessProbe:
diff --git a/charts/kaneo/values.yaml b/charts/kaneo/values.yaml
index 742557f3d..ec82ede8a 100644
--- a/charts/kaneo/values.yaml
+++ b/charts/kaneo/values.yaml
@@ -117,6 +117,19 @@ kaneo:
enabled: false
name: ""
passwordKey: postgres_uri
+ # Additional environment variables for the kaneo container.
+ # Each entry is a standard Kubernetes EnvVar (supports `value` or `valueFrom`).
+ # Useful for CUSTOM_OAUTH_*, SMTP_*, etc. without editing the chart.
+ # extraEnv entries are appended after chart-defined vars; duplicate names override.
+ extraEnv: []
+ # extraEnv:
+ # - name: CUSTOM_OAUTH_DISCOVERY_URL
+ # value: "https://idp.example.com/.well-known/openid-configuration"
+ # - name: CUSTOM_OAUTH_CLIENT_ID
+ # valueFrom:
+ # secretKeyRef:
+ # name: oauth-secret
+ # key: client-id
livenessProbe:
httpGet:
path: /api/health