Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/appsets/project-understack-operators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ spec:
server: '*'
- namespace: 'external-secrets'
server: '*'
- namespace: 'openebs'
server: '*'
- namespace: 'rook-ceph'
server: '*'
- namespace: 'monitoring'
Expand Down
17 changes: 17 additions & 0 deletions apps/operators/openebs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
component: openebs
componentNamespace: openebs
sources:
- repoURL: https://openebs.github.io/openebs
chart: openebs
targetRevision: 4.4.0
helm:
releaseName: openebs
valueFiles:
- $understack/operators/openebs/values.yaml
- $deploy/{{.name}}/helm-configs/openebs.yaml
ignoreMissingValueFiles: true
- ref: understack
path: 'operators/openebs'
- ref: deploy
path: '{{.name}}/manifests/openebs'
44 changes: 44 additions & 0 deletions charts/argocd-understack/templates/application-openebs.yaml.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{{- if or (eq (include "understack.isEnabled" (list $.Values.global "openebs")) "true") (eq (include "understack.isEnabled" (list $.Values.site "openebs")) "true") }}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ printf "%s-%s" $.Release.Name "openebs" }}
annotations:
argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
spec:
destination:
namespace: openebs
server: {{ $.Values.cluster_server }}
project: understack-operators
sources:
- chart: openebs
helm:
ignoreMissingValueFiles: true
releaseName: openebs
valueFiles:
- $understack/operators/openebs/values.yaml
- $deploy/{{ $.Release.Name }}/helm-configs/openebs.yaml
repoURL: https://openebs.github.io/openebs
targetRevision: 4.4.0
- path: operators/openebs
ref: understack
repoURL: {{ include "understack.understack_url" $ }}
targetRevision: {{ include "understack.understack_ref" $ }}
- ref: deploy
repoURL: {{ include "understack.deploy_url" $ }}
targetRevision: {{ include "understack.deploy_ref" $ }}
path: '{{.name}}/manifests/openebs'
syncPolicy:
automated:
prune: true
selfHeal: true
managedNamespaceMetadata:
annotations:
argocd.argoproj.io/sync-options: Delete=false
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- RespectIgnoreDifferences=true
- ApplyOutOfSyncOnly=true
{{- end }}
6 changes: 6 additions & 0 deletions charts/argocd-understack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ global:
# @default -- true
enabled: true

# -- OpenEBS
openebs:
# -- Enable/disable deploying OpenEBS
# @default -- true
enabled: true

# Sealed Secrets operator
sealed_secrets:
# -- Enable/disable deploying sealed secrets
Expand Down
7 changes: 7 additions & 0 deletions operators/openebs/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
engines:
local:
zfs:
enabled: false
replicated:
mayastor:
enabled: false
Loading