Cant merge context into kube config file from Managed AKS cluster
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 64
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
**Command Name**
`az aks get-credentials`
**Errors:**
```
az: error: unrecognized arguments: Corporate
```
```
Failed to merge credentials to kube config file: unacceptable character #x0000: special characters are not allowed
in "C:\Users\username\.kube\config", position 3
The command failed with an unexpected error. Here is the traceback:
```
- _Put any pre-requisite steps here..._
- `az aks get-credentials -g {} -n {} --subscription {} {}`
## Expected Behavior
## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.10.1
Extensions:
azure-iot 0.10.8
```
## Additional Context
Contributor guide
Research direction
Start with the `az aks get-credentials` command and reproduce the failure on the listed Windows 10, MSI-installed Azure CLI environment. Inspect how credentials are merged into `C:\Users\username\.kube\config`, including the reported `Corporate` argument and NUL-character error. Done means the command merges the managed AKS credentials without either reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, kubernetes, python
- Domain
- cli, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100