cert-manager-istio-csr

by cert-manager

Helm chartv0.19.1App v0.19.1Apache-2.0Verified publisher

istio-csr enables the use of cert-manager for issuing certificates in Istio service meshes

About this chart

istio-csr

Helm Values

nameOverride ~ string

nameOverride replaces the name of the chart in the Chart.yaml file when this is used to construct Kubernetes object names.

replicaCount ~ number

Default value:

1

The number of replicas of istio-csr to run.

imageRegistry ~ string

Default value:

quay.io

The container registry used for istio-csr images by default. This can include path prefixes (e.g. "artifactory.example.com/docker").

imageNamespace ~ string

Default value:

jetstack

The repository namespace used for istio-csr images by default.
Examples:

  • jetstack
  • cert-manager

image.registry ~ string

Target image registry. This value is prepended to the target image repository, if set.
For example:

registry: quay.io
repository: jetstack/cert-manager-istio-csr

Deprecated: per-component registry prefix.

If set, this value is prepended to the image repository that the chart would otherwise render. This applies both when image.repository is set and when the repository is computed from
imageRegistry + imageNamespace + image.name.

This can produce "double registry" style references such as
legacy.example.io/quay.io/jetstack/.... Prefer using the global
imageRegistry/imageNamespace values.

image.repository ~ string

Default value:

""

Full repository override (takes precedence over imageRegistry, imageNamespace, and image.name).
Example: quay.io/jetstack/cert-manager-istio-csr

image.name ~ string

Default value:

cert-manager-istio-csr

The image name for istio-csr.
This is used (together with imageRegistry and imageNamespace) to construct the full image reference.

image.tag ~ string

Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion is used.

image.digest ~ string

Target image digest. Override any tag, if set.
For example:

digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20

image.pullPolicy ~ string

Default value:

IfNotPresent

Kubernetes imagePullPolicy on Deployment.

imagePullSecrets ~ array

Default value:

[]

Optional secrets used for pulling the istio-csr container image.

service.type ~ string

Default value:

ClusterIP

Service type to expose the istio-csr gRPC service.

service.port ~ number

Default value:

443

Service port to expose the istio-csr gRPC service.

service.nodePort ~ number

Service nodePort to expose the istio-csr gRPC service.

app.logLevel ~ number

Default value:

1

Verbosity of istio-csr logging.

app.logFormat ~ string

Default value:

text

Output format of istio-csr logging.

app.metrics.port ~ number

Default value:

9402

Port for exposing Prometheus metrics on 0.0.0.0 on path '/metrics'.

app.metrics.service.enabled ~ bool

Default value:

true

Create a Service resource to expose the metrics endpoint.

app.metrics.service.type ~ string

Default value:

ClusterIP

Service type to expose metrics.

app.metrics.service.servicemonitor.enabled ~ bool

Default value:

false

Create a Prometheus ServiceMonitor resource.

app.metrics.service.servicemonitor.prometheusInstance ~ string

Default value:

default

The value for the "prometheus" label on the ServiceMonitor. This allows for multiple Prometheus instances selecting different ServiceMonitors using label selectors.

app.metrics.service.servicemonitor.interval ~ string

Default value:

10s

The interval at which Prometheus will scrape for metrics.

app.metrics.service.servicemonitor.scrapeTimeout ~ string

Default value:

5s

The timeout on each metric probe request.

app.metrics.service.servicemonitor.labels ~ object

Default value:

{}

Additional labels to give the ServiceMonitor resource.

app.runtimeConfiguration.create ~ bool

Default value:

false

Create the runtime-configuration ConfigMap.

app.runtimeConfiguration.name ~ string

Default value:

""

Name of a ConfigMap in the installation namespace to watch, providing runtime configuration of an issuer to use.

If create is set to true, then this name is used to create the ConfigMap, otherwise the ConfigMap must exist, and the "issuer-name", "issuer-kind" and "issuer-group" keys must be present in it.

app.runtimeConfiguration.issuer.name ~ string

Default value:

istio-ca

Issuer name set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.

app.runtimeConfiguration.issuer.kind ~ string

Default value:

Issuer

Issuer kind set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.

app.runtimeConfiguration.issuer.group ~ string

Default value:

cert-manager.io

Issuer group name set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.

app.readinessProbe.port ~ number

Default value:

6060

Container port to expose the istio-csr HTTP readiness probe on the default network interface.

app.readinessProbe.path ~ string

Default value:

/readyz

Path to expose the istio-csr HTTP readiness probe on the default network interface.

app.certmanager.namespace ~ string

Default value:

istio-system

Namespace to create CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.

app.certmanager.preserveCertificateRequests ~ bool

Default value:

false

Don't delete created CertificateRequests once they have been signed. WARNING: Do not enable this option in production, or environments with any non-trivial number of workloads for an extended period of time. Doing so will balloon the resource consumption of both ETCD and the API server, leading to errors and slow down. This option is intended for debugging purposes only, for limited periods of time.

app.certmanager.additionalAnnotations ~ array

Default value:

[]

Additional annotations to include on certificate requests.
Takes key/value pairs in the format:

additionalAnnotations:
  - name: custom.cert-manager.io/policy-name
    value: istio-csr

app.certmanager.issuer.enabled ~ bool

Default value:

true

Enable the default issuer, this is the issuer used when no runtime configuration is provided.

