Prevents perpetual OutOfSync on bgppeers.metallb.io and other metallb CRDs caused by apiserver-populated .status fields not present in the Helm chart source.
35 lines
878 B
YAML
35 lines
878 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: metallb
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "0"
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://metallb.github.io/metallb
|
|
chart: metallb
|
|
targetRevision: "0.14.9"
|
|
helm:
|
|
valueFiles:
|
|
- $values/manifests/metallb/values.yaml
|
|
- repoURL: https://gitea.fireflylab.cc/duynguyen/cluster-bootstrap.git
|
|
targetRevision: main
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: metallb-system
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
ignoreDifferences:
|
|
- group: apiextensions.k8s.io
|
|
kind: CustomResourceDefinition
|
|
jsonPointers:
|
|
- /status
|
|
- /spec/conversion/webhook/clientConfig/caBundle
|