azure-cli
azure-cli copied to clipboard
az aks enable-addons failed
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks enable-addons
Errors:
'azure-keyvault-secrets-provider'
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
six.reraise(*sys.exc_info())
...
cli/command_modules/acs/custom.py, ln 1842, in aks_enable_addons
instance = _update_addons(cmd, instance, subscription_id, resource_group_name, addons, enable=True,
cli/command_modules/acs/custom.py, ln 2197, in _update_addons
addon = ADDONS[addon_arg]
KeyError: 'azure-keyvault-secrets-provider'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here...
az aks enable-addons --addons {} --name {} --resource-group {}
Expected Behavior
Environment Summary
Linux-5.15.0-1020-azure-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash
azure-cli 2.0.81
Extensions:
azure-devops 0.17.0
Additional Context
route to CXP team
@ranjithshree You are using pretty old version of az cli and python. Can you please upgrade to latest version of az cli 2.40.0 and python is 3.10.0
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!