provisioning-catalog/components/stalwart/cluster/templates/cf-dns-token.yaml.j2

11 lines
298 B
Text
Raw Permalink Normal View History

{% if stalwart.cert is defined %}
apiVersion: v1
kind: Secret
metadata:
name: {{ taskserv.cert.secret_ref }}
namespace: cert-manager
type: Opaque
stringData:
api-token: "{{ get_env(name="CF_TOKEN_" ~ (stalwart.cert.secret_ref | upper | replace(from="-", to="_")), default="") }}"
{% endif %}