carvel-dev / carvel-dev/ytt

can ytt auto-explain why overlay matching did not match expected number of nodes

Open
#503 2 comments 0 reactions 0 assignees View on GitHub
discussion enhancement
Dominant language
Go
Stars
1.9k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem/challenge you have**
Users may run into a challenge determining why their overlay does not match expected number of nodes. (e.g. if `overlay.subset({"apiVersion": "cert-manager.io/v1"})` but the actual node has `cert-manager.io/v1alpha1`). it would be interesting to somehow let the user know potential nodes that were "almost" matched.

no clue how to implement this.

---
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.

Contributor guide

Open the contributing guide

Research direction

The issue does not name any implementation files, tests, or entry points. Start by tracing ytt's overlay matching behavior and how it reports mismatched node counts; done would mean a documented or tested way for users to understand near-matches without changing the requested matching semantics.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, yaml
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.