The GitHub Actions job "Flink Kubernetes Operator CI" on 
flink-kubernetes-operator.git/hotfix-bg-scale-strip-phase has succeeded.
Run started by GitHub user vsantwana (triggered by gyfora).

Head commit for run:
d6c584a80ec556604a1666179c0c560768cc7624 / Santwana Verma <[email protected]>
[hotfix] Strip B/G scale subresource in process-classes so partial builds keep 
CRDs valid

The flinkbluegreendeployments CRD must not carry a scale subresource: it has no
statusReplicasPath and is rejected by the API server (helm install fails with
"spec.subresources.scale.statusReplicasPath: Required value").

RemoveScaleSubResource strips that block, but it was bound to the package phase
while crd-generator:generate and the copy of generated CRDs into helm/crds (both
added when CRD auto-generation was wired up) run in process-classes. A build 
that
stops before package -- e.g. mvn compile / test-compile -- therefore regenerates
and copies the un-stripped CRD into the committed chart without ever stripping 
it,
leaving an invalid scale block that breaks helm install.

Bind the strip to process-classes, after crd-generator:generate and
copy-resources (ordered by plugin declaration order), so every build that
regenerates the CRDs also strips the scale subresource.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

Report URL: 
https://github.com/apache/flink-kubernetes-operator/actions/runs/27821409667

With regards,
GitHub Actions via GitBox

Reply via email to