feat: add bootstrap_acme_enable_production_certs config var
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
5 files changed
+30
-64
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#jinja2: trim_blocks: True, lstrip_blocks: True
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
@@ -60,7 +61,11 @@ spec:
|
||||
namespaceSelector:
|
||||
any: true
|
||||
extraArgs:
|
||||
{% if bootstrap_acme_enable_production_certs | default(false) %}
|
||||
default-ssl-certificate: "networking/${SECRET_DOMAIN/./-}-production-tls"
|
||||
{% else %}
|
||||
default-ssl-certificate: "networking/${SECRET_DOMAIN/./-}-staging-tls"
|
||||
{% endif %}
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
|
||||
+4
-1
@@ -1,6 +1,9 @@
|
||||
#jinja2: trim_blocks: True, lstrip_blocks: True
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./staging.yaml
|
||||
# - ./production.yaml
|
||||
{% if bootstrap_acme_enable_production_certs | default(false) %}
|
||||
- ./production.yaml
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user