When enabled, the istio-csr Pod will not be "Ready" until the issuer has been used to issue the istio-csr GRPC certificate.

For istio-csr to function, either this or runtime configuration must be enabled.

app.certmanager.issuer.name ~ string

Default value:

istio-ca

Issuer name set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.

app.certmanager.issuer.kind ~ string

Default value:

Issuer

Issuer kind set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.

app.certmanager.issuer.group ~ string

Default value:

cert-manager.io

Issuer group name set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.

app.tls.trustDomain ~ string

Default value:

cluster.local

The Istio cluster's trust domain.

app.tls.rootCAFile ~ unknown

Default value:

null

An optional file location to a PEM encoded root CA that the root CA. ConfigMap in all namespaces will be populated with. If empty, the CA returned from cert-manager for the serving certificate will be used.

app.tls.certificateDNSNames[0] ~ string

Default value:

cert-manager-istio-csr.cert-manager.svc

app.tls.certificateDuration ~ string

Default value:

1h

Requested duration of the gRPC serving certificate. Will be automatically renewed. Based on NIST 800-204A recommendations (SM-DR13).

app.tls.servingTLSMinVersion ~ string

Minimum TLS version for the gRPC serving listener (Kubernetes-style name, e.g. VersionTLS12). If unset, TLS 1.2 is used but a future version will increase the default.

app.tls.servingTLSCipherSuites ~ array

Default value:

[]

Cipher suites for the gRPC serving listener (TLS_CIPHER_SUITE names). If empty, Go defaults apply. Only affects TLS 1.2; TLS 1.3 cipher suites are not configurable in Go. Acceptable names match Kubernetes component-base (same as kube-apiserver --tls-cipher-suites); see TLSCipherPossibleValues. Some listed values are considered insecure — prefer PreferredTLSCipherNames.

app.tls.servingTLSCurvePreferences ~ array

Default value:

[]

TLS key exchange curves for the gRPC listener (e.g. X25519, CurveP256, or decimal CurveID). If empty, Go defaults apply.

app.tls.istiodCertificateEnable ~ boolean,string,null

Default value:

true

If true, create the istiod certificate using a cert-manager certificate as part of the install. If set to "dynamic", will create the cert dynamically when istio-csr pods start up. If false, no cert is created.

app.tls.istiodCertificateDuration ~ string

Default value:

1h

Requested duration of istio's Certificate. Will be automatically renewed. Default is based on NIST 800-204A recommendations (SM-DR13). Warning: cert-manager does not allow a duration on Certificates less than 1 hour.

app.tls.istiodCertificateRenewBefore ~ string

Default value:

30m

Amount of time to wait before trying to renew the istiod certificate.
Must be smaller than the certificate's duration.

app.tls.istiodPrivateKeyAlgorithm ~ string

Default value:

""

Private key algorithm to use. For backwards compatibility, defaults to the same value as app.server.serving.signatureAlgorithm

app.tls.istiodPrivateKeySize ~ number

Default value:

2048

Parameter for the istiod certificate key. For RSA, must be a number of bits >= 2048. For ECDSA, can only be 256 or 384, corresponding to P-256 and P-384 respectively.

app.tls.istiodAdditionalDNSNames ~ array

Default value:

[]

Provide additional DNS names to request on the istiod certificate. Useful if istiod should be accessible via multiple DNS names and/or outside of the cluster.

app.server.authenticators.enableClientCert ~ bool

Default value:

false

Enable the client certificate authenticator. This will allow workloads to use preexisting certificates to authenticate with istio-csr when rotating their certificate.

app.server.clusterID ~ string

Default value:

Kubernetes

The istio cluster ID to verify incoming CSRs.

app.server.maxCertificateDuration ~ string

Default value:

1h

Maximum validity duration that can be requested for a certificate. istio-csr will request a duration of the smaller of this value, and that of the incoming gRPC CSR. Based on NIST 800-204A recommendations (SM-DR13).

app.server.serving.address ~ string

Default value:

0.0.0.0

Container address to serve the istio-csr gRPC service.

app.server.serving.port ~ number

Default value:

6443

Container port to serve the istio-csr gRPC service.

app.server.serving.certificateKeySize ~ number

Default value:

2048

Parameter for the serving certificate key. For RSA, must be a number of bits >= 2048. For ECDSA, can only be 256 or 384, corresponding to P-256 and P-384 respectively.

app.server.serving.signatureAlgorithm ~ string

Default value:

RSA

The type of private key to generate for the serving certificate. Only RSA (default) and ECDSA are supported. NB: This variable is named incorrectly; it controls private key algorithm, not signature algorithm.

app.server.caTrustedNodeAccounts ~ string

Default value:

""

A comma-separated list of service accounts that are allowed to use node authentication for CSRs, e.g. "istio-system/ztunnel".

app.istio.revisions[0] ~ string

Default value:

default

app.istio.namespace ~ string

Default value:

istio-system

The namespace where the istio control-plane is running.

app.controller.leaderElectionNamespace ~ string

Default value:

istio-system

app.controller.configmapNamespaceSelector ~ string

If set, limit where istio-csr creates configmaps with root CA certificates. If unset, configmap created in ALL namespaces.
Example: maistra.io/member-of=istio-system

Deploy cert-manager-istio-csr with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cert-manager-istio-csr on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcert-manager-istio-csr is pinned at v0.19.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply