Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.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
Kubernetes Istio不转发授权标头_Kubernetes_Istio_Servicemesh - Fatal编程技术网

Kubernetes Istio不转发授权标头

Kubernetes Istio不转发授权标头,kubernetes,istio,servicemesh,Kubernetes,Istio,Servicemesh,有人知道如何将授权头转发给微服务吗 Istio 1.7我找到了一个阅读文档的解决方案: 货代:布尔。如果设置为true,原始令牌将保留用于ustream请求。默认值为false kind: "RequestAuthentication" metadata: name: "jwt-api" namespace: default spec: selector: matchLabels: app: api jwtRules:

有人知道如何将授权头转发给微服务吗


Istio 1.7

我找到了一个阅读文档的解决方案:

货代:布尔。如果设置为true,原始令牌将保留用于ustream请求。默认值为false

kind: "RequestAuthentication"
metadata:
  name: "jwt-api"
  namespace: default
spec:
  selector:
    matchLabels:
      app: api
  jwtRules:
  - issuer: "https://login.microsoftonline.com/12312312312312312312/v2.0"
    jwksUri: "https://login.microsoftonline.com/12312312312312312312/discovery/v2.0/keys"

我在阅读文档时找到了一个解决方案:

货代:布尔。如果设置为true,原始令牌将保留用于ustream请求。默认值为false

kind: "RequestAuthentication"
metadata:
  name: "jwt-api"
  namespace: default
spec:
  selector:
    matchLabels:
      app: api
  jwtRules:
  - issuer: "https://login.microsoftonline.com/12312312312312312312/v2.0"
    jwksUri: "https://login.microsoftonline.com/12312312312312312312/discovery/v2.0/keys"