Skip to content

Instantly share code, notes, and snippets.

@sjenning
Created February 14, 2024 18:56
Show Gist options
  • Save sjenning/c3312def3073ce8c3ed896859360058c to your computer and use it in GitHub Desktop.
Save sjenning/c3312def3073ce8c3ed896859360058c to your computer and use it in GitHub Desktop.
{
"kind": "AuthenticationConfiguration",
"apiVersion": "apiserver.k8s.io/v1alpha1",
"jwt": [
{
"issuer": {
"url": "https://login.microsoftonline.com/fa5d3dd8-b8ec-4407-a55c-ced639f1c8c5/v2.0",
"audiences": [
"fdd45692-2aa8-4c30-b472-b86b84e5ed1d"
],
"audienceMatchPolicy": "MatchAny"
},
"claimMappings": {
"username": {
"claim": "email"
},
"groups": {
"claim": "groups"
},
"uid": {}
}
}
]
}
@deads2k
Copy link

deads2k commented Feb 14, 2024

apiVersion needs to apiserver.config.k8s.io/v1alpha1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment