-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARO-9420: *: add acrpull controller, binding #1011
base: main
Are you sure you want to change the base?
Conversation
d4d4a7a
to
21d7769
Compare
?? |
76b9942
to
a234856
Compare
Signed-off-by: Steve Kuznetsov <[email protected]>
Signed-off-by: Steve Kuznetsov <[email protected]>
a234856
to
a6d978d
Compare
|
||
module acrPullerRoles 'acr/acr-permissions.bicep' = [ | ||
for (_, i) in acrPullResourceGroups: { | ||
name: guid(acrRg[i].id, aksCluster.id, acrPullRoleDefinitionId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this name definition is identical with the one used in module acrPullRole
- hence the error during the PR check what-if
name: guid(acrRg[i].id, aksCluster.id, acrPullRoleDefinitionId) | |
name: guid(acrRg[i].id, aksCluster.id, acrPullRoleDefinitionId, 'puller-identity') |
audiences: [ | ||
'api://AzureCRTokenExchange' | ||
] | ||
issuer: aksCluster.properties.oidcIssuerProfile.issuerURL | ||
subject: 'system:serviceaccount:${workloadIdentities[i].value.namespace}:${workloadIdentities[i].value.serviceAccountName}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after running this template i get the error Issuer and subject combination already exists for this Managed Identity
so an MI can be federated only once with a certain SA on a cluster BUT the audience list can only hold one value.
https://learn.microsoft.com/en-us/entra/workload-id/workload-identity-federation-considerations
Supersedes #986