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.

fix: added `extraEnvFrom` field

Tymekf7d36e841d2c
diff --git a/charts/kaneo/README.md b/charts/kaneo/README.md
index 62d7807f9..36f3a8090 100644
--- a/charts/kaneo/README.md
+++ b/charts/kaneo/README.md
@@ -117,6 +117,7 @@ When CPU autoscaling is enabled, set `kaneo.resources.requests.cpu`; Kubernetes
| `kaneo.env.database.external.existingSecret.name` | Name of the secret containing the database connection URI | `""` |
| `kaneo.env.database.external.existingSecret.passwordKey` | Key in the secret whose value is a full PostgreSQL connection URI | `postgres_uri` |
| `kaneo.extraEnv` | Additional Kubernetes EnvVar entries appended to the Kaneo container | `[]` |
+| `kaneo.extraEnvFrom` | Additional Kubernetes EnvFromSource entries appended to the Kaneo container | `[]` |
| `kaneo.resources` | Resource requests and limits for the Kaneo container (optional, disabled by default) | `{}` |
| `podSecurityContext` | Security context applied at the Pod level | `{}` |
| `securityContext` | Security context applied at the container level | `{}` |
diff --git a/charts/kaneo/templates/deployment.yaml b/charts/kaneo/templates/deployment.yaml
index 384bde340..9997fc8c0 100644
--- a/charts/kaneo/templates/deployment.yaml
+++ b/charts/kaneo/templates/deployment.yaml
@@ -91,6 +91,10 @@ spec:
{{- with .Values.kaneo.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
+ {{- with .Values.kaneo.extraEnvFrom }}
+ envFrom:
+ {{- 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 8ec063ab5..73984b3f1 100644
--- a/charts/kaneo/values.yaml
+++ b/charts/kaneo/values.yaml
@@ -133,6 +133,10 @@ kaneo:
# secretKeyRef:
# name: oauth-secret
# key: client-id
+ extraEnvFrom: []
+ # extraEnvFrom:
+ # - secretRef:
+ # name: oauth-secret
livenessProbe:
httpGet:
path: /api/health