Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document ingress.gcp.kubernetes.io/pre-shared-cert annotation #396

Closed
tonglil opened this issue Mar 7, 2017 · 10 comments
Closed

Document ingress.gcp.kubernetes.io/pre-shared-cert annotation #396

tonglil opened this issue Mar 7, 2017 · 10 comments
Assignees

Comments

@tonglil
Copy link
Contributor

tonglil commented Mar 7, 2017

Update GLBC documentation with this annotation + usage.

Follow up work to #291.

Please assign to me.

@tlbdk
Copy link

tlbdk commented Jun 26, 2017

How does the syntax look, it would be nice with just a copy/paste in this issue so there at least where something until the documentation was written?

@tonglil
Copy link
Contributor Author

tonglil commented Jun 26, 2017

@tlbdk sorry!

gcloud compute ssl-certificates create my-cert --certificate=${CERT_LOCATION} --private-key=${KEY_LOCATION} --project=my-project
gcloud compute addresses create my-ip --global
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: my-ingress
  annotations:
    kubernetes.io/ingress.allow-http: "false"                        # Disable port 80 access (see caveats)
    kubernetes.io/ingress.global-static-ip-name: "my-ip"             # Name of the static global IP address in GCP
    ingress.gcp.kubernetes.io/pre-shared-cert: "my-cert"             # Name of the TLS certificate in GCP
spec:
  backend:
    serviceName: my-service                                          # Service type NodePort resource to expose
    servicePort: 80                                                  # Port of the Service

@tlbdk
Copy link

tlbdk commented Jun 26, 2017

Thanks, just what I needed :)

@ptagr
Copy link

ptagr commented Sep 27, 2017

does this work with any ingress controller? for example can I use this with traefik ingress controller on GKE? @tonglil

@tonglil
Copy link
Contributor Author

tonglil commented Sep 27, 2017 via email

@gajus
Copy link

gajus commented Mar 15, 2019

Where is ingress.gcp.kubernetes.io/pre-shared-cert documented in GCP docs?

This is the only reference I can find online.

@joaoferrao
Copy link

@LDMFD
Copy link

LDMFD commented Aug 21, 2019

@gajus here: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-multi-ssl

There is currently no mention of ingress.gcp.kubernetes.io/pre-shared-cert on that page.

@joaoferrao
Copy link

@cachvico The documentation page specifcally mentions that in the Specifying certificates for your Ingress section which contains instructions for both Pre Shared certificates or certificates stored in a secrets object.

@LDMFD
Copy link

LDMFD commented Aug 21, 2019

@joaoferrao beg pardon.

For future readers coming from a Google search on ingress.gcp.kubernetes.io/pre-shared-cert (which lists this issue before the doc page), click the "PRE-SHARED CERTS" tab in the section Specifying certificates for your Ingress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants