diff --git a/charts/openclaw-helm/templates/deployment.yaml b/charts/openclaw-helm/templates/deployment.yaml index 25442b7..327a930 100644 --- a/charts/openclaw-helm/templates/deployment.yaml +++ b/charts/openclaw-helm/templates/deployment.yaml @@ -98,7 +98,11 @@ spec: mountPath: /home/node/.openclaw - name: tmp mountPath: /tmp - + + {{- with .Values.extraInitContainers }} + {{- toYaml . | nindent 6 }} + {{- end }} + containers: - name: main image: "{{ include "openclaw-helm.image" . }}" diff --git a/charts/openclaw-helm/values.yaml b/charts/openclaw-helm/values.yaml index d95aee8..c8b4362 100644 --- a/charts/openclaw-helm/values.yaml +++ b/charts/openclaw-helm/values.yaml @@ -120,6 +120,9 @@ podSecurityContext: {} # podSecurityContext: # fsGroup: 1000 +# extraInitContainers adds init containers after the built-in ones (init-config, init-skills) +extraInitContainers: [] + # extraContainers adds sidecar containers to the pod extraContainers: []