Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adjust addons #3

Merged
merged 6 commits into from
Nov 15, 2023
Merged
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
24 changes: 24 additions & 0 deletions addons/apecloud-mysql/0.6.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: apecloud-mysql
annotations:
addons.extensions.kubeblocks.io/default-is-empty: "true"
xx.kubeblocks.io/kubeblocks-version: ">= 0.6.3 && < 0.7.0 "
xx.kubeblocks.io/model: RDBMS
labels:
app.kubernetes.io/version: 0.6.3
kubeblocks.io/provider: apecloud
spec:
description: 'ApeCloud MySQL is a database that is compatible with MySQL syntax and achieves high availability
through the utilization of the RAFT consensus protocol.'
type: Helm
helm:
# chartLocationURL: "https://github.com/apecloud/helm-charts/releases/download/apecloud-mysql-cluster-0.6.3/apecloud-mysql-cluster-0.6.3.tgz"
chartLocationURL: "https://jihulab.com/api/v4/projects/85949/packages/helm/stable/charts/apecloud-mysql-0.6.3.tgz"
defaultInstallValues:
- enabled: true

installable:
autoInstall: true

24 changes: 24 additions & 0 deletions addons/apecloud-mysql/0.7.0-beta.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: apecloud-mysql
annotations:
addons.extensions.kubeblocks.io/default-is-empty: "true"
xx.kubeblocks.io/kubeblocks-version: ">= 0.7.0"
xx.kubeblocks.io/model: RDBMS
labels:
app.kubernetes.io/version: 0.7.0
kubeblocks.io/provider: apecloud
spec:
description: 'ApeCloud MySQL is a database that is compatible with MySQL syntax and achieves high availability
through the utilization of the RAFT consensus protocol.'
type: Helm
helm:
# chartLocationURL: "https://github.com/apecloud/helm-charts/releases/download/apecloud-mysql-0.7.0/apecloud-mysql-0.7.0.tgz"
chartLocationURL: "https://jihulab.com/api/v4/projects/150246/packages/helm/stable/charts/apecloud-mysql-0.7.0.tgz"
defaultInstallValues:
- enabled: true

installable:
autoInstall: true

32 changes: 0 additions & 32 deletions addons/apecloud-mysql/apecloud-mysql-addon.yaml

This file was deleted.

27 changes: 27 additions & 0 deletions addons/elasticsearch/0.7.0-beta.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# copy from opsearch
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: elasticsearch
annotations:
addons.extensions.kubeblocks.io/default-is-empty: "true"
xx.kubeblocks.io/kubeblocks-version: ">= 0.7.0"
xx.kubeblocks.io/model: Search-Engine
labels:
app.kubernetes.io/version: 0.7.0
kubeblocks.io/provider: community
spec:
description: 'Elasticsearch is a distributed search and analytics engine. It is used for web search, log monitoring, and real-time analytics. Ideal for Big Data applications.'

type: Helm

helm:
# chartLocationURL: "https://github.com/apecloud/helm-charts/releases/download/elasticsearch-0.7.0/elasticsearch-0.7.0.tgz"
chartLocationURL: "https://jihulab.com/api/v4/projects/150246/packages/helm/stable/charts/elasticsearch-0.7.0.tgz"

installable:
autoInstall: false

defaultInstallValues:
- enabled: false
tolerations: "[{\"effect\":\"NoSchedule\",\"key\":\"kb-controller\",\"operator\":\"Equal\",\"value\":\"true\"}]"
34 changes: 0 additions & 34 deletions addons/elasticsearch/elasticsearch-addon.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions addons/foxlake/0.7.0-beta.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: foxlake
annotations:
addons.extensions.kubeblocks.io/default-is-empty: "true"
xx.kubeblocks.io/kubeblocks-version: "== 0.7.0"
xx.kubeblocks.io/model: RDBMS
labels:
app.kubernetes.io/version: 0.7.0
kubeblocks.io/provider: community
spec:
description: ApeCloud FoxLake is an open-source cloud-native data warehouse.

