Certificate issuer
The CERT_ISSUER variable selects the issuer behind the letsencrypt ClusterIssuer, which every ingress uses, in acme, ca, or selfsigned mode.
The CERT_ISSUER variable selects the issuer behind the ClusterIssuer named letsencrypt, which every ingress uses. The issuer has this name in every mode, also when it holds your own CA.
| CERT_ISSUER | Issuer | The installer creates |
|---|---|---|
acme | Let's Encrypt, with DNS-01 validation through DNS_PROVIDER (cloudflare or route53) | The DNS credential Secret in the cert-manager namespace |
ca | Your CA (CA_CERT_FILE and CA_KEY_FILE) | The TLS Secret ccf-ca-secret in the cert-manager namespace |
selfsigned | A root that cert-manager generates | Nothing |
In an air gap, the public ACME service is not reachable. Use ca or selfsigned.
The installer does not create the ClusterIssuer itself. It writes cert_issuer, acme_dns_provider, acme_email, and route53_region to the cluster-vars ConfigMap, and the ccf artifact creates the issuer. The wait-cert-manager phase waits for the issuer to appear. For ca and selfsigned, the ccf artifact also publishes the root certificate to taikun-api, which hands it to new clusters for Kubernetes OIDC.
| Variable | Description | Mandatory |
|---|---|---|
| CERT_ISSUER | Issuer type: acme, ca, or selfsigned. | Yes, unless DNS_PROVIDER is none |
| DNS_PROVIDER | DNS-01 provider for acme: cloudflare or route53. The value none skips the issuer when CERT_ISSUER is not set. | If acme |
| ACME_EMAIL | Account email for the ACME registration. | If acme |
| CA_CERT_FILE | Path to the CA certificate in PEM format. | If ca |
| CA_KEY_FILE | Path to the CA private key in PEM format. | If ca |
With ca, the installer stores the certificate and the key as the TLS Secret ccf-ca-secret in the cert-manager namespace. The certificate must be an X.509 version 3 CA certificate, as described in Preparing the private CA and trust bundle.
Backward compatibility
- Without CERT_ISSUER, the value
DNS_PROVIDER=cloudflareorDNS_PROVIDER=route53meansacme. - The value
DNS_PROVIDER=selfsignedis deprecated and meansca. It uses the same ccf-ca-secret Secret and the same issuer as before. - The value
DNS_PROVIDER=nonewith no CERT_ISSUER creates no issuer. - If the cluster-vars ConfigMap has no cert_issuer key because an older installer created it, Flux keeps the existing issuer until you run the installer again.
- If the ccf artifact is older than its cert-issuer Kustomization, the wait-cert-manager phase
applies to the issuer itself, as older installers did. This works for
acmeandcaonly. Theselfsignedmode needs a newer artifact.
