* 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>
15 lines
343 B
YAML
15 lines
343 B
YAML
#% if addon_csi_driver_smb.create_secrets|default(true) %#
|
|
#% for item in addon_csi_driver_smb.storage_class %#
|
|
#% if not item.existing_secret_name %#
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: "#{ item.name }#-secret"
|
|
stringData:
|
|
username: "#{ item.username }#"
|
|
password: "#{ item.password }#"
|
|
#% endif %#
|
|
#% endfor %#
|
|
#% endif %#
|