Unverified Commit a1438203 authored by Mario Lassnig's avatar Mario Lassnig Committed by GitHub
Browse files

Merge pull request #106 from rcarpa/fix_daemon_restart

daemons: fix automatic restart
parents 90003793 f2dc7e31
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 }}