Skip to content
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

tctl get resources outputs items in the format not compatible with tctl create #2479

Closed
klizhentas opened this issue Jan 10, 2019 · 0 comments
Assignees

Comments

@klizhentas
Copy link
Contributor

What happened:

tctl get cert_authorities > /tmp/ca.yaml
tctl create -f /tmp/ca.yaml

ERROR: Can not unmarshal resource types into...

What you expected to happen:

Should work out of the box

@klizhentas klizhentas self-assigned this Jan 10, 2019
@klizhentas klizhentas added this to the 3.2 "Pleasanton" milestone Jan 10, 2019
klizhentas added a commit that referenced this issue Feb 10, 2019
This commit fixes an issue when tctl
output in YAML was not compatible with tctl create.

Before:

```
$ tctl get users

- User: value
- User: value
```

After:

```
$ tctl get users

User: value
---
User: value
```
klizhentas added a commit that referenced this issue Feb 11, 2019
This commit fixes an issue when tctl
output in YAML was not compatible with tctl create.

Before:

```
$ tctl get users

- User: value
- User: value
```

After:

```
$ tctl get users

User: value
---
User: value
```
klizhentas added a commit that referenced this issue Feb 11, 2019
This commit fixes an issue when tctl
output in YAML was not compatible with tctl create.

Before:

```
$ tctl get users

- User: value
- User: value
```

After:

```
$ tctl get users

User: value
---
User: value
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants