feat: bootstrap Sonarr Kubernetes operator - #2
Merged
Conversation
Controller fixes: - custom_format: map CRD fields (value/min/max) to Sonarr API Field objects - auto_tag: same field mapping fix as custom_format - quality_profile: follow Terraform provider approach, fetch all quality definitions and custom formats, include all in items/format_items - quality_profile: default min_upgrade_format_score to 1 (Sonarr v4 requires >= 1) - traits: write Ready=False status condition on reconcile errors - sonarr: reduce requeue to 15s when instance not ready E2E test fixes: - custom_format_lifecycle: add valid ReleaseTitleSpecification - cross_resource_dependencies: add specifications to AutoTag and CustomFormat - quality_profile_lifecycle: set min_upgrade_format_score to 1 - root_folder_lifecycle: use /tmp path that exists in Sonarr container - sonarr_client: fix autotag API endpoint from /autotag to /autotagging
…ig in CI workflows
Co-authored-by: Copilot <copilot@github.com>
…de readability Co-authored-by: Copilot <copilot@github.com>
- bump K8s matrix from unavailable v1.28/v1.29 to v1.32/v1.33/latest - add github-token to setup-k3d-k3s (avoid API rate limits) - quote $GITHUB_OUTPUT to satisfy shellcheck SC2086 - quote basename argument in chart packaging step - add scripts/verify-release.sh for post-release verification
# Conflicts: # .gitignore
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.
Bootstrap the Sonarr Kubernetes operator for the initial v0.1.0 release.
What's included
devopsarr.io/v1alpha1and controllers reconciling them against a Sonarr instancecharts/sonarr-operator/): single source of truth for CRDs; supportscrds.install/crds.keep/crds.annotations/crds.additionalLabelscargo run --bin crdgen -- --split ... --helmproduces Helm-templated CRDs.github/workflows/ci.yml): lint, unit tests, actionlint, CRD generation, integration tests on a k3d matrix (v1.32/v1.33/latest), full E2E against real Sonarr in-cluster.github/workflows/cd.yml): release-please multi-package (Rust + chart) with linked versions, multi-arch image build, chart push to OCI GHCR, cosign keyless signing, docs generation, and release asset attachmentVerified locally
make release-preflightgreenactionlint,shellcheck,cargo clippy --all-targets -D warnings,cargo fmt --checkall clean