feat: implement mjfilter file for templates (#1244)

* feat: implement mjfilter file for templates

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

* fix: use data.get in mjfilters

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-24 14:52:50 -05:00
1 parent 9d175fcc99
commit 5d849727d8
112 files changed
+81 -184

No files matched your search

@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ['k3s'] and addon_system_upgrade_controller.enabled %#
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
@@ -102,4 +101,3 @@ spec:
globalMounts:
- path: /etc/ca-certificates
readOnly: true
#% endif %#
@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ['k3s'] and addon_system_upgrade_controller.enabled %#
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
@@ -7,4 +6,3 @@ resources:
- https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.2/crd.yaml
- helmrelease.yaml
- rbac.yaml
#% endif %#
@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ['k3s'] and addon_system_upgrade_controller.enabled %#
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
@@ -12,4 +11,3 @@ subjects:
- kind: ServiceAccount
name: system-upgrade
namespace: tools
#% endif %#