chore(add-ons): Add Argo CD Image Updater

This commit is contained in:
2026-11-05 20:16:35 +05:30
parent 02b375d7e6
commit e42a9ba6c6
4 changed files with 77 additions and 0 deletions
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- networkpolicy.yaml
@@ -0,0 +1,37 @@
# DNS, the API, and container registries over HTTPS; kubelet probes the
# health port
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: argocd-image-updater
namespace: argocd
spec:
egress:
- ports:
- port: 53
protocol: UDP
- port: 53
protocol: TCP
to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
podSelector:
matchLabels:
k8s-app: kube-dns
- ports:
- port: 6443
protocol: TCP
- ports:
- port: 443
protocol: TCP
ingress:
- ports:
- port: 8081
protocol: TCP
podSelector:
matchLabels:
app.kubernetes.io/name: argocd-image-updater
policyTypes:
- Ingress
- Egress
@@ -0,0 +1,35 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
argocd.argoproj.io/client-side-apply-migration-manager: argocd-controller
argocd.argoproj.io/sync-wave: "1"
name: argocd-image-updater
namespace: argocd
spec:
destination:
namespace: argocd
server: https://kubernetes.default.svc
project: default
sources:
- chart: argocd-image-updater
repoURL: https://argoproj.github.io/argo-helm
targetRevision: 1.4.0
helm:
values: |
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 10m
memory: 64Mi
- path: add-ons/argocd-image-updater
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
targetRevision: main
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- ServerSideApply=true
+1
View File
@@ -3,6 +3,7 @@ kind: Kustomization
resources:
- alloy.yaml
- argocd-dashboard.yaml
- argocd-image-updater.yaml
- authentik.yaml
- cert-manager.yaml
- cnpg.yaml