Skip to content

feat: add Flink 2.3 and 2.4 support - #943

Open
delucena wants to merge 1 commit into
datreeio:mainfrom
delucena:feat/flink-2-3-2-4
Open

feat: add Flink 2.3 and 2.4 support#943
delucena wants to merge 1 commit into
datreeio:mainfrom
delucena:feat/flink-2-3-2-4

Conversation

@delucena

Copy link
Copy Markdown

PR Checklist

  • I generated these CRs using the CRD Extractor tool. If I used a different method, I have described the method in this PR.
  • I am updating existing schemas and have specified the updated schema version.
  • I am adding new schemas and included a link to the GitHub repository that contains the source of these schemas.

What changed

Regenerates flink.apache.org/flinkdeployment_v1beta1.json from the FlinkDeployment CRD used by Apache Flink Kubernetes Operator 1.15.

The full extractor script requires Bash 4+, so the schema was generated by running the catalog's own Utilities/openapi2jsonschema.py converter directly against the CRD. This is the same converter invoked by the CRD Extractor.

This update:

  • adds Flink v2_3 and v2_4 to spec.flinkVersion.enum;
  • adds the generated status.conditions schema present in the Operator 1.15 CRD.

Source/reference:

Why

The catalog schema currently ends at v2_2, causing schema validators such as kubeconform to reject valid Flink 2.3 deployments.

Validation

  • jq empty flink.apache.org/flinkdeployment_v1beta1.json
  • git diff --check
  • kubeconform 0.6.7:
    • 17 rendered FlinkDeployment manifests using v2_3: valid
    • minimal FlinkDeployment using v2_4: valid
    • unsupported v9_9: rejected as expected

@delucena
delucena marked this pull request as ready for review August 14, 2026 20:49
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