refactor: use kustomize overlays for ObservabilityInstaller and UIPlugin - #1206
refactor: use kustomize overlays for ObservabilityInstaller and UIPlugin#1206alanconway wants to merge 2 commits into
Conversation
Kustomize-style offline manifest generator (cmd/generator) transforms ObservabilityInstaller and UIPlugin CRs plus support files into the same resource set the operator would reconcile. - Extract common GenerateInstallerObjects, GenerateUIPluginObjects for generator and reconciler. - User secrets can be resolved offline as YAML resources or read from cluster with --cluster flag (Implemented by FallbackReader) - Parity test for output of reconciler and generator.
Replace Go struct resources with kustomize overlay building in controllers. See config/README.md for more info. Add embedded kustomize component trees under config/ for - ObservabilityInstaller (operator subscriptions and CRD instances) - UIPlugin types (dashboards, distributed-tracing, logging, troubleshooting-panel, korrel8r). Each capability is split into - operator/ (namespaces, operatorgroups, subscriptions) - resources/ (CRD instances, RBAC) directories. Parity tests verify that: - generator output matches "golden output" based on COO 1.5.1 - generator and operator output match each other.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alanconway The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important Review skippedToo many files! This PR contains 125 files, which is 25 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (125)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Attempting to use github stacked PRs but they don't work from a fork. |
Replace Go struct resources with kustomize overlay building in controllers.
See config/README.md for more info.
Add embedded kustomize component trees under config/ for
Each capability is split into
Parity tests verify that: