Skip to content

cleanup: sweep stale overrides/ refs + remove orphaned values-production.yaml (post-#84)#86

Merged
lucasmundim merged 2 commits into
mainfrom
cleanup-stale-overrides-refs
Jul 10, 2026
Merged

cleanup: sweep stale overrides/ refs + remove orphaned values-production.yaml (post-#84)#86
lucasmundim merged 2 commits into
mainfrom
cleanup-stale-overrides-refs

Conversation

@lucasmundim

@lucasmundim lucasmundim commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Completes shingonoide's follow-up ask on #84 — with deployment/openfilter-pipelines-controller/overrides/ moved to gitops:

1. Sweep stale overrides/ references

  • AGENTS.md: dropped the overrides/ bullet; the values.yaml bullet now notes per-env overrides live in the gitops repo.
  • values.yaml comments (gpuNodeSelector / valkey.enabled / externalValkey): point at the gitops overrides instead of overrides/<env>.yaml.

2. Remove orphaned values-production.yaml

A standalone 'sample production values' file that predates the ArgoCD/gitops pattern and is referenced by nothing (no appset/CI/Makefile/docs → deploys nowhere). Verified safe to delete — diffed every key against the chart defaults + gitops overrides/production.yaml:

section covered by
telemetry, resources, security contexts chart defaults + gitops override ✅
valkey (HA/persistence) moot — prod uses external valkey (valkey.enabled: false in gitops) ✅
affinity.podAntiAffinity (only key unique to this file) no-op at the effective replicaCount: 1; add to gitops if prod ever scales to 2+

Also removes Plainsight-internal prod config (otel-collector host, plainsightai image) from this OSS repo.

helm lint clean.

Follow-up to shingonoide's review on #84: with deployment/.../overrides/ removed (moved to
gitops), sweep the now-stale references so no one looks for the deleted directory:
- AGENTS.md: drop the overrides/ bullet; note overrides live in the gitops repo.
- values.yaml comments (gpuNodeSelector, valkey.enabled, externalValkey): point at the gitops
  overrides instead of overrides/<env>.yaml.

Not touching values-production.yaml here — it carries config NOT present in the gitops
production override (affinity, security contexts, valkey persistence/resources, ...), so its
removal needs a migrate-or-confirm-dead decision, tracked separately.
Completes shingonoide's #84 cleanup ask. This standalone 'sample production values' file
predates the ArgoCD/gitops overrides pattern and is referenced by nothing (no appset, CI,
Makefile, or docs) — so it deploys nowhere. Verified every production-relevant key is already
covered by the chart defaults + the gitops overrides/production.yaml (telemetry, resources,
security contexts; prod uses external valkey so the bundled-valkey config is moot). The only
key unique to this file — affinity.podAntiAffinity — is a no-op at the effective replicaCount
of 1; if prod ever scales to 2+ replicas, add anti-affinity to the gitops override then.

Also keeps Plainsight-internal prod config (otel-collector host, plainsightai image) out of
this OSS repo.
@lucasmundim lucasmundim changed the title docs: sweep stale overrides/ references (post-#84) cleanup: sweep stale overrides/ refs + remove orphaned values-production.yaml (post-#84) Jul 9, 2026
@lucasmundim lucasmundim self-assigned this Jul 9, 2026

@leandrobmarinho leandrobmarinho left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

Summary: Post-#84 cleanup — repoints stale overrides/ references in AGENTS.md and values.yaml comments to the gitops repo, and deletes the orphaned values-production.yaml sample.

Looks good. No blocking issues found. Verified the deletion is safe: a full-tree scan finds no reference to values-production anywhere (no appset / CI / Makefile / Helm / docs), so it deploys nowhere and removing it breaks nothing. The values.yaml diff is comment-only — the actual values (gpuNodeSelector, valkey.enabled, externalValkey.enabled) are unchanged — so there is no behavior change, and the podAntiAffinity key it carried is a no-op at the effective replicaCount: 1 (correctly noted as a gitops add-back if prod ever scales to 2+). Also good hygiene to pull Plainsight-internal prod config (otel host, plainsightai image) out of this OSS repo now that the real per-env config lives in gitops.

@shingonoide shingonoide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this is a clean post-#84 cleanup. The deleted values-production.yaml was an unconsumed sample: nothing in the repo references it (no template, workflow, Makefile, or manifest), and helm template renders correctly from values.yaml alone. The AGENTS.md and values.yaml edits correctly repoint the stale overrides/ references to the gitops repo. LGTM.

@lucasmundim lucasmundim merged commit a643647 into main Jul 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants