Do the old way stupid gpt
This commit is contained in:
parent
b9bad910a3
commit
d1d99f9b27
1 changed files with 48 additions and 27 deletions
|
@ -1,32 +1,53 @@
|
|||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
kind: Application
|
||||
metadata:
|
||||
name: home-server-mariadb
|
||||
name: mariadb-operator-crds
|
||||
namespace: argocd
|
||||
spec:
|
||||
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
|
||||
namespace: '{{.namespace}}'
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
project: default
|
||||
source:
|
||||
repoURL: "https://charts.mariadb.com/mariadb-operator"
|
||||
chart: "mariadb-operator-crds"
|
||||
targetRevision: "0.38.1"
|
||||
helm:
|
||||
releaseName: "mariadb-operator-crds"
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: database
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- SkipHooks=false
|
||||
- SyncWave=0
|
||||
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mariadb-operator
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: "https://charts.mariadb.com/mariadb-operator"
|
||||
chart: "mariadb-operator"
|
||||
targetRevision: "0.38.1"
|
||||
helm:
|
||||
releaseName: "mariadb-operator"
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: database
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- SkipHooks=false
|
||||
- SyncWave=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue