kapitan: --inventory-path throwing an error on v0.29.x

Describe the bug/feature An error is thrown when trying to compile templates that are not in the current directory

To Reproduce Steps to reproduce the behavior:

  1. Be in the parent directory
  2. Attempt to compile the templates using kapitan compile --inventory-path ./deployments/inventory --search-paths ./deployments --output-path deployments
  3. Get an Error
Inventory not found in search paths: ['/Users/jamesglennan/code/cert-manager/deployments', '/var/folders/0d/qdh7jkkj65153mzkmblmfnvm0000gn/T/tmp12g0g5wq.kapitan']

Expected behavior Expect templates to compile, works on v0.28 (and below afaik)

** If it’s a bug (please complete the following information)😗*

  • python --version: Python 3.8.5
  • pip3 --version: pip 20.1.1
  • Are you using pyenv or virtualenv? No

Additional context Add any other context about the problem here. Works if you cd into the directory and just run kapitan compile Workaround is to use v0.28 or cd into dir.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (14 by maintainers)

Most upvoted comments

@ramaro Out of curiosity, what’s the release schedule on Kapitan? Twice a month? or thereabouts?

No official release schedule, mostly going based on needs. I can start 0.29.3 for you now. 😃