feat: move various config options to advanced flags (#1217)

* feat: move various config options to advanced flags

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

* fix: remove lp refs

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-21 09:53:25 -05:00
1 parent e738a6f69c
commit 8339d142b7
14 files changed
+19 -47

No files matched your search

@@ -93,7 +93,7 @@
- name: Remove local storage path
ansible.builtin.file:
path: "#{ bootstrap_local_storage_path }#"
path: "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#"
state: absent
- name: Reboot
@@ -28,4 +28,4 @@ spec:
enabled: true
name: openebs-hostpath
isDefaultClass: false
basePath: "#{ bootstrap_local_storage_path }#"
basePath: "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#"
@@ -4,7 +4,7 @@
[ $(id -u) -eq 0 ] || exec sudo $0 $@
# Remove local storage data
rm -rf "#{ bootstrap_local_storage_path }#"
rm -rf "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#"
# Reboot
(sleep 10 && systemctl reboot)&
@@ -88,7 +88,7 @@ l2announcements:
#% endif %#
loadBalancer:
algorithm: maglev
mode: "#{ bootstrap_cilium_loadbalancer_mode|default('dsr', true) }#"
mode: "#{ bootstrap_advanced_flags.cilium_loadbalancer_mode|default('dsr', true) }#"
localRedirectPolicy: true
operator:
replicas: 1
@@ -49,7 +49,7 @@ l2announcements:
#% endif %#
loadBalancer:
algorithm: maglev
mode: "#{ bootstrap_cilium_loadbalancer_mode|default('dsr', true) }#"
mode: "#{ bootstrap_advanced_flags.cilium_loadbalancer_mode|default('dsr', true) }#"
localRedirectPolicy: true
operator:
replicas: 1