Skip to content

Commit

Permalink
chore: migrate redis chart to addon (apecloud#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
heng4fun authored Mar 17, 2023
1 parent 0bef037 commit b2f5f73
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions deploy/helm/templates/addons/redis-addon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: redis
labels:
{{- include "kubeblocks.labels" . | nindent 4 }}
"kubeblocks.io/provider": community
{{- if .Values.keepAddons }}
annotations:
helm.sh/resource-policy: keep
{{- end }}
spec:
description: 'Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.'

type: Helm

helm:
# chartLocationURL: https://github.com/apecloud/helm-charts/releases/download/redis-{{ default .Chart.Version .Values.versionOverride }}/redis-{{ default .Chart.Version .Values.versionOverride }}.tgz
chartLocationURL: https://jihulab.com/api/v4/projects/85949/packages/helm/stable/charts/redis-{{ default .Chart.Version .Values.versionOverride }}.tgz

installable:
autoInstall: false

defaultInstallValues:
- enabled: true
1 change: 1 addition & 0 deletions docs/release_notes/v0.1.0/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ We would like to extend our appreciation to all contributors who helped make thi
* KubeBlocks private network Load Balancer
* ApeCloud MySQL ClusterDefinition API
* Community PostgreSQL ClusterDefinition API
* Community Redis ClusterDefinition API
* Cluster availability demo application named NyanCat
* ClusterDefinition API `spec.connectionCredential` add following built-in variables:
* A random UUID v4 generator `$(UUID)`
Expand Down

0 comments on commit b2f5f73

Please sign in to comment.