observability-stack/MIGRATION.md

1.5 KiB

ArgoCD Apps Migration

Summary

This repository has been converted from applicationsets/ to argocd-apps/.

  • Previous model: ApplicationSet manifests under applicationsets/
  • New model: single Application manifests under argocd-apps/

applicationsets/ is now deprecated and has been moved to archive/applicationsets/.

What Changed

For each file in applicationsets/, an equivalent Application was created in argocd-apps/.

  • API kind changed from ApplicationSet to Application
  • Existing app name, project, destination server, destination namespace, repo URL, target revision, and sync policy were preserved
  • syncOptions includes CreateNamespace=true
  • spec.syncPolicy.automated.prune is temporarily set to false during takeover to avoid accidental deletions

Environment Values Policy

This repo now references prod-only chart values in ArgoCD app definitions.

  • values-int.yaml is no longer referenced by generated ArgoCD apps
  • Existing values-int.yaml files were not deleted
  • Helm apps now read values from manifests/<app>/values.yaml

Archived Legacy Structure

  • Old applicationsets/ files were moved to archive/applicationsets/
  • charts/ and manifests/ remain active in place

Required Root App Change

Update your ArgoCD root app (or app-of-apps) to point to argocd-apps/ instead of applicationsets/.

Typical change:

  • From: spec.source.path: applicationsets
  • To: spec.source.path: argocd-apps

Apply and sync the root app after this path update.