Skip to content

Include openshift-4.12 schema - #200

Merged
mclasmeier merged 2 commits into
mainfrom
mc/openshift-4.12-schema
Apr 8, 2026
Merged

Include openshift-4.12 schema#200
mclasmeier merged 2 commits into
mainfrom
mc/openshift-4.12-schema

Conversation

@mclasmeier

@mclasmeiermclasmeier commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

This is coming from the most recent 4.12.z release (currently 4.12.87).
OpenShift 4.12 is currently in the extended support phase in its lifecycle.

Generated using

 oc get --raw /openapi/v2 | jq --sort-keys 'del(.parameters, .paths[], .security, .securityDefinitions)' | \
sed -Ee 's/(Authorization: Bearer sha256)~[^ ]*/\1~REDACTED/;'

Note, the sed part was required because otherwise the pre-commit check would have caught an example token in the included documentation.

This is coming from the most recent 4.12.z release (currently 4.12.87).
Generated using
oc get --raw /openapi/v2 | jq --sort-keys 'del(.parameters, .paths[], .security, .securityDefinitions)' | sed -Ee 's/(Authorization: Bearer sha256)~[^ ]*/\1~REDACTED/;'
@mclasmeier
mclasmeier requested a review from a team as a code ownerApril 7, 2026 12:36
@mclasmeier
mclasmeier requested review from porridge and vladbologa and removed request for a teamApril 7, 2026 12:36

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

@mclasmeier

Copy link
Copy Markdown
ContributorAuthor

Perhaps you can add the trick with the sed to https://github.com/stackrox/helmtest/blob/main/internal/schemas/openapi-schemas/README.md?

Done.

@mclasmeier
mclasmeierforce-pushed the mc/openshift-4.12-schema branch from 024f15f to 35b6371CompareApril 8, 2026 09:15
@mclasmeier
mclasmeier merged commit 0248153 into mainApr 8, 2026
2 checks passed
@mclasmeier
mclasmeier deleted the mc/openshift-4.12-schema branch April 8, 2026 09:22
@porridge

Copy link
Copy Markdown
Contributor

FTR, this was removed by force-pushing, and is being redone in #201

Sign up for freeto 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

@mclasmeier@porridge