[英]Error: validation failed: unable to recognize "": no matches for kind "FrontendConfig" in version "networking.k8s.io/v1beta1"
I am using fronendconfig.yaml file to enable http to https redirection, but it is giving me chart validation failed error.我正在使用 fronendconfig.yaml 文件启用 http 到 https 重定向,但它给我图表验证失败错误。 Listing the content of my yaml file.列出我的 yaml 文件的内容。 This issue is I am facing GKE ingress.这个问题是我正面临 GKE 入口。 My GKE master version is "1.17.14-gke.1600".我的 GKE 主版本是“1.17.14-gke.1600”。
apiVersion: networking.k8s.io/v1beta1
kind: FrontendConfig
metadata:
name: "abcd"
spec:
redirectToHttps:
enabled: true
responseCodeName: "301"
Using annotations in values.yaml file like this.
ingress:
enabled: true
annotations:
networking.k8s.io/v1beta1.FrontendConfig: "abcd"
As of now, HTTP-to-HTTPS redirect
is in beta and only available for GKE 1.18.10-gke.600 or greater as per the documentation .截至目前, HTTP-to-HTTPS redirect
处于测试阶段,根据文档仅适用于 GKE 1.18.10-gke.600 或更高版本。
Since you stated to be using GKE 1.17.14-gke.1600, this won't be available for your cluster.由于您声明要使用 GKE 1.17.14-gke.1600,因此这不适用于您的集群。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.