Azure / Azure/azure-cli-extensions

az connectedk8s cli is not working

Open
#3,037 3 comments 0 reactions 0 assignees View on GitHub
Connected Kubernetes Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az connectedk8s`

**Errors:**
```
mapping values are not allowed here
in "", line 5, column 15:
- name: name: Get access to a connected kube ...
^
Traceback (most recent call last):
python3.8/site-packages/knack/cli.py, ln 233, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 589, in execute
parsed_args = self.parser.parse_args(args)
python3.8/site-packages/knack/parser.py, ln 262, in parse_args
return super(CLICommandParser, self).parse_args(args)
...
python3.8/site-packages/yaml/scanner.py, ln 577, in fetch_value
raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
in "", line 5, column 15:
- name: name: Get access to a connected kube ...
^
```

## 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 connectedk8s {} -n {} -g {} --auth-token`

## Expected Behavior

## Environment Summary
```
macOS-11.1-x86_64-i386-64bit
Python 3.8.8
Installer: HOMEBREW

azure-cli 2.19.1

Extensions:
k8sconfiguration 0.2.0
connectedk8s 0.3.7
k8s-extension 0.1PP.13

```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.