From 5d3c0752af13c4dc8ad08f4eb1183478a276ba9a Mon Sep 17 00:00:00 2001
From: Joao Afonso <joao.afonso@cern.ch>
Date: Wed, 18 Sep 2024 16:00:32 +0200
Subject: [PATCH] Fixing helm chart missing logs from artifacts

---
 .../orchestration/helm/cta/charts/client/templates/pod.yaml     | 2 +-
 .../orchestration/helm/cta/charts/ctacli/templates/pod.yaml     | 2 +-
 .../orchestration/helm/cta/charts/ctaeos/templates/pod.yaml     | 2 +-
 .../helm/cta/charts/ctafrontend/templates/pod.yaml              | 2 +-
 .../orchestration/helm/init/charts/kdc/templates/pod.yaml       | 2 +-
 .../orchestration/helm/init/templates/pod.yaml                  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/continuousintegration/orchestration/helm/cta/charts/client/templates/pod.yaml b/continuousintegration/orchestration/helm/cta/charts/client/templates/pod.yaml
index 165e7c7711..73bb2e04d8 100644
--- a/continuousintegration/orchestration/helm/cta/charts/client/templates/pod.yaml
+++ b/continuousintegration/orchestration/helm/cta/charts/client/templates/pod.yaml
@@ -32,7 +32,7 @@ spec:
     {{include "client.readinessProbe" .Values.readinessProbe | nindent 4}}
     {{- end}}
     securityContext:
-      privileged: {{.Values.isPriviliged}}
+      privileged: {{ .Values.isPriviliged }}
     {{- include "client.volumeMounts" . | nindent 4 }}
   # Here are volumes added
   {{- include "client.volumes" . | nindent 2}}
diff --git a/continuousintegration/orchestration/helm/cta/charts/ctacli/templates/pod.yaml b/continuousintegration/orchestration/helm/cta/charts/ctacli/templates/pod.yaml
index bb9e25df68..c984771b20 100644
--- a/continuousintegration/orchestration/helm/cta/charts/ctacli/templates/pod.yaml
+++ b/continuousintegration/orchestration/helm/cta/charts/ctacli/templates/pod.yaml
@@ -32,7 +32,7 @@ spec:
     {{include "ctacli.readinessProbe" .Values.readinessProbe | nindent 4}}
     {{- end}}
     securityContext:
-      privileged: {{.isPriviliged}}
+      privileged: {{ .Values.isPriviliged }}
     {{ include "ctacli.volumeMounts" . | nindent 4 }}
   # Here are volumes added
   {{include "ctacli.volumes" . | nindent 2}}
diff --git a/continuousintegration/orchestration/helm/cta/charts/ctaeos/templates/pod.yaml b/continuousintegration/orchestration/helm/cta/charts/ctaeos/templates/pod.yaml
index 0bdb4bf486..78bd52538d 100644
--- a/continuousintegration/orchestration/helm/cta/charts/ctaeos/templates/pod.yaml
+++ b/continuousintegration/orchestration/helm/cta/charts/ctaeos/templates/pod.yaml
@@ -36,7 +36,7 @@ spec:
     {{include "ctaeos.readinessProbe" .Values.readinessProbe | nindent 4}}
     {{- end}}
     securityContext:
-      privileged: {{.isPriviliged}}
+      privileged: {{ .Values.isPriviliged }}
     {{ include "ctaeos.volumeMounts" . | nindent 4 }}
   # Here are volumes added
   {{include "ctaeos.volumes" . | nindent 2}}
diff --git a/continuousintegration/orchestration/helm/cta/charts/ctafrontend/templates/pod.yaml b/continuousintegration/orchestration/helm/cta/charts/ctafrontend/templates/pod.yaml
index 7f76dfe9c1..9916f77eda 100644
--- a/continuousintegration/orchestration/helm/cta/charts/ctafrontend/templates/pod.yaml
+++ b/continuousintegration/orchestration/helm/cta/charts/ctafrontend/templates/pod.yaml
@@ -32,7 +32,7 @@ spec:
     {{include "ctafrontend.readinessProbe" .Values.readinessProbe | nindent 4}}
     {{- end}}
     securityContext:
-      privileged: {{.isPriviliged}}
+      privileged: {{ .Values.isPriviliged }}
     # tadamb
     {{- if (.Values.ports)}}
     ports:
diff --git a/continuousintegration/orchestration/helm/init/charts/kdc/templates/pod.yaml b/continuousintegration/orchestration/helm/init/charts/kdc/templates/pod.yaml
index f0911da118..fd692d6000 100644
--- a/continuousintegration/orchestration/helm/init/charts/kdc/templates/pod.yaml
+++ b/continuousintegration/orchestration/helm/init/charts/kdc/templates/pod.yaml
@@ -34,7 +34,7 @@ spec:
     {{include "kdc.readinessProbe" .Values.readinessProbe | nindent 4}}
     {{- end}}
     securityContext:
-      privileged: {{.isPriviliged}}
+      privileged: {{ .Values.isPriviliged }}
     {{ include "kdc.volumeMounts" . | nindent 4 }}
   # Here are volumes added
   {{include "kdc.volumes" . | nindent 2}}
diff --git a/continuousintegration/orchestration/helm/init/templates/pod.yaml b/continuousintegration/orchestration/helm/init/templates/pod.yaml
index f2f198cb59..070a150b21 100644
--- a/continuousintegration/orchestration/helm/init/templates/pod.yaml
+++ b/continuousintegration/orchestration/helm/init/templates/pod.yaml
@@ -31,7 +31,7 @@ spec:
     args: {{.Values.customEntrypoint.args}}
     {{- end}}
     securityContext:
-      privileged: {{.Values.isPriviliged}}
+      privileged: {{ .Values.isPriviliged }}
     {{ include "init.volumeMounts" . | nindent 4 }}
   # Here are volumes added
   {{include "init.volumes" . | nindent 2}}
-- 
GitLab