2025-08-14 00:12:49 +10:00
|
|
|
---
|
|
|
|
apiVersion: argoproj.io/v1alpha1
|
2025-08-14 00:16:15 +10:00
|
|
|
kind: ApplicationSet
|
2025-08-14 00:12:49 +10:00
|
|
|
metadata:
|
2025-08-14 00:16:15 +10:00
|
|
|
name: home-server-mariadb
|
2025-08-14 00:12:49 +10:00
|
|
|
namespace: argocd
|
|
|
|
spec:
|
2025-08-14 00:16:15 +10:00
|
|
|
generators:
|
|
|
|
- list:
|
|
|
|
elements:
|
|
|
|
- name: mariadb-operator
|
|
|
|
path: deploy
|
|
|
|
namespace: database
|
|
|
|
goTemplate: true
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
name: "{{.name}}"
|
|
|
|
spec:
|
|
|
|
project: default
|
|
|
|
source:
|
|
|
|
repoURL: https://github.com/mariadb-operator/mariadb-operator.git
|
|
|
|
targetRevision: main
|
|
|
|
path: "{{.path}}"
|
|
|
|
destination:
|
|
|
|
server: https://kubernetes.default.svc
|
2025-08-14 00:18:34 +10:00
|
|
|
namespace: '{{.namespace}}'
|
2025-08-14 00:16:15 +10:00
|
|
|
syncPolicy:
|
|
|
|
automated:
|
|
|
|
prune: true
|
|
|
|
selfHeal: true
|
|
|
|
syncOptions:
|
|
|
|
- CreateNamespace=true
|