feat: more changes to templating (#1218)
* feat: clean up more jinja default references Signed-off-by: Devin Buhl <devin@buhl.casa> * feat: add additional tls sans force kube-vip on k3s Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
8339d142b7
commit
e1330d734c
30 files changed
+65
-118
No files matched your search
@@ -2,7 +2,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
#% if not bootstrap_ipv6_enabled|default(false) %#
|
||||
#% if not bootstrap_ipv6_enabled %#
|
||||
- ./cilium-l2.yaml
|
||||
#% endif %#
|
||||
- ./helmrelease.yaml
|
||||
+1
-1
@@ -3,6 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./staging.yaml
|
||||
#% if bootstrap_acme_production_enabled|default(false) %#
|
||||
#% if bootstrap_acme_production_enabled %#
|
||||
- ./production.yaml
|
||||
#% endif %#
|
||||
+1
-1
@@ -70,7 +70,7 @@ spec:
|
||||
namespaceSelector:
|
||||
any: true
|
||||
extraArgs:
|
||||
#% if bootstrap_acme_production_enabled|default(false) %#
|
||||
#% if bootstrap_acme_production_enabled %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-production-tls"
|
||||
#% else %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
|
||||
|
||||
@@ -68,7 +68,7 @@ spec:
|
||||
namespaceSelector:
|
||||
any: true
|
||||
extraArgs:
|
||||
#% if bootstrap_acme_production_enabled|default(false) %#
|
||||
#% if bootstrap_acme_production_enabled %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-production-tls"
|
||||
#% else %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
|
||||
|
||||
@@ -8,7 +8,7 @@ metadata:
|
||||
provisioner: smb.csi.k8s.io
|
||||
parameters:
|
||||
source: "#{ item.source }#"
|
||||
csi.storage.k8s.io/node-stage-secret-name: "#{ item.existing_secret_name|default(item.name+"-secret") }#"
|
||||
csi.storage.k8s.io/node-stage-secret-name: "#{ item.existing_secret_name|default(item.name + '-secret') }#"
|
||||
#% if item.existing_secret_name and item.existing_secret_namespace %#
|
||||
csi.storage.k8s.io/node-stage-secret-namespace: "#{ item.existing_secret_namespace }#"
|
||||
#% else %#
|
||||
|
||||
Reference in new issue
Block a user