How to force SSL for Kubernetes Ingress on GKE

后端 未结 7 2155
情话喂你
情话喂你 2020-11-28 07:38

Is there a way to force an SSL upgrade for incoming connections on the ingress load-balancer? Or if that is not possible with, can I disable port :80? I haven\'t found a goo

7条回答
  •  迷失自我
    2020-11-28 07:56

    The annotation has changed:

    apiVersion: extensions/v1beta1
    kind: Ingress
    metadata:
      name: test
      annotations:
        kubernetes.io/ingress.allow-http: "false"
    spec:
    ...
    

    Here is the annotation change PR: https://github.com/kubernetes/contrib/pull/1462/files

提交回复
热议问题