diff --git a/charts/k8sgpt/templates/deployment.yaml b/charts/k8sgpt/templates/deployment.yaml index 9052173ad9..4fa0470552 100644 --- a/charts/k8sgpt/templates/deployment.yaml +++ b/charts/k8sgpt/templates/deployment.yaml @@ -45,3 +45,13 @@ spec: name: ai-backend-secret key: secret-key {{- end }} + - name: XDG_CONFIG_HOME + value: /k8sgpt-config/ + - name: XDG_CACHE_HOME + value: /k8sgpt-config/ + volumeMounts: + - mountPath: /k8sgpt-config + name: config + volumes: + - emptyDir: {} + name: config