mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 11:36:50 +00:00
Works with the ignoreDifferences config in argocd-cm to prevent auto-sync from triggering on controller-managed field changes (ESO finalizers, HTTPRoute annotations, etc.) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
678 B
YAML
28 lines
678 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: mosquitto
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "31"
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: infrastructure
|
|
source:
|
|
repoURL: https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
|
|
targetRevision: main
|
|
path: infrastructure/mosquitto/manifests
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: mqtt
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|
|
- ServerSideDiff=true
|
|
- RespectIgnoreDifferences=true
|