From b852481850d121469bfff8037b249c48af73911c Mon Sep 17 00:00:00 2001 From: JoeKer1 Date: Thu, 22 Jan 2026 04:14:02 -0500 Subject: [PATCH] feat: Add support for sidecar containers in Helm (#1494) --- charts/planka/Chart.yaml | 2 +- charts/planka/templates/deployment.yaml | 3 +++ charts/planka/values.yaml | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/charts/planka/Chart.yaml b/charts/planka/Chart.yaml index 684a927c..d03e22be 100644 --- a/charts/planka/Chart.yaml +++ b/charts/planka/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.1 +version: 1.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/planka/templates/deployment.yaml b/charts/planka/templates/deployment.yaml index e642e3ce..113a0723 100644 --- a/charts/planka/templates/deployment.yaml +++ b/charts/planka/templates/deployment.yaml @@ -190,6 +190,9 @@ spec: value: {{ .Values.oidc.admin.ignoreRoles | quote }} {{- end }} {{- end }} + {{- if .Values.extraContainers -}} + {{ toYaml .Values.extraContainers | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/planka/values.yaml b/charts/planka/values.yaml index b90aa339..bff0ee53 100644 --- a/charts/planka/values.yaml +++ b/charts/planka/values.yaml @@ -286,3 +286,23 @@ extraMounts: [] ## extraEnv: ## - name: NODE_EXTRA_CA_CERTS ## value: "/etc/ssl/certs/keycloak-ca.crt" + +extraContainers: [] +## Extra sidecar containers +## Add additional containers to the PLANKA pod +## +## Example extraContainers: +## extraContainers: +## - name: nginx-sidecar +## image: nginx:latest +## ports: +## - containerPort: 8085 +## name: nginx-http +## - name: log-collector +## image: busybox:latest +## command: ['sh', '-c', 'tail -f /var/log/app.log'] +## volumeMounts: +## - name: planka +## mountPath: /var/log +## subPath: app-logs +##