Repository navigation
chore(operators): remove ARC, MongoDB and OpenSearch operators - #46
Merged
Merged
Conversation
None of them had a single custom resource on any cluster, so they were
removed live on 2026-10-05 (helm uninstall, CRDs, namespaces) and the 9
null_resource.deploy_* addresses were dropped with `terraform state rm`.
- main.tf: drop deploy_{mongodb_community_operator,opensearch_operator,arc}_*
- variables/tfvars.example: drop the three version variables
- scripts: drop ARC/GitHub App helpers and the MongoDB installer
- docs: GITHUB_ARC_SETUP.md becomes a retirement note
Co-authored-by: Cursor <cursoragent@cursor.com>
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.


Summary
Removes three operators that had no consumers on any cluster: GitHub ARC (
gha-runner-scale-set-controller0.13.1), MongoDB Community operator 0.13.0, and OpenSearch operator 2.8.0.Already done live (2026-10-05)
actions.github.com, legacyactions.summerwind.dev,mongodbcommunity.mongodb.comandopensearch.opster.ioCRD.helm uninstallof the three releases, deleted the remaining ARC/summerwind/MongoDB CRDs (OpenSearch CRDs went with the chart), deleted theactions-runner-system,mongodbandopensearch-operator-systemnamespaces. No leftover CRDs, ClusterRoles, APIServices or webhooks.terraform state rmof the 9null_resource.deploy_{mongodb_community_operator,opensearch_operator,arc}_{nprd,prd,poc}_appsaddresses (state 168 → 159). Targeted-refresh=falseplan on this branch: No changes. Before thestate rm, the same plan showed exactly those 9 destroys and nothing else.Code changes
terraform/main.tf: remove the 9 resources (their destroy provisioners were not used: they continue on failure and leave CRDs behind).terraform/variables.tf,terraform.tfvars.example: removeopensearch_operator_version,mongodb_operator_version,github_arc_controller_version. Remove these from your localterraform.tfvarstoo, otherwise Terraform warns about undeclared variables.scripts/: remove ARC/GitHub App helpers (install-github-arc.sh,setup-github-app-arc.sh,complete-arc-setup.sh,create-github-app-secrets.sh,get-github-app-installation-id.sh,list-github-apps.sh,suggest-github-app-name.sh,generate-jwt.sh) andinstall-mongodb-community-operator.sh. Updatescripts/README.md.docs/GITHUB_ARC_SETUP.md: now a short retirement note, so the existing link indocs/README.mdstays valid.README.mdanddocs/ARCHITECTURE.md: operator lists updated.docs/UPGRADE_PLAN.md,docs/OPS_NOTES.mdandCHANGELOG.mdget updated in the follow-up docs PR for this upgrade wave.Note
Medium Risk
Large Terraform deletions change what
applyprovisions; clusters were already cleaned manually, but anyone relying on those operators or tfvars keys must update config before the next apply.Overview
Retires GitHub ARC, MongoDB Community, and OpenSearch from the Terraform stack and repo tooling, reflecting the 2026-10-05 live teardown (no CRs were in use on any cluster).
Terraform: Deletes nine
null_resourceblocks interraform/main.tfthat Helm-installed those operators on nprd/prd/poc apps (including ARC RBAC inmanaged-cicd). Dropsopensearch_operator_version,mongodb_operator_version, andgithub_arc_controller_versionfromvariables.tfandterraform.tfvars.example—remove them from localterraform.tfvarsto avoid undeclared-variable warnings.Scripts: Removes ARC/GitHub App helpers and
install-mongodb-community-operator.sh;scripts/README.mdno longer documents ARC or MongoDB install paths.Docs:
README.mdanddocs/ARCHITECTURE.mdnow list only CloudNativePG (plus optional Palworld) as automated operators.docs/GITHUB_ARC_SETUP.mdis a short retirement note (CI is GitLab runner on nprd-apps); prior guide lives in git history.Reviewed by Cursor Bugbot for commit 45fac0a. Bugbot is set up for automated code reviews on this repo. Configure here.