feat: add advanced features to config (#1208)
* feat: add advanced features to config Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: only enable longhorn if distro is k3s or k0s Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update ansible lint Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
0fda1f6a56
commit
1ec59d1559
87 files changed
+158
-145
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
keepHistory: false
|
||||
values:
|
||||
controller:
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
volumeSnapshotClasses:
|
||||
- name: longhorn-snapclass
|
||||
annotations:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
Reference in new issue
Block a user