aad-pod-identity icon indicating copy to clipboard operation
aad-pod-identity copied to clipboard

[helm]: Make azureIdentities.identity.binding optional

Open Segflow opened this issue 3 years ago • 1 comments

Describe the bug

We want to be build to define some azure identities when creating the helm chart but without defining any binding.

Currently this fails with:

Error: template: aad-pod-identity/templates/identities.yaml:29:21: executing "aad-pod-identity/templates/identities.yaml" at <$value.binding.name>: nil pointer evaluating interface {}.name

Steps To Reproduce

Use this values.yaml

azureIdentities:
  testid:
    name: "testid_name"
    namespace: "namespaceA"
    type: 0
    resourceID: "12"
    clientID: "12"

Expected behavior

When no binding is defined, only the AzureIdentity resources should be created

AAD Pod Identity version 1.8.2

Kubernetes version v1.20.7

Segflow avatar Aug 25 '21 10:08 Segflow

This issue is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.

github-actions[bot] avatar Sep 16 '21 00:09 github-actions[bot]