From 92539ee05d2d15e951742aaaf07f2defff3f79c5 Mon Sep 17 00:00:00 2001 From: Johannes Kleinlercher Date: Tue, 6 Jun 2023 09:19:13 +0200 Subject: [PATCH] feat: support arbitrary uid for openshift environments (#454) Signed-off-by: Johannes Kleinlercher Co-authored-by: Alex Jones --- charts/k8sgpt/templates/deployment.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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