From 4a4ccd0c44d24d0f256fe01f560e00e11af3b8fd Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Fri, 9 Jan 2026 01:06:22 +0900 Subject: [PATCH] FIX(argocd): use control-plane nodeSelector - Change nodeSelector from master to control-plane - K8s nodes have control-plane: "true" label - Fix pod scheduling failure FIX(argocd): use hostname instead of hosts for ingress - Change from hosts array to hostname string - Change tls from array to boolean - Matches argo-cd Helm chart expected format FIX(argocd): resolve SharedResourceWarning - Change from including argocd/ folder to argocd/argocd.yaml only - Namespace and webhook-ingress now managed by argocd app only - Prevents duplicate resource management between platform and argocd --- argocd/helm-values.yaml | 12 ++++-------- kustomization.yaml | 4 ++-- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/argocd/helm-values.yaml b/argocd/helm-values.yaml index 78b2bb9..bf528a8 100644 --- a/argocd/helm-values.yaml +++ b/argocd/helm-values.yaml @@ -6,9 +6,9 @@ # GLOBAL SETTINGS # ============================================================================= global: - # Deploy to master node + # Deploy to control-plane node nodeSelector: - node-role.kubernetes.io/master: "true" + node-role.kubernetes.io/control-plane: "true" # Tolerate control-plane taint tolerations: @@ -75,15 +75,11 @@ server: ingress: enabled: true ingressClassName: traefik + hostname: argocd0213.kro.kr annotations: cert-manager.io/cluster-issuer: letsencrypt-prod traefik.ingress.kubernetes.io/router.middlewares: authelia-authelia-auth@kubernetescrd - hosts: - - argocd0213.kro.kr - tls: - - secretName: argocd-server-tls - hosts: - - argocd0213.kro.kr + tls: true # Resource settings resources: diff --git a/kustomization.yaml b/kustomization.yaml index 198aab5..363f71a 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -10,5 +10,5 @@ resources: # ArgoCD Image Updater - argocd-image-updater/argocd.yaml - # ArgoCD configuration (no Application, just configuration) - - argocd + # ArgoCD self-management Application + - argocd/argocd.yaml