36 lines
949 B
YAML
36 lines
949 B
YAML
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:
|
|
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"]
|
|
tolerations:
|
|
# allow kured to run on control-plane nodes
|
|
- key: "node-role.kubernetes.io"
|
|
operator: "Exists"
|
|
effect: "NoSchedule"
|