feat: remove the need for raw jinja blocks (#1158)

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-15 00:03:41 -05:00
1 parent f9481d6202
commit e6fbc6e128
92 files changed
+430 -441

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 %>