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

list-targets errors out on undefined arguments #675

Open
jcpunk opened this issue Jul 19, 2023 · 0 comments
Open

list-targets errors out on undefined arguments #675

jcpunk opened this issue Jul 19, 2023 · 0 comments

Comments

@jcpunk
Copy link
Contributor

jcpunk commented Jul 19, 2023

Operating system

CentOS Stream 9

Kluctl Version

2.20.8

Kubernetes Version

v1.27.2

kubectl Version

v1.27.2

Bug description

kluctl list-targets does not emit targets with mandatory manually specified arguments.

Steps to reproduce

.kluctl.yaml:

---
args:
  - name: somearg
    default: value
  - name: otherarg

targets:
  - name: working
    args:
      otherarg: defined
  - name: notworking

Then run: kluctl list-targets

Relevant log output

⚠ Failed to load target notworking: required argument otherarg not set
- args:
    otherarg: defined
  name: working
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

1 participant