apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: kured namespace: argocd annotations: argocd.argoproj.io/sync-wave: "-999" spec: project: system syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true destination: server: "https://kubernetes.default.svc" namespace: kured source: chart: kured repoURL: https://kubereboot.github.io/charts targetRevision: 5.5.2 helm: releaseName: kured valuesObject: tolerations: # allow kured to run on control-plane nodes - key: "node-role.kubernetes.io" operator: "Exists" effect: "NoSchedule" configuration: timeZone: Europe/Prague startTime: "02:00" # 2:00 AM endTime: "06:00" # 6:00 AM annotateNodes: true # rebootDays: ["mo", "tu", "we", "th", "fr", "sa", "su"] rebootSentinelCommand: 'sh -c "! needs-restarting --reboothint"'