how to enable-cors in GKE with ingress

后端 未结 2 1137
时光说笑
时光说笑 2021-01-07 06:35

I\'m trying to enable cors with ingress without success using the following annotation:

 kubernetes.io/ingress.class: \"nginx\"
nginx.ingress.kubernetes.io         


        
2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-07 07:16

    The correct annotation is ingress.kubernetes.io/enable-cors: "true"

提交回复
热议问题