According to Creating a Google-managed SSL certificate resource, I need to Associate a Google-managed SSL certificate with a target proxy:
gcloud beta compute [target-https-proxies | target-ssl-proxies] update [NAME] \
--ssl-certificates [SSL-CERTIFICATE-NAME]
Do I need to associate the SSL certificate by the command above, or is that also achieved by the following .yml config?
7 apiVersion: extensions/v1beta1
8 kind: Ingress
9 metadata:
10 name: my-staging-ingress
11 annotations:
12 kubernetes.io/ingress.global-static-ip-name: "my-staging-global"
13 ingress.gcp.kubernetes.io/pre-shared-cert: "staging-google-managed-ssl"
14 kubernetes.io/ingress.allow-http: "false"
If the config above doesn't cut it, should I create it as described here? It looks like this guide assumes one has access to the certificates, which I don't as it's managed by Google.