Skip to content

Commit

Permalink
Use kubestash
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Dec 21, 2023
1 parent 7595a57 commit 4ea5e2e
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
57 changes: 57 additions & 0 deletions charts/ace-installer/templates/apps/stash/kubestash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{{- with (index .Values "helm" "releases" "kubestash") }}
{{- if .enabled }}

{{ $overrides := printf `
global:
registryFQDN: %s
` (include "registry.ghcr" $) | fromYaml }}
{{ $vals := dig "values" dict . }}
{{ $vals = mergeOverwrite $vals $overrides }}
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: kubestash
namespace: {{ $.Release.Namespace }}
labels:
app.kubernetes.io/component: kubestash
app.kubernetes.io/part-of: opscenter-backup
spec:
interval: 5m
timeout: 30m
releaseName: kubestash
targetNamespace: kubestash
storageNamespace: kubestash
install:
createNamespace: true
# crds: CreateReplace
remediation:
retries: -1
upgrade:
crds: CreateReplace
remediation:
retries: -1
dependsOn:
- name: opscenter-features
namespace: {{ $.Release.Namespace }}
- name: license-proxyserver
namespace: {{ $.Release.Namespace }}
- name: cert-manager
namespace: {{ $.Release.Namespace }}
- name: panopticon
namespace: {{ $.Release.Namespace }}
chart:
spec:
chart: kubestash
version: {{ .version | quote }}
sourceRef:
kind: HelmRepository
name: appscode-charts-oci
namespace: {{ $.Release.Namespace }}
{{- with $vals }}
{{- dict "values" . | toYaml | nindent 2 }}
{{- end }}
{{- end }}
{{- end }}
7 changes: 6 additions & 1 deletion charts/ace-installer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,18 @@ helm:
kubedb-ops-manager:
enabled: true
kubedb-autoscaler:
enabled: false
enabled: true
kubedb-kubestash-catalog:
enabled: true
kubedb-dashboard:
enabled: false
kubedb-schema-manager:
enabled: false
kubedb-metrics:
enabled: false
kubestash:
enabled: true
version: "v2023.12.1"
license-proxyserver:
enabled: true
version: "v2023.11.14"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ kubedb-ops-manager:
enabled: true
kubedb-autoscaler:
enabled: true
kubedb-kubestash-catalog:
enabled: true
kubedb-dashboard:
enabled: true
kubedb-schema-manager:
Expand Down

0 comments on commit 4ea5e2e

Please sign in to comment.