From 5d54ee767a9ed207c8d9a2e594229a80680cf7b1 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Sat, 10 Jan 2026 20:05:43 +0900 Subject: [PATCH] REFACTOR(argocd): separate image-updater manifests - Move ExternalSecrets to image-updater-manifests folder - Add manifests source to image-updater Application - Remove unnecessary ignoreDifferences from argocd --- argocd/argocd.yaml | 13 ------------- .../image-updater-secret.yaml | 0 argocd/image-updater.yaml | 3 +++ argocd/kustomization.yaml | 1 - 4 files changed, 3 insertions(+), 14 deletions(-) rename argocd/{manifests => image-updater-manifests}/image-updater-secret.yaml (100%) diff --git a/argocd/argocd.yaml b/argocd/argocd.yaml index 79c66af..5a9e740 100644 --- a/argocd/argocd.yaml +++ b/argocd/argocd.yaml @@ -53,16 +53,3 @@ spec: name: argocd-initial-admin-secret jsonPointers: - /data - - group: external-secrets.io - kind: ExternalSecret - jsonPointers: - - /spec/data/0/remoteRef/conversionStrategy - - /spec/data/0/remoteRef/decodingStrategy - - /spec/data/0/remoteRef/metadataPolicy - - /spec/data/1/remoteRef/conversionStrategy - - /spec/data/1/remoteRef/decodingStrategy - - /spec/data/1/remoteRef/metadataPolicy - - group: monitoring.coreos.com - kind: ServiceMonitor - jsonPointers: - - /spec/endpoints/0/metricRelabelings diff --git a/argocd/manifests/image-updater-secret.yaml b/argocd/image-updater-manifests/image-updater-secret.yaml similarity index 100% rename from argocd/manifests/image-updater-secret.yaml rename to argocd/image-updater-manifests/image-updater-secret.yaml diff --git a/argocd/image-updater.yaml b/argocd/image-updater.yaml index 663b4e2..c3e5d31 100644 --- a/argocd/image-updater.yaml +++ b/argocd/image-updater.yaml @@ -15,6 +15,9 @@ spec: - repoURL: https://github.com/K3S-HOME/platform.git targetRevision: main ref: values + - repoURL: https://github.com/K3S-HOME/platform.git + targetRevision: main + path: argocd/image-updater-manifests destination: server: https://kubernetes.default.svc namespace: argocd diff --git a/argocd/kustomization.yaml b/argocd/kustomization.yaml index b0ba83d..6affab9 100644 --- a/argocd/kustomization.yaml +++ b/argocd/kustomization.yaml @@ -8,5 +8,4 @@ resources: # Additional manifests (applied alongside Helm chart) - manifests/namespace.yaml - manifests/webhook-ingress.yaml - - manifests/image-updater-secret.yaml - manifests/priority-classes.yaml