mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge pull request #2811 from Infisical/fix/address-custom-audience-kube-native-auth
fix: address custom audience issue
This commit is contained in:
@@ -120,7 +120,8 @@ export const identityKubernetesAuthServiceFactory = ({
|
|||||||
apiVersion: "authentication.k8s.io/v1",
|
apiVersion: "authentication.k8s.io/v1",
|
||||||
kind: "TokenReview",
|
kind: "TokenReview",
|
||||||
spec: {
|
spec: {
|
||||||
token: serviceAccountJwt
|
token: serviceAccountJwt,
|
||||||
|
...(identityKubernetesAuth.allowedAudience ? { audiences: [identityKubernetesAuth.allowedAudience] } : {})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user