Certificate issuer and DNS provider variables
Set the certificate issuer variables to control which issuer provides the certificates for the deployment, and set the DNS provider variables when cert-manager validates the certificates through your DNS provider.
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 certificate authority. The following table lists the modes:
| 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 own certificate authority (CA_CERT_FILE and CA_KEY_FILE) | The ccf-ca-secret TLS Secret in the cert-manager namespace |
selfsigned | A root certificate that cert-manager generates | Nothing |
The installer does not create the ClusterIssuer itself. It writes cert_issuer, acme_dns_provider, acme_email, route53_region, and dns_zones 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 the Cloudera Cloud Factory API, which hands it to new clusters for Kubernetes OIDC.
For acme, the installer derives the DNS-01 solver zones from the Cloudera Cloud Factory host names by removing the first label of each host name, and it supports several zones.
| Variable | Description | Mandatory | Default |
|---|---|---|---|
| ACME_EMAIL | Specifies the account email address for ACME certificate issuance. | Yes, when CERT_ISSUER is acme | None |
| CA_CERT_FILE | References the certificate authority certificate file in PEM format. The certificate must be an X.509 version 3 CA certificate. When you run the installer from the container image, the path is the mount point inside the container. | Yes, when CERT_ISSUER is ca | None |
| CA_KEY_FILE | References the certificate authority private key file in PEM format. When you run the installer from the container image, the path is the mount point inside the container. | Yes, when CERT_ISSUER is ca | None |
| CERT_ISSUER | Selects the issuer behind the letsencrypt ClusterIssuer. Valid values: acme, ca, selfsigned. | Yes, unless DNS_PROVIDER is none | None |
| CLOUDFLARE_API_TOKEN | Specifies a Cloudflare token that carries DNS edit permissions. | Yes, when DNS_PROVIDER is cloudflare | None |
| DNS_PROVIDER | Selects the DNS-01 provider for CERT_ISSUER=acme. Valid values: cloudflare, route53. The value none creates no issuer when you do not set CERT_ISSUER. | Yes, when CERT_ISSUER is acme | None |
| ROUTE53_ACCESS_KEY_ID | Specifies the access key ID that cert-manager uses for Route 53. | Yes, when DNS_PROVIDER is route53 | None |
| ROUTE53_REGION | Specifies the region for the Route 53 API calls. | Yes, when DNS_PROVIDER is route53 | None |
| ROUTE53_SECRET_ACCESS_KEY | Specifies the secret access key that cert-manager uses for Route 53. | Yes, when DNS_PROVIDER is route53 | None |
With ca, the installer stores the certificate and the key as the ccf-ca-secret TLS Secret in the cert-manager namespace, and labels the Secret so that the trust bundle includes the CA. Use this mode for environments without public DNS, and when you want Cloudera Cloud Factory to use certificates from your own certificate authority. To create a certificate authority, see Generating a self-signed certificate authority.
The installer remains compatible with earlier configuration files:
- Without CERT_ISSUER,
DNS_PROVIDER=cloudflareorDNS_PROVIDER=route53meansacme. - The value
DNS_PROVIDER=selfsignedis deprecated and meansCERT_ISSUER=ca. It uses the sameccf-ca-secretSecret and the same issuer as before. - The value
DNS_PROVIDER=nonewithout CERT_ISSUER creates no issuer. - When the
cluster-varsConfigMap has no cert_issuer key because an earlier installer created it, Flux keeps the existing issuer until you run the installer again. - When the
ccfartifact has nocert-issuerKustomization, thewait-cert-managerphase applies the issuer itself. This works foracmeandcaonly, andselfsignedneeds a newer artifact.
