argocd image updater

This commit is contained in:
Steffen Illium 2024-05-14 21:28:40 +02:00
parent 0202413579
commit 5023029f9f
3 changed files with 13 additions and 24 deletions

View File

@ -5,7 +5,6 @@ kubectl apply -k ./01-metallb
# Install argoCD for deployment and secret management # Install argoCD for deployment and secret management
kubectl apply -k ./02-argocd kubectl apply -k ./02-argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml
# Start NFD - if your cluster doesn't have NFD installed yet # Start NFD - if your cluster doesn't have NFD installed yet
kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd?ref=v0.29.0' kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd?ref=v0.29.0'

View File

@ -1,20 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: adguard
namespace: argocd
spec:
destination:
server: https://kubernetes.default.svc
namespace: adguard
project: default
source:
path: apps/adguard
repoURL: https://github.com/illiumst/kubedeploy.git
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true

View File

@ -11,10 +11,20 @@ resources:
- applications - applications
# Base functionality # Base functionality
- base/argo-cd-k-with-helm.yaml - base/argo-cd-k-with-helm.yaml
- https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml - https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- base/argo-cd-namespace.yaml - base/argo-cd-namespace.yaml
patches: patches:
- path: patches/argocd-server-service.yaml - path: patches/argocd-server-service.yaml
- path: patches/argocd-cm-patch.yaml - path: patches/argocd-cm-patch.yaml
- path: patches/argocd-cmd-params-cm.yaml - path: patches/argocd-cmd-params-cm.yaml
- patch: |-
- op: add
path: /spec/template/spec/containers/0/args/-
value: --interval=60m
target:
group: apps
version: v1
kind: Deployment
name: argocd-image-updater