Skip to content

Commit a03861e

Browse files
authored
Merge pull request #1624 from rackerlabs/mariadb-ha
feat: add OpenEBS LocalPV LVM provisioner
2 parents 8a36762 + b687248 commit a03861e

5 files changed

Lines changed: 76 additions & 0 deletions

File tree

apps/appsets/project-understack-operators.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ spec:
2020
server: '*'
2121
- namespace: 'external-secrets'
2222
server: '*'
23+
- namespace: 'openebs'
24+
server: '*'
2325
- namespace: 'rook-ceph'
2426
server: '*'
2527
- namespace: 'monitoring'

apps/operators/openebs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
component: openebs
3+
componentNamespace: openebs
4+
sources:
5+
- repoURL: https://openebs.github.io/openebs
6+
chart: openebs
7+
targetRevision: 4.4.0
8+
helm:
9+
releaseName: openebs
10+
valueFiles:
11+
- $understack/operators/openebs/values.yaml
12+
- $deploy/{{.name}}/helm-configs/openebs.yaml
13+
ignoreMissingValueFiles: true
14+
- ref: understack
15+
path: 'operators/openebs'
16+
- ref: deploy
17+
path: '{{.name}}/manifests/openebs'
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{{- if or (eq (include "understack.isEnabled" (list $.Values.global "openebs")) "true") (eq (include "understack.isEnabled" (list $.Values.site "openebs")) "true") }}
2+
---
3+
apiVersion: argoproj.io/v1alpha1
4+
kind: Application
5+
metadata:
6+
name: {{ printf "%s-%s" $.Release.Name "openebs" }}
7+
annotations:
8+
argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
9+
spec:
10+
destination:
11+
namespace: openebs
12+
server: {{ $.Values.cluster_server }}
13+
project: understack-operators
14+
sources:
15+
- chart: openebs
16+
helm:
17+
ignoreMissingValueFiles: true
18+
releaseName: openebs
19+
valueFiles:
20+
- $understack/operators/openebs/values.yaml
21+
- $deploy/{{ $.Release.Name }}/helm-configs/openebs.yaml
22+
repoURL: https://openebs.github.io/openebs
23+
targetRevision: 4.4.0
24+
- path: operators/openebs
25+
ref: understack
26+
repoURL: {{ include "understack.understack_url" $ }}
27+
targetRevision: {{ include "understack.understack_ref" $ }}
28+
- ref: deploy
29+
repoURL: {{ include "understack.deploy_url" $ }}
30+
targetRevision: {{ include "understack.deploy_ref" $ }}
31+
path: '{{.name}}/manifests/openebs'
32+
syncPolicy:
33+
automated:
34+
prune: true
35+
selfHeal: true
36+
managedNamespaceMetadata:
37+
annotations:
38+
argocd.argoproj.io/sync-options: Delete=false
39+
syncOptions:
40+
- CreateNamespace=true
41+
- ServerSideApply=true
42+
- RespectIgnoreDifferences=true
43+
- ApplyOutOfSyncOnly=true
44+
{{- end }}

charts/argocd-understack/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ global:
111111
# @default -- true
112112
enabled: true
113113

114+
# -- OpenEBS
115+
openebs:
116+
# -- Enable/disable deploying OpenEBS
117+
# @default -- true
118+
enabled: true
119+
114120
# Sealed Secrets operator
115121
sealed_secrets:
116122
# -- Enable/disable deploying sealed secrets

operators/openebs/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
engines:
2+
local:
3+
zfs:
4+
enabled: false
5+
replicated:
6+
mayastor:
7+
enabled: false

0 commit comments

Comments
 (0)