feat: change jinja block/start delimiters for renovate support (#1163)

* feat: change jinja block/start delimiters for renovate support

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update renovate config an helm repos

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-15 19:31:45 -05:00
1 parent b602a7a1f5
commit 93c9d21581
90 files changed
+360 -354

No files matched your search

@@ -1,4 +1,4 @@
<% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %>
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
@@ -103,4 +103,4 @@ spec:
globalMounts:
- path: /etc/ca-certificates
readOnly: true
<% endif %>
#% endif %#
@@ -1,4 +1,4 @@
<% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %>
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
@@ -7,4 +7,4 @@ resources:
- https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.2/crd.yaml
- helmrelease.yaml
- rbac.yaml
<% endif %>
#% endif %#
@@ -1,4 +1,4 @@
<% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %>
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
@@ -12,4 +12,4 @@ subjects:
- kind: ServiceAccount
name: system-upgrade
namespace: tools
<% endif %>
#% endif %#
@@ -1,4 +1,4 @@
<% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %>
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
@@ -41,4 +41,4 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 5m
<% endif %>
#% endif %#
@@ -1,4 +1,4 @@
<% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %>
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
---
apiVersion: upgrade.cattle.io/v1
kind: Plan
@@ -17,4 +17,4 @@ spec:
args: ["prepare", "server"]
upgrade:
image: rancher/k3s-upgrade
<% endif %>
#% endif %#
@@ -1,8 +1,8 @@
<% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %>
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./server.yaml
- ./agent.yaml
<% endif %>
#% endif %#
@@ -1,4 +1,4 @@
<% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %>
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
---
apiVersion: upgrade.cattle.io/v1
kind: Plan
@@ -22,4 +22,4 @@ spec:
- {key: CriticalAddonsOnly, operator: Exists}
upgrade:
image: rancher/k3s-upgrade
<% endif %>
#% endif %#