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"