Skip to content

Migrate from individual Applications to ApplicationSet pattern#3

Closed
Copilot wants to merge 1 commit intoaaaaaaaaafrom
copilot/sub-pr-2
Closed

Migrate from individual Applications to ApplicationSet pattern#3
Copilot wants to merge 1 commit intoaaaaaaaaafrom
copilot/sub-pr-2

Conversation

Copy link

Copilot AI commented Jan 19, 2026

Refactored ArgoCD application management from individual Application manifests to an ApplicationSet that auto-discovers directories with kustomization.yaml files.

Changes:

  • Created application-set/application-set.yaml using git directory generator with path: "*" pattern
  • Converted all component application.yaml files to kustomization.yaml with helmCharts fields
  • Enabled --enable-helm in ArgoCD's kustomize.buildOptions ConfigMap patch
  • Added explicit namespace resources for cert-manager and cnpg
  • Removed root kustomization.yaml (no longer needed)

Before:

# Root kustomization.yaml
resources:
  - cert-manager/application.yaml
  - cnpg/application.yaml
  # ... 7 more explicit references

After:

# application-set/application-set.yaml
generators:
  - git:
      directories:
        - path: "*"

Same 9 applications deployed (argocd, cert-manager, cnpg, cnpg-barman-cloud-plugin, kube-prometheus-stack, loki, opentelemetry-collector, startsch, tempo) with identical versions and configurations. ApplicationSet skips directories without kustomization.yaml (application-set, monitoring).


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI mentioned this pull request Jan 19, 2026
Copilot AI changed the title [WIP] Fix issues causing different resulting cluster Migrate from individual Applications to ApplicationSet pattern Jan 19, 2026
Copilot AI requested a review from albi005 January 19, 2026 20:51
@albi005 albi005 closed this Jan 19, 2026
@albi005 albi005 deleted the copilot/sub-pr-2 branch February 1, 2026 16:08
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.

2 participants