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

Error when using --directory and --locked option at the same time #299

Closed
fritzduchardt opened this issue Oct 11, 2023 · 1 comment
Closed
Labels
bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity stale This issue has had no activity for a while and will be closed soon

Comments

@fritzduchardt
Copy link
Contributor

What steps did you take:

This is my vendir.yml

apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
- path: charts/grafana
  contents:
  - path: .
    helmChart:
      name: grafana
      version: 5.5.7
      repository:
        url: https://charts.helm.sh/stable

I am trying to use the --directory option together with the --locked option.

vendir sync -d charts/grafana --locked

What happened:

This always errors with:

vendir: Error: Expected to find directory 'nginx/custom-repo-custom-version' within lock config, but did not

What did you expect:

This should work just fine. Using the lock file for a specific directory seems a valid use case.

Environment:

  • vendir version: 0.35.0
  • Ubuntu 20.04.4

Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

@fritzduchardt fritzduchardt added bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels Oct 11, 2023
Copy link

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

@github-actions github-actions bot added the stale This issue has had no activity for a while and will be closed soon label Nov 21, 2023
@github-project-automation github-project-automation bot moved this to Closed in Carvel Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity stale This issue has had no activity for a while and will be closed soon
Projects
Archived in project
Development

No branches or pull requests

1 participant