kubernetes-sigs / cloud-provider-azure

Cloud provider for Azure
https://cloud-provider-azure.sigs.k8s.io/
Apache License 2.0
260 stars 274 forks source link

Helm chart: cloud config secret flag passed incorrectly #7188

Open a13x5 opened 8 hours ago

a13x5 commented 8 hours ago

What happened:

When installing cloud-provider-azure using helm chart provided with cloudControllerManager.cloudConfigSecretName set it behaves incorrectly (still tries to use /etc/kubernetes/azure.json).

What you expected to happen:

According to the docs in section Dynamically reloading cloud controller manager when using the --cloud-config-secret-name user should:

This is not the case with the current chart, since it sets both options and don't pass the --enable-dynamic-reloading option, thus the cloudControllerManager.cloudConfigSecretName value doesn't work.

How to reproduce it (as minimally and precisely as possible):

Install cloud-provider-azure using helm with --set cloudControllerManager.cloudConfigSecretName="azure-cloud-provider".