File tree Expand file tree Collapse file tree 4 files changed +86
-0
lines changed
argo/cluster/databases/database Expand file tree Collapse file tree 4 files changed +86
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : mariadb.mmontes.io/v1alpha1
2
+ kind : MariaDB
3
+ metadata :
4
+ name : mariadb
5
+ spec :
6
+ port : 3306
7
+
8
+ replicas : 3
9
+
10
+ galera :
11
+ enabled : true
12
+ config :
13
+ reuseStorageVolume : true
14
+ recovery :
15
+ enabled : true
16
+
17
+ rootPasswordSecretKeyRef :
18
+ name : mariadb-secrets
19
+ key : root-password
20
+
21
+ # bootstrapFrom:
22
+ # backupRef:
23
+ # name: mariabackup
24
+
25
+ storage :
26
+ volumeClaimTemplate :
27
+ storageClassName : longhorn-single-replica
28
+ resources :
29
+ requests :
30
+ storage : 10Gi
31
+ accessModes :
32
+ - ReadWriteOnce
33
+
34
+ resources :
35
+ requests :
36
+ cpu : 100m
37
+ memory : 128Mi
38
+ limits :
39
+ cpu : 300m
40
+ memory : 512Mi
41
+
42
+ service :
43
+ type : LoadBalancer
44
+ loadBalancerIP : 10.0.0.28
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+ namespace : monitoring
4
+
5
+ resources :
6
+ - secret.yaml
7
+ - database.yaml
Original file line number Diff line number Diff line change
1
+ apiVersion : external-secrets.io/v1beta1
2
+ kind : ExternalSecret
3
+ metadata :
4
+ name : mariadb-secrets
5
+ spec :
6
+ secretStoreRef :
7
+ kind : ClusterSecretStore
8
+ name : onepassword-connect
9
+ target :
10
+ creationPolicy : Owner
11
+ dataFrom :
12
+ - extract :
13
+ key : mariadb-galera-secrets
Original file line number Diff line number Diff line change
1
+ apiVersion : argoproj.io/v1alpha1
2
+ kind : Application
3
+ metadata :
4
+ name : mariadb
5
+ namespace : argo
6
+ finalizers :
7
+ - resources-finalizer.argocd.argoproj.io
8
+ spec :
9
+ destination :
10
+ namespace : databases
11
+ server : https://kubernetes.default.svc
12
+ project : apps
13
+ source :
14
+ path : argo/cluster/databases/mariadb/chart
15
+ repoURL : https://gitlab.com/henrywhitaker3/homelab.git
16
+ targetRevision : HEAD
17
+ syncPolicy :
18
+ automated :
19
+ prune : true
20
+ selfHeal : true
21
+ syncOptions :
22
+ - CreateNamespace=true
You can’t perform that action at this time.
0 commit comments