feat: rename addon vars to addon_ prefix and simplify logic in jinja templates (#1216)
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
b89b7b3ed9
commit
db21ea82fa
63 files changed
+102
-101
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#% if csi_driver_smb|default({}) and csi_driver_smb.enabled|default(false) %#
|
||||
#% if addon_csi_driver_smb.enabled %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if csi_driver_smb|default({}) and csi_driver_smb.enabled|default(false) %#
|
||||
#% if addon_csi_driver_smb.enabled %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#% if csi_driver_smb|default({}) and csi_driver_smb.enabled|default(false) %#
|
||||
#% for item in csi_driver_smb.storage_class %#
|
||||
#% if addon_csi_driver_smb.enabled %#
|
||||
#% for item in addon_csi_driver_smb.storage_class %#
|
||||
#% if not item.existing_secret_name %#
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#% if csi_driver_smb|default({}) and csi_driver_smb.enabled|default(false) %#
|
||||
#% for item in csi_driver_smb.storage_class %#
|
||||
#% if addon_csi_driver_smb.enabled %#
|
||||
#% for item in addon_csi_driver_smb.storage_class %#
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
@@ -25,6 +25,6 @@ mountOptions:
|
||||
- noperm
|
||||
- mfsymlinks
|
||||
- cache=strict
|
||||
- noserverino # required to prevent data corruption
|
||||
- noserverino # required to prevent data corruption
|
||||
#% endfor %#
|
||||
#% endif %#
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if csi_driver_smb|default({}) and csi_driver_smb.enabled|default(false) %#
|
||||
#% if addon_csi_driver_smb.enabled %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
Reference in new issue
Block a user