Skip to content

Unable to reference Service Principal from existing secret #1745

@jrbe228

Description

@jrbe228

Most likely this is some bad syntax on my side, but here goes...

Describe the bug
In my Helm values, I supply -

armAuth:
  type: servicePrincipal
  # Generate this value with:
  #   az ad sp create-for-rbac --subscription <subscription-uuid> --sdk-auth | base64 -w0
  # secretJSON: ''
  # name of existing Secret containing armAuth.json
  # if set, no secret is being created by the chart
  existingSecret: azure-config-file

However this results in an error:
armAuth.secretJSON is required when using servicePrincipal

To Reproduce
Steps to reproduce the behavior:

  1. Create an Azure Service Principal
  2. Store credentials in K8s secret
  3. Reference the secret from Helm values as shown above

Ingress Controller details

  • Output of controller pod logs -
    container "ingress-azure" in pod "ingress-azure-5bfd9d6c99-gslp2" is waiting to start: ContainerCreating

  • Helm chart:
    oci://mcr.microsoft.com/azure-application-gateway/charts/ingress-azure

  • Chart version:
    1.7.4

  • Container image:
    mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.9.2

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