From 078850f77a950f16b3d6c03ed3c9e3a6ee698765 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Mon, 29 Dec 2025 00:59:28 +0900 Subject: [PATCH] FIX(argocd): sharedresourcewarning by referencing - argocd.yaml files d... - Change monitoring/kustomization.yaml to reference argocd.yaml files instead of folders - Comment out argocd.yaml in each app's kustomization.yaml - Matches applications folder pattern to avoid resource conflicts --- alertmanager/kustomization.yaml | 3 ++- goldilocks/kustomization.yaml | 3 ++- grafana/kustomization.yaml | 3 ++- kube-state-metrics/kustomization.yaml | 3 ++- loki/kustomization.yaml | 3 ++- node-exporter/kustomization.yaml | 3 ++- prometheus/kustomization.yaml | 3 ++- promtail/kustomization.yaml | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/alertmanager/kustomization.yaml b/alertmanager/kustomization.yaml index 15390c4..ffa5c66 100644 --- a/alertmanager/kustomization.yaml +++ b/alertmanager/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml diff --git a/goldilocks/kustomization.yaml b/goldilocks/kustomization.yaml index 86d4f85..01ef3a9 100644 --- a/goldilocks/kustomization.yaml +++ b/goldilocks/kustomization.yaml @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml - ingress.yaml diff --git a/grafana/kustomization.yaml b/grafana/kustomization.yaml index c686d08..193ad11 100644 --- a/grafana/kustomization.yaml +++ b/grafana/kustomization.yaml @@ -2,7 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml - vault/grafana-admin-password.yaml - ingress.yaml diff --git a/kube-state-metrics/kustomization.yaml b/kube-state-metrics/kustomization.yaml index 15390c4..ffa5c66 100644 --- a/kube-state-metrics/kustomization.yaml +++ b/kube-state-metrics/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml diff --git a/loki/kustomization.yaml b/loki/kustomization.yaml index 15390c4..ffa5c66 100644 --- a/loki/kustomization.yaml +++ b/loki/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml diff --git a/node-exporter/kustomization.yaml b/node-exporter/kustomization.yaml index 15390c4..ffa5c66 100644 --- a/node-exporter/kustomization.yaml +++ b/node-exporter/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml diff --git a/prometheus/kustomization.yaml b/prometheus/kustomization.yaml index c28bbb6..27ae3cb 100644 --- a/prometheus/kustomization.yaml +++ b/prometheus/kustomization.yaml @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml - vault/postgresql-password.yaml diff --git a/promtail/kustomization.yaml b/promtail/kustomization.yaml index 15390c4..ffa5c66 100644 --- a/promtail/kustomization.yaml +++ b/promtail/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - argocd.yaml + # ArgoCD Application은 monitoring/kustomization.yaml에서 관리 + # - argocd.yaml - namespace.yaml