feat: add k3s to renovaterc

This commit is contained in:
Sebastian Mark 2023-07-17 10:46:36 +02:00
parent 91c77d80e1
commit 6ce6c08187
2 changed files with 8 additions and 0 deletions

View file

@ -2,6 +2,13 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>infrastructure/renovate-config"], "extends": ["local>infrastructure/renovate-config"],
"regexManagers": [ "regexManagers": [
{
"description": "k3s",
"fileMatch": ["pb_install\\.yml"],
"matchStrings": ["\\s+INSTALL_K3S_CHANNEL:\\s(?<currentValue>.*)"],
"depNameTemplate": "k3s-io/k3s",
"datasourceTemplate": "github-releases"
},
{ {
"description": "ArgoCD", "description": "ArgoCD",
"fileMatch": ["argocd-init\\.yml$"], "fileMatch": ["argocd-init\\.yml$"],

View file

@ -12,6 +12,7 @@
- name: install k3s server - name: install k3s server
ansible.builtin.command: "k3s_install.sh" ansible.builtin.command: "k3s_install.sh"
environment: environment:
INSTALL_K3S_CHANNEL: "v1.27"
INSTALL_K3S_EXEC: "--disable traefik" INSTALL_K3S_EXEC: "--disable traefik"
changed_when: false changed_when: false
- name: start and enable k3s server - name: start and enable k3s server