Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Authentication Rancher v2.4.4 Istio最终用户身份验证错误“种类不匹配”;“请求验证”;_Authentication_Kubernetes_Istio - Fatal编程技术网

Authentication Rancher v2.4.4 Istio最终用户身份验证错误“种类不匹配”;“请求验证”;

Authentication Rancher v2.4.4 Istio最终用户身份验证错误“种类不匹配”;“请求验证”;,authentication,kubernetes,istio,Authentication,Kubernetes,Istio,我试图用最新的rancher使用istio最终用户身份验证示例,但我发现了以下错误 unable to recognize "STDIN": no matches for kind "RequestAuthentication" in version "security.istio.io/v1beta1" 当我使用下面的命令时 kubectl apply -f - <<EOF apiVersion: "security.istio.io/v1beta1" kind: "Reques

我试图用最新的rancher使用istio最终用户身份验证示例,但我发现了以下错误

unable to recognize "STDIN": no matches for kind "RequestAuthentication" in version "security.istio.io/v1beta1"
当我使用下面的命令时

kubectl apply -f - <<EOF
apiVersion: "security.istio.io/v1beta1"
kind: "RequestAuthentication"
metadata:
  name: "jwt-example"
  namespace: foo
spec:
  selector:
    matchLabels:
      app: httpbin
  jwtRules:
  - issuer: "testing@secure.istio.io"
    jwksUri: "https://raw.githubusercontent.com/istio/istio/release-1.6/security/tools/jwt/samples/jwks.json"
EOF
kubectl apply-f-根据rancher网站提供的istio版本为1.4.7

RequestAuthentication kind是在1.5版的istio中引入的。因此,您可能在此版本中应用了不正确的资源。请参阅1.5版的istio升级说明。由于rancher没有最新版本,您必须应用旧的策略资源。您可以在

希望这有帮助