ClusterDomain
How to configure the
ClusterDomain resourceless than a minute
Here’s an example of a fully configured ClusterDomain resource:
apiVersion: sme.sap.com/v1alpha1
kind: ClusterDomain
metadata:
name: common-external-domain
spec:
domain: my.example.com
ingressSelector:
app: istio-ingressgateway
istio: ingressgateway
tlsMode: Simple # Simple (default) or Mutual
dnsMode: Subdomain # Wildcard or Subdomain or None (default)
dnsTarget: public-ingress.cluster.domain # Optional
- The
dnsTargetfield is optional. If specified, it will be used; otherwise, it will be derived from the Istio Ingress Gateway viaingressSelector. GatewayandDNSEntrywill be created in the namespace where the cap-operator is installed, whileCertificateswill be created in the namespace where Istio Ingress Gateway is present.