aad-pod-identity
aad-pod-identity copied to clipboard
[helm]: Make azureIdentities.identity.binding optional
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
This issue is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.