| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
- Introduce `App` CRD (api/v1/app_types.go) for namespaced GitHub App config - Add `appRef` to Token and ClusterToken CRDs/specs for referencing App - Implement App controller and registry for per-App ghait client caching - Update RBAC, Helm chart, and CRD manifests for App support - Add tests for App logic and registry caching - Bump chart version to 0.4.0 - Enhance metrics setup with OTEL resource attributes - Update docs for multi-tenancy and observability
generics - Extract shared reconciliation logic for Token and ClusterToken into generic helpers in internal/controller/reconcile_token.go - Introduce TokenReconcilerBase for shared dependencies - Add controller name constants in internal/controller/names.go - Refactor main.go to use TokenReconcilerBase - Remove unused ghapp/context.go and ghapp/ghapp.go - Refactor Registry to use functional options for testability - Simplify e2e test helpers for Token creation - Remove redundant TokenSpec tests
- Remove unused GetName methods from Token and ClusterToken types - Remove HasStartupConfig from ghapp.Registry and related test - Remove commented and scaffolding code from CRDs and API types - Refactor tokenmanager to simplify tokenSecret construction and context usage - Update controller and tokenmanager to use new tokenSecret API
- Add a `hack/sync-crds.sh` step to `make manifests` so Helm CRD templates are regenerated from `config/crd/bases` without drifting from controller-gen output. - Switch metrics resource attributes to schemaless OpenTelemetry attributes to avoid schema URL merge conflicts at startup, and add a unit test for `metrics.Setup`. - Update e2e image builds to pass `ko --platform=linux/$GOARCH` so local images run correctly on non-amd64 kind nodes.
| Back | FazBrowse Home | New Git URL |
This pull request introduces a major new feature: support for managing multiple GitHub App credentials using a new App custom resource, enabling per-tenant or per-org credentials in addition to the existing startup configuration. It also updates the CRD API, documentation, and developer workflow to reflect this enhancement, and adds comprehensive tests for the new and modified behaviors.
New multi-App support and CRD changes:
Documentation updates:
Status and condition improvements:
Developer workflow enhancements:
Testing: