Authentication Rancher v2.4.4 Istio最终用户身份验证错误“种类不匹配”;“请求验证”;
我试图用最新的rancher使用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
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没有最新版本,您必须应用旧的策略资源。您可以在
希望这有帮助