Action Required
The globalAccountId field in the CAPApplication spec is deprecated and will be removed in a future release. Update your CAPApplication resources to use providerSubaccountId instead.
Domain
How to configure the
Domain resourceless than a minute
Here’s an example of a fully configured Domain resource:
apiVersion: sme.sap.com/v1alpha1
kind: Domain
metadata:
namespace: cap-app-01
name: cap-app-01-primary
spec:
domain: my.cluster.shoot.url.k8s.example.com
ingressSelector:
app: istio-ingressgateway
istio: ingressgateway
tlsMode: Simple # Simple (default) or Mutual or OptionalMutual
dnsMode: Wildcard # Custom or Wildcard or Subdomain or None (default)
dnsTarget: public-ingress.cluster.domain # Optional
- The
dnsTargetfield is optional. If specified, it is used; otherwise, the target is derived from the Istio Ingress Gateway viaingressSelector. - The
GatewayandDNSEntryare created in the same namespace as theDomainresource, whileCertificateresources are created in the namespace where the Istio Ingress Gateway is present. - When X509 client authentication is enforced on the Istio Gateway by setting
tlsModetoMutualorOptionalMutual, additional CA certificates are needed by Istio for verifying client certificates. These can be specified in thecertConfig.additionalCACertificatefield.