Repository navigation
Conversation
…eSQL operator The build no longer needs the GitHub Packages credentials, because the Checkstyle config was their only use. Releases up to 0.2.0 have the Helm chart as a release asset only.
stplasim
force-pushed
the
backport-postgresql-operator-improvements
branch
from
December 4, 2026 12:12
f9b3622 to
9606a64
Compare
…improvements # Conflicts: # operator/src/main/java/it/aboutbits/garage/crd/garagecluster/GarageClusterSpec.java # operator/src/main/java/it/aboutbits/garage/crd/garageclusterconnection/GarageClusterConnectionSpec.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The PostgreSQL operator got several improvements after this operator was created from it. This PR ports the ones that were still missing here.
Stacked on #19: the checks in
errorprone.argsneed the updated Error Prone.What changed
errorprone.args, copied from the PostgreSQL operator. Checkstyle, its GitHub Packages repository and the credentials in the workflows are gone, so the build needs no token.make lintruns rumdl only, and the pre-commit hook also compiles the Java sources.javaclint, doclint and-Werror(Enable thejavac -Xlintcategories that Error Prone cannot see postgresql-operator#67, Replace HTML JavaDoc with Markdown and enablejavac -Xdoclintpostgresql-operator#69).Durationinstead oflongwith aTimeUnit,RuntimeExceptioninstead ofExceptionin a catch,Objects.equalsinstead of a Yoda condition. The others:BaseReconciler.RETRY_SECONDSis now theDurationconstantRETRY.reconcileoverloads are nowreconcileBucketandreconcileAccessKey.ref(name)inGarageBucketAccessReconcilerTestis nowlocalRef(name).GarageAdminClientFactory: thecreateoverloads are grouped.ghcr.io/aboutbits/helm-charts(Publish the Helm chart as an OCI artifact to GHCR postgresql-operator#79, Move the Helm chart to the helm-charts OCI repository and renameDOCKER_IMAGEtoOCI_IMAGEpostgresql-operator#88). The README and the release notes lead with theoci://install.permissions: {}on the release workflow, explicit secrets instead ofsecrets: inherit, and the version increment goes through an environment variable.README.mdandAGENTS.mdno longer mention Checkstyle.Review notes
sedfor the README version needs at least one digit, so it skips the--version "${VERSION}"upgrade example.Test scope
./gradlew :operator:testpassed locally with these changes: 203 tests, against K3s and a real Garage node. The run was on the final state of this branch, with Quarkus 4.0.1 and Gradle 9.9.3.rumdl check .passes.🤖 Generated with Claude Code