You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see, there is no documentation on how to use aks2k8s with Workload Identity?
Is there any examples which can be followed, I am using the following but does not seem to work, I am guessing on how this works by looking at PR's which have been merged.
Can there be some documentation which is added for some explanation on how this works?
I have tried this which does not work
resource"helm_release""uks_akv2k8s" {
name="akv2k8s"namespace="akv2k8s"repository="https://charts.spvapi.no"chart="akv2k8s"set {
name ="global.keyVaultAuth"
value ="environment-azidentity"
}
set {
name ="serviceAccount.labels.azure\\.workload\\.identity/use"
value =true
}
set {
name ="serviceAccount.annotations.azure\\.workload\\.identity/client-id"
value ="*******"
}
depends_on=[kubernetes_namespace.uks_namespace]
}
The text was updated successfully, but these errors were encountered:
You may have solved this already in the meantime, but I ran into the same, so here's the solution, in case anyone needs it:
I think the problem with your setup is you're setting the azure.workload.identity/use label on the ServiceAccount, instead of on the controller pod(s).
setting these values works for me (json, but should just map on whatever you use):
As far as I can see, there is no documentation on how to use aks2k8s with Workload Identity?
Is there any examples which can be followed, I am using the following but does not seem to work, I am guessing on how this works by looking at PR's which have been merged.
Can there be some documentation which is added for some explanation on how this works?
I have tried this which does not work
The text was updated successfully, but these errors were encountered: