-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Enabling secret store CSI driver from Azure Portal creates null config #3045
Comments
Thanks for sharing this with us. I'll work with the team to look into. |
@raghulmsft Looking at the Create or Update API the ManagedClusterAddonProfile is very generic because it is the skeleton for any addon. I cant find for the specific addon The While this workaround fixes the issue for It the |
Action required from @Azure/aks-pm |
Issue needing attention of @Azure/aks-leads |
1 similar comment
Issue needing attention of @Azure/aks-leads |
@jenetlan, @chandraneel, @raghulmsft would you be able to assist? Issue DetailsEnabling secret store CSI driver from Azure Portal creates null config
This is consistent both at cluster creation or updating the Cluster Configuration later with the Azure Portal. When enabling the same addon from the
This behavior is the root cause for bug Azure/azure-cli#23051 that fails with a python TypeError because To Reproduce
Expected behavior
Environment:
|
Action required from @Azure/aks-pm |
Issue needing attention of @Azure/aks-leads |
1 similar comment
Issue needing attention of @Azure/aks-leads |
This issue is fixed and live in all regions. |
Hello, I confirm the config is now correct, and it is not
However, if the cluster is created with secret store CSI driver disabled, and then is enabled with the portal, I get again the
more info:
|
Thanks @zioproto for checking this. Taking another look. |
@raghulmsft why this was closed as completed ? |
Reopening to investigate the null config in the portal manage experience. |
Fixed was applied to solve this, but we are currently in deployment lockdown. Next deployment will be on 11/29. Expect a little over 1week before changes reflect on portal. |
I tested again, and now from the portal I am not able to enable "Enable secret store CSI driver" anymore. The operation seems to fail silently after a few minutes of clicking the "apply" button. |
Steps to reproduce:
Wait for the AKS cluster to be provisioned completely. Go to the Portal, select the checkbox and apply ( see screenshot ). It says Update In Progress but the feature is never activated. |
Action required from @Azure/aks-pm |
Hello Folks, I get again the same error, "update in progress" but nothing happens. Using the browser developer tools I see |
@raghulmsft any updates here? |
A deployment with the fix is in progress and can be previewed at http://preview.portal.azure.com |
Enabling secret store CSI driver from Azure Portal creates null config
This is consistent both at cluster creation or updating the Cluster Configuration later with the Azure Portal.
When enabling the same addon from the
az
cli you get:This behavior is the root cause for bug Azure/azure-cli#23051 that fails with a python TypeError because
null
is not expected in.addonProfiles.azureKeyvaultSecretsProvider.config
To Reproduce
Steps to reproduce the behavior:
az aks show -n {} -g {} | jq .addonProfiles.azureKeyvaultSecretsProvider.config
and verify the output.Expected behavior
This bug is to clarify the expected behaviour.
null
is a valid value, then in az aks update --enable-secret-rotation fails when secret store CSI driver is enabled from Azure Portal azure-cli#23051 the CLI should be patched to handle this.null
is not a valid value, the AKS API should not accept the API call from Azure Portal that leads to thenull
config.Environment:
The text was updated successfully, but these errors were encountered: