Skip to content

fix: replace handwritten YAML parser with yq in openshift-policy.sh - #8

Merged
YosiElias merged 1 commit into
masterfrom
fix/use-yq-for-policy-yaml-parsing
Jul 5, 2026
Merged

YosiElias merged 1 commit into
masterfrom
fix/use-yq-for-policy-yaml-parsing

Conversation

@YosiElias

Copy link
Copy Markdown
Collaborator

Replace the regex-based YAML parser (lines 50-64) with yq, fixing silent
failures on valid YAML such as block-style lists, quoted keys, non-standard
indentation, and inline comments. All 107 existing tests pass unchanged.

Signed-off-by: Yossi Elias <yelias@redhat.com>
@YosiElias
YosiElias merged commit c5a11f2 into master Jul 5, 2026
1 check passed
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.

1 participant