Skip to content

enhance matching #193

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

aaronhurt
Copy link

This commit reworks matching. The new matcher ignores spacing and order differences from Helm. The format of the Map.yaml file has been simplified to reflect these changes. The README.md has been updated, and a new converter tool has been provided. The current Map.yaml in this PR was generated from the previous Map.yaml via the converter.

This PR is breaking in it's current state, it will only accept the new Map.yaml format, but as stated previously a converter has been provided.

@aaronhurt aaronhurt force-pushed the ahurt/enhance-matching branch from fd9f581 to f444867 Compare March 13, 2025 14:11
@aaronhurt aaronhurt force-pushed the ahurt/enhance-matching branch from e348005 to 331aa41 Compare April 7, 2025 20:19
This commit reworks matching. The new matcher ignores spacing and order
differences from Helm. The format of the `Map.yaml` file has been simplified
to reflect these changes. The README.md has been updated, and a new
converter tool has been provided. The current `Map.yaml` in this PR was
generated from the previous `Map.yaml` via the converter.

Signed-off-by: Aaron Hurt <[email protected]>
govulncheck reported the following vulnerability.

Vulnerability #1: GO-2025-3528
    containerd has an integer overflow in User ID handling in
    github.com/containerd/containerd
  More info: https://pkg.go.dev/vuln/GO-2025-3528
  Module: github.com/containerd/containerd
    Found in: github.com/containerd/[email protected]
    Fixed in: github.com/containerd/[email protected]

Updated to github.com/containerd/[email protected] and ran tests.

Ran 9 of 9 Specs in 0.002 seconds
SUCCESS! -- 9 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestCommon (0.00s)
PASS
ok  	github.com/helm/helm-mapkubeapis/pkg/common	(cached)
?   	github.com/helm/helm-mapkubeapis/pkg/mapping	[no test files]
?   	github.com/helm/helm-mapkubeapis/pkg/v3	[no test files]

Signed-off-by: Aaron Hurt <[email protected]>
@aaronhurt aaronhurt force-pushed the ahurt/enhance-matching branch from 331aa41 to 31e9186 Compare April 7, 2025 20:21
@robertsirc
Copy link
Member

Hello, thank you for your PR, this branch has some conflicts could you please correct this and we can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants