carvel-dev / kapp

kapp is a simple deployment tool focused on the concept of "Kubernetes application" — a set of resources with the same label

Home Page:https://carvel.dev/kapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add validations for matchers used in kapp config

praveenrewar opened this issue · comments

Describe the problem/challenge you have
Currently we don't have any validations for the matchers (e.g apiGroup in apiGroupKindMatcher can have a /).
This causes unexpected behaviour instead of an error.

Describe the solution you'd like
Adding validations for these matchers would help in erroring out at an early stage instead of unexpected behaviour.
We can add the following validations:

  • apiGroup in apiGroupKindMatcher shouldn't have a /

Anything else you would like to add:
[Additional information that will assist in solving the issue.]


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.

Moving it to unprirotized backlog