jsonnet-libs / k8s

Code generator for Jsonnet Kubernetes libraries.
Apache License 2.0
171 stars 98 forks source link

Fix SecretProviderClass typo #338

Closed mriedmann closed 1 year ago

mriedmann commented 1 year ago

There is a tiny typo in the SecretProviderClass custom function "withClientId". The azure operator is specifically asking for clientID rather than clientId.

Adding the wrong casing results in the following error:

secrets-store E0804 16:23:24.908716       1 reconciler.go:223] "failed to reconcile spc for pod" err="failed to rotate objects for pod ***, err: rpc error: code = Unknown desc = failed to mount objects, error: failed to create auth config, error: could not find clientid in secrets(map[])" spc="***" pod="***" controller="rotation"

The parameters are not defined in the CRD and therefore vulnerable to typos.