Commit f2dc7e31 authored by Radu Carpa's avatar Radu Carpa
Browse files

daemons: fix automatic restart

parent 90003793
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
name: rucio-daemons
version: 1.29.2
version: 1.29.3
apiVersion: v1
description: A Helm chart to deploy daemons for Rucio
keywords:
+1 −1
Original line number Diff line number Diff line
@@ -14,6 +14,6 @@ spec:
            - name: restart-pods
              image: "{{ .Values.automaticRestart.image.repository }}:{{ .Values.automaticRestart.image.tag }}"
              imagePullPolicy: {{ .Values.automaticRestart.image.pullPolicy }}
              command: ["/bin/sh", "-c", "kubectl get deployment -l app=rucio-daemons -o jsonpath='{.items[*].metadata.name}' | tr ' ' '\n' | xargs -n 1 kubectl rollout restart deployment"]
              command: ["/bin/sh", "-c", "kubectl get deployment -l app-group=rucio-daemons -o jsonpath='{.items[*].metadata.name}' | tr ' ' '\n' | xargs -n 1 kubectl rollout restart deployment"]
          restartPolicy: OnFailure
{{ end }}