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 ['k0s'] %#
#!/usr/bin/env bash
set -e
set -o noglob
@@ -17,4 +16,3 @@ EOF
tee /var/lib/k0s/manifests/kube-vip/kube-vip-ds.yaml > /dev/null <<EOF
#% include 'partials/kube-vip-ds.partial.yaml.j2' %#
EOF
#% endif %#
@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ['k0s'] %#
#!/usr/bin/env bash
set -e
set -o noglob
@@ -84,4 +83,3 @@ tee /etc/k0s/containerd.d/default.toml > /dev/null <<EOF
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
discard_unpacked_layers = false
EOF
#% endif %#
@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ['k0s'] %#
#!/usr/bin/env bash
set -e
set -o noglob
@@ -39,4 +38,3 @@ remove_interfaces
reset_iptables
rm -rf /var/lib/cni
rm -rf /etc/cni/net.d
#% endif %#
@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ['k0s'] %#
#!/usr/bin/env bash
set -e
set -o noglob
@@ -13,4 +12,3 @@ rm -rf "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/loc
# Reboot
(sleep 10 && systemctl reboot)&
#% endif %#