Skip to content

Structured YAML unmarshalling based manifest kind detection - #2779

Merged
tariq1890 merged 2 commits into
NVIDIA:mainfrom
kvalliyurnatt:modify_kind_detection_state_manager
Aug 21, 2026
Merged

Structured YAML unmarshalling based manifest kind detection#2779
tariq1890 merged 2 commits into
NVIDIA:mainfrom
kvalliyurnatt:modify_kind_detection_state_manager

Conversation

@kvalliyurnatt

Copy link
Copy Markdown
Contributor

Replace Regex based Kubernetes manifest kind detection with structured YAML unmarshalling. This feels a little more safe than regex based yaml parsing. Also added a couple of unit tests to test this.

Signed-off-by: Karthikeyan Valliyurnatt <kvalliyurnat@nvidia.com>
@kvalliyurnatt
kvalliyurnatt force-pushed the modify_kind_detection_state_manager branch from 868f92f to f0dc45f Compare August 21, 2026 14:37
Signed-off-by: Karthikeyan Valliyurnatt <kvalliyurnat@nvidia.com>

@tariq1890 tariq1890 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @kvalliyurnatt!

@tariq1890
tariq1890 merged commit 13b9748 into NVIDIA:main Aug 21, 2026
21 checks passed
@kvalliyurnatt
kvalliyurnatt deleted the modify_kind_detection_state_manager branch August 21, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants