From 1fb36353b4b3ef637ff89d5e39d053f4ee3713df Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Tue, 10 Oct 2023 13:33:22 +0200 Subject: [PATCH] manage argocd-imageupdate --- .../argocd-imageupdate/kustomization.yaml | 3 ++- .../argocd-imageupdate/application.yaml | 18 ++++++++++++++++++ .../argocd-imageupdate/kustomization.yaml | 4 ++++ kluster-deployments/kustomization.yaml | 1 + 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 kluster-deployments/argocd-imageupdate/application.yaml create mode 100644 kluster-deployments/argocd-imageupdate/kustomization.yaml diff --git a/infrastructure/argocd-imageupdate/kustomization.yaml b/infrastructure/argocd-imageupdate/kustomization.yaml index 1352fe4..f79b6c9 100644 --- a/infrastructure/argocd-imageupdate/kustomization.yaml +++ b/infrastructure/argocd-imageupdate/kustomization.yaml @@ -5,7 +5,8 @@ namespace: argocd resources: - - https://github.com/argoproj-labs/argocd-image-updater/manifests/base + # - https://github.com/argoproj-labs/argocd-image-updater/manifests/base + - https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml # patches: diff --git a/kluster-deployments/argocd-imageupdate/application.yaml b/kluster-deployments/argocd-imageupdate/application.yaml new file mode 100644 index 0000000..1766967 --- /dev/null +++ b/kluster-deployments/argocd-imageupdate/application.yaml @@ -0,0 +1,18 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: journal-application + namespace: argocd +spec: + project: default + source: + repoURL: https://github.com/moll-re/k3s-infra.git + targetRevision: main + path: infrastructure/argocd-imageupdate + destination: + server: https://kubernetes.default.svc + namespace: journal + syncPolicy: + automated: + prune: true + selfHeal: true \ No newline at end of file diff --git a/kluster-deployments/argocd-imageupdate/kustomization.yaml b/kluster-deployments/argocd-imageupdate/kustomization.yaml new file mode 100644 index 0000000..0b082ba --- /dev/null +++ b/kluster-deployments/argocd-imageupdate/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- application.yaml \ No newline at end of file diff --git a/kluster-deployments/kustomization.yaml b/kluster-deployments/kustomization.yaml index 702a498..2a71070 100644 --- a/kluster-deployments/kustomization.yaml +++ b/kluster-deployments/kustomization.yaml @@ -5,6 +5,7 @@ namespace: argocd resources: + - argocd-imageupdate/ - whoami/ - journal/ - immich/ \ No newline at end of file