Azure Managed ID can be used for the Helm Controller? #3609
-
It's not immediately clear from the Azure-specific documentation if we can use Azure Managed ID (Pod ID) for running the Helm controller. Is this expected to work? We already extensively use Managed ID in the cluster and have now been asked to disable user name/password access to the ACR that we currently use with Flux. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
The Azure docs should be quite specific about what is supported, hope you can find what you're looking for in here: https://fluxcd.io/flux/use-cases/azure/#aad-pod-identity Is 'pod id' the same as 'AAD Pod Identity'? I am a lightweight Azure user but also pretty noob in this area, (I don't know much except that the AAD Pod Identity approach is likely preferred by security teams to the Service Principal approach, because the ambient creds can be used rather than embedding a special token that can be exfiltrated, and needs to be rotated.) I guess the password is equivalent to the service principal approach, but not completely sure. |
Beta Was this translation helpful? Give feedback.
-
Is that relevant? I'm not talking about container images but Helm charts. Azure's container registry handles both, but with different interfaces. I'm assuming in our current setup that Flux itself isn't doing anything with container images: it is Kubernetes that pulls the new container image as the result of a new Flux HelmRelease. The Image Controller is a mandatory feature as of the 0.40.0 upgrade? |
Beta Was this translation helpful? Give feedback.
-
With the legacy Helm storage format, interaction with the ACR was handled by the AZ CLI. This has been marked as deprecated for several years. With the OCI format, responsibility has moved to the helm command, using 'helm registry' for login/logout and 'helm push' for publishing. We would prefer to to decouple the OCI upgrade from making Flux work with managed identity and we can fall back to using a service principal as an acceptable solution for Helm chart interaction. |
Beta Was this translation helpful? Give feedback.
With the legacy Helm storage format, interaction with the ACR was handled by the AZ CLI. This has been marked as deprecated for several years.
With the OCI format, responsibility has moved to the helm command, using 'helm registry' for login/logout and 'helm push' for publishing.
We would prefer to to decouple the OCI upgrade from making Flux work with managed identity and we can fall back to using a service principal as an acceptable solution for Helm chart interaction.