argocd-configs/bootstrap/cluster-resources.yaml

48 lines
1.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
creationTimestamp: null
name: cluster-resources
namespace: argocd
spec:
generators:
- git:
files:
- path: bootstrap/cluster-resources/*.json
repoURL: https://gitea.simplysyncedllc.com/dex/argocd-configs.git
requeueAfterSeconds: 20
revision: ""
template:
metadata: {}
spec:
destination: {}
project: ""
syncPolicy:
preserveResourcesOnDeletion: true
template:
metadata:
labels:
app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: cluster-resources-{{name}}
name: cluster-resources-{{name}}
namespace: argocd
spec:
destination:
server: '{{server}}'
ignoreDifferences:
- group: argoproj.io
jsonPointers:
- /status
kind: Application
project: default
source:
path: bootstrap/cluster-resources/{{name}}
repoURL: https://gitea.simplysyncedllc.com/dex/argocd-configs.git
syncPolicy:
automated:
allowEmpty: true
selfHeal: true
status: {}