type: Helm

helm:
# chartLocationURL: "https://github.com/apecloud/helm-charts/releases/download/foxlake-0.7.0/foxlake-0.7.0.tgz"
chartLocationURL: "https://jihulab.com/api/v4/projects/150246/packages/helm/stable/charts/foxlake-0.7.0.tgz"


installable:
autoInstall: false

defaultInstallValues:
- enabled: true
30 changes: 0 additions & 30 deletions addons/foxlake/foxlake-addon.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions addons/greptimedb/0.7.0-beta.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: greptimedb
annotations:
addons.extensions.kubeblocks.io/default-is-empty: "true"
xx.kubeblocks.io/kubeblocks-version: ">= 0.7.0"
xx.kubeblocks.io/model: Time-Series
labels:
app.kubernetes.io/version: 0.7.0
kubeblocks.io/provider: community
spec:
description: 'GreptimeDB is an Apache 2.0 licensed distributed time-series database.'

type: Helm

helm:
# todo: both are 404
# chartLocationURL: "https://github.com/apecloud/helm-charts/releases/download/greptimedb-0.7.0/greptimedb-0.7.0.tgz"
chartLocationURL: "https://jihulab.com/api/v4/projects/150246/packages/helm/stable/charts/greptimedb-0.7.0.tgz"

installable:
autoInstall: false

defaultInstallValues:
- enabled: true
30 changes: 0 additions & 30 deletions addons/greptimedb/greptimedb-addon.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions addons/kafka/0.6.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: kafka
annotations:
addons.extensions.kubeblocks.io/default-is-empty: "true"
xx.kubeblocks.io/kubeblocks-version: ">= 0.6.3"
xx.kubeblocks.io/model: Stream
labels:
app.kubernetes.io/version: 0.6.3
kubeblocks.io/provider: community
spec:
description: 'Apache Kafka is a distributed streaming platform designed to build real-time pipelines and can be used as a message
broker or as a replacement for a log aggregation solution for big data applications.'

type: Helm

helm:
# chartLocationURL: "https://github.com/apecloud/helm-charts/releases/download/kafka-0.6.3/kafka-0.6.3.tgz"
chartLocationURL: "https://jihulab.com/api/v4/projects/85949/packages/helm/stable/charts/kafka-0.6.3.tgz"

installable:
autoInstall: true

defaultInstallValues:
- enabled: true
31 changes: 0 additions & 31 deletions addons/kafka/kafka-addon.yaml

This file was deleted.

43 changes: 43 additions & 0 deletions addons/llm/0.7.0-beta.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
name: llm
annotations:
addons.extensions.kubeblocks.io/default-is-empty: "true"
xx.kubeblocks.io/kubeblocks-version: ">= 0.7.0"
xx.kubeblocks.io/model: LLM
labels:
app.kubernetes.io/version: 0.7.0
kubeblocks.io/provider: apecloud
spec:
description: The large language model.
type: Helm

helm:
# todo: 404 not found
# chartLocationURL: "https://github.com/apecloud/helm-charts/releases/download/llm-0.7.0/llm-0.7.0.tgz"
chartLocationURL: "https://jihulab.com/api/v4/projects/150246/packages/helm/stable/charts/llm-0.7.0.tgz"

installOptions:

valuesMapping:
valueMap:
replicaCount: replicaCount

jsonMap:
tolerations: tolerations

resources:
cpu:
requests: resources.requests.cpu
limits: resources.limits.cpu
memory:
requests: resources.requests.memory
limits: resources.limits.memory

defaultInstallValues:
- replicas: 1
tolerations: "[{\"effect\":\"NoSchedule\",\"key\":\"kb-controller\",\"operator\":\"Equal\",\"value\":\"true\"}]"

installable:
autoInstall: false
Loading
Loading