69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "3"
|
|
creationTimestamp: null
|
|
name: infrastructures
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- git:
|
|
files:
|
|
- path: infrastructures/**/k3s-cluster/config.json
|
|
repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git
|
|
requeueAfterSeconds: 20
|
|
revision: ""
|
|
template:
|
|
metadata: {}
|
|
spec:
|
|
destination: {}
|
|
project: ""
|
|
source:
|
|
repoURL: ""
|
|
- git:
|
|
files:
|
|
- path: infrastructures/**/k3s-cluster/config_dir.json
|
|
repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git
|
|
requeueAfterSeconds: 20
|
|
revision: ""
|
|
template:
|
|
metadata: {}
|
|
spec:
|
|
destination: {}
|
|
project: ""
|
|
source:
|
|
directory:
|
|
exclude: '{{ exclude }}'
|
|
include: '{{ include }}'
|
|
jsonnet: {}
|
|
recurse: true
|
|
repoURL: ""
|
|
syncPolicy: {}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/managed-by: argocd
|
|
app.kubernetes.io/name: '{{ appName }}'
|
|
name: '{{ userGivenName }}'
|
|
namespace: '{{ namespace }}'
|
|
spec:
|
|
destination:
|
|
namespace: '{{ destNamespace }}'
|
|
server: '{{ destServer }}'
|
|
ignoreDifferences:
|
|
- group: argoproj.io
|
|
jsonPointers:
|
|
- /status
|
|
kind: Application
|
|
project: k3s-cluster
|
|
source:
|
|
path: '{{ srcPath }}'
|
|
repoURL: '{{ srcRepoURL }}'
|
|
targetRevision: '{{ srcTargetRevision }}'
|
|
syncPolicy:
|
|
automated:
|
|
allowEmpty: true
|
|
prune: true
|
|
selfHeal: true
|
|
status: {} |