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

Tink CLI template update when used with "stdin" still requires "--path" #589

Closed
ichekrygin opened this issue Feb 9, 2022 · 1 comment
Closed

Comments

@ichekrygin
Copy link

Related to: #587

tink template update should not require --path argument when updating template data over stdin.

Expected Behaviour

vagrant@ubuntu-focal:/vagrant/compose$ cat ./manifests/template/ubuntu.yaml | tt update 6f18beff-89d2-11ec-b67d-0242ac120004
Updated Template:  6f18beff-89d2-11ec-b67d-0242ac120004

Current Behaviour

vagrant@ubuntu-focal:/vagrant/compose$ tt update 6f18beff-89d2-11ec-b67d-0242ac120004 < ./manifests/template/ubuntu.yaml
2022/02/09 18:16:46 Nothing is provided in the file path

Possible Solution

Current workaround:

vagrant@ubuntu-focal:/vagrant/compose$ cat ./manifests/template/ubuntu.yaml | tt update 6f18beff-89d2-11ec-b67d-0242ac120004 --path nothing
Updated Template:  6f18beff-89d2-11ec-b67d-0242ac120004

Steps to Reproduce (for bugs)

Context

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS):

  • How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:

  • Link to your project or a code example to reproduce issue:

@detiber
Copy link
Contributor

detiber commented Feb 9, 2022

This should be resolved with #588

Please reopen if the problem still exists

@detiber detiber closed this as completed Feb 9, 2022
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