Skip to content

[Feature Request] Falcon Image Analyzer - Add support of Azure Workload Identity #682

@YvesEarnix

Description

@YvesEarnix

Falcon FalconImageAnalyzer not supported Azure Workload Identity ?

Operator CRD documentation mention only "AWS & GCP".

              serviceAccount:
                    description: Define annotations that will be passed down to
                      Image Analyzer service account. This is useful for passing
                      along AWS IAM Role or GCP Workload Identity.

Secondly, crd not allow to patch pod labels required by Azure Workload identity => "azure.workload.identity/use: 'true'"

I patch it manually, but seem not supported as I still face to this error =>

unable to retrieve auth token: invalid username/password: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information

Although all expected variables was correctly injected on the image analyser pod by the azure workload identity=>

AZURE_TENANT_ID=<....>
AZURE_FEDERATED_TOKEN_FILE=/var/run/secrets/azure/tokens/azure-identity-token
AZURE_AUTHORITY_HOST=https://login.microsoftonline.com/
AZURE_CLIENT_ID=<....>

Azure Workload Identity doc => https://learn.microsoft.com/en-us/azure/aks/workload-identity-overview?tabs=dotnet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions