* feat: add advanced features to config Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: only enable longhorn if distro is k3s or k0s Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update ansible lint Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
26 lines
937 B
YAML
26 lines
937 B
YAML
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
|
---
|
|
apiVersion: upgrade.cattle.io/v1
|
|
kind: Plan
|
|
metadata:
|
|
name: server
|
|
spec:
|
|
# renovate: datasource=github-releases depName=k3s-io/k3s
|
|
version: "v1.29.0+k3s1"
|
|
serviceAccountName: system-upgrade
|
|
concurrency: 1
|
|
cordon: true
|
|
nodeSelector:
|
|
matchExpressions:
|
|
- {key: node-role.kubernetes.io/control-plane, operator: Exists}
|
|
tolerations:
|
|
- {effect: NoSchedule, operator: Exists}
|
|
- {effect: NoExecute, operator: Exists}
|
|
- {key: node-role.kubernetes.io/control-plane, effect: NoSchedule, operator: Exists}
|
|
- {key: node-role.kubernetes.io/master, effect: NoSchedule, operator: Exists}
|
|
- {key: node-role.kubernetes.io/etcd, effect: NoExecute, operator: Exists}
|
|
- {key: CriticalAddonsOnly, operator: Exists}
|
|
upgrade:
|
|
image: rancher/k3s-upgrade
|
|
#% endif %#
|