diff --git a/docs/user/tutorials/01-10-setup-custom-domain-for-workload.md b/docs/user/tutorials/01-10-setup-custom-domain-for-workload.md index 3a51ab4b8..ffb5df221 100644 --- a/docs/user/tutorials/01-10-setup-custom-domain-for-workload.md +++ b/docs/user/tutorials/01-10-setup-custom-domain-for-workload.md @@ -160,6 +160,8 @@ export SECRET={SECRET_NAME} spec: secretName: $TLS_SECRET commonName: $DOMAIN_TO_EXPOSE_WORKLOADS + issuerRef: + name: garden EOF ``` diff --git a/internal/reconciliations/gateway/certificate.yaml b/internal/reconciliations/gateway/certificate.yaml index 6a6151101..0659cc9ff 100644 --- a/internal/reconciliations/gateway/certificate.yaml +++ b/internal/reconciliations/gateway/certificate.yaml @@ -12,6 +12,8 @@ metadata: spec: secretName: {{.SecretName}} commonName: "*.{{.Domain}}" + issuerRef: + name: garden privateKey: size: 4096 diff --git a/tests/integration/testsuites/custom-domain/manifests/resources.yaml b/tests/integration/testsuites/custom-domain/manifests/resources.yaml index f0101bf5b..1b131af8a 100644 --- a/tests/integration/testsuites/custom-domain/manifests/resources.yaml +++ b/tests/integration/testsuites/custom-domain/manifests/resources.yaml @@ -51,6 +51,8 @@ metadata: spec: secretName: "{{.NamePrefix}}-{{.TestID}}" commonName: "*.{{.Subdomain}}" + issuerRef: + name: garden --- apiVersion: networking.istio.io/v1beta1 kind: Gateway