cockroachdb / helm-charts

Helm charts for cockroachdb
Apache License 2.0
84 stars 148 forks source link

Cert-manager node certificates should support customize dns domains #371

Closed incubator4 closed 2 months ago

incubator4 commented 10 months ago

Cross cloud[region/zones/namespace] cockroachdb clusters, it might be multi helm chart release, cert-manager node certificates dnsNames has not supported customize domains yet.

It should be supported by using external FQDN.

For example.

values-a.yaml

tls:
  enabled: true
  certs:
    selfSigner:
      enabled: false
    certManager: true
statefulset:
  env: 
    - name: STATEFULSET_FQDN
      value: region-a.crdb.com

values-b.yaml

tls:
  enabled: true
  certs:
    selfSigner:
      enabled: false
    certManager: true
statefulset:
  env: 
    - name: STATEFULSET_FQDN
      value: region-b.crdb.com

With overwrite STATEFULSET_FQDN, region a/b would use external dns names, and certificates should be with customize dns domains.