Open dive-deeper opened 3 years ago
In addition to this, if one of the files referenced in targets
has an extension .yaml
, the compile
call is failing with a cryptic error, i.e.:
kapitan compile -t microservice
Inventory reclass error: ->
Inventory Queries:
-> microservice
In yaml_fs:///workspace/kapitan/inventory/targets/microservice.yml
Class base not found under yaml_fs://./inventory/classes
Thank you @bdnf, this has to do with the kapitan/reclass component. I will transfer the issue.
any update on issue ? what is proper behaviour. should be using .yml/.yaml or both can be used
This issue is stale because it has been open for 1 year with no activity. Remove the stale label or comment if this issue is still relevant for you. If not, please close it yourself.
Describe the bug/feature Kapitan should accept
.yaml
files as input (targets), similar to how it can produce them.To Reproduce Steps to reproduce the behavior:
.yaml
fileskapitan compile
Error: no targets found
.yml
and see it workExpected behavior Kapitan compiles independently of input format (yml vs yaml)
If it's a bug (please complete the following information):
python --version
: 3.9.5pip3 --version
: 20.3.4Are you using pyenv orj virtualenv?
NoThanks