diff --git a/.renovaterc b/.renovaterc index 9d620b2..c2966ba 100644 --- a/.renovaterc +++ b/.renovaterc @@ -2,6 +2,13 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["local>infrastructure/renovate-config"], "regexManagers": [ + { + "description": "k3s", + "fileMatch": ["pb_install\\.yml"], + "matchStrings": ["\\s+INSTALL_K3S_CHANNEL:\\s(?.*)"], + "depNameTemplate": "k3s-io/k3s", + "datasourceTemplate": "github-releases" + }, { "description": "ArgoCD", "fileMatch": ["argocd-init\\.yml$"], diff --git a/pb_install.yml b/pb_install.yml index ad5e355..50085b4 100644 --- a/pb_install.yml +++ b/pb_install.yml @@ -12,6 +12,7 @@ - name: install k3s server ansible.builtin.command: "k3s_install.sh" environment: + INSTALL_K3S_CHANNEL: "v1.27" INSTALL_K3S_EXEC: "--disable traefik" changed_when: false - name: start and enable k3s server