Skip to content

Include openshift-4.12 schema#200

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

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

Conversation

@mclasmeier
Copy link
Copy Markdown
Contributor

@mclasmeier mclasmeier commented Apr 7, 2026

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 owner April 7, 2026 12:36
@mclasmeier mclasmeier requested review from porridge and vladbologa and removed request for a team April 7, 2026 12:36
Copy link
Copy Markdown
Contributor

@porridge porridge left a comment

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
Contributor Author

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 mclasmeier force-pushed the mc/openshift-4.12-schema branch from 024f15f to 35b6371 Compare April 8, 2026 09:15
@mclasmeier mclasmeier merged commit 0248153 into main Apr 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

porridge commented Apr 8, 2026

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

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