Skip to content

Commit

Permalink
Add Singlestore
Browse files Browse the repository at this point in the history
Signed-off-by: ashraful <[email protected]>
  • Loading branch information
AshrafulHaqueToni committed Jan 19, 2024
1 parent 06495db commit 5eb8814
Show file tree
Hide file tree
Showing 16 changed files with 166 additions and 91 deletions.
3 changes: 3 additions & 0 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
"5.0.14",
"4.0.11"
],
"Singlestore": [
"8.1.32"
],
"ZooKeeper": [
"3.9.1",
"3.8.3",
Expand Down
17 changes: 17 additions & 0 deletions catalog/kubedb/raw/singlestore/singlestore-8.1.32.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: SinglestoreVersion
metadata:
name: 8.1.32
spec:
coordinator:
image: ghcr.io/kubedb/singlestore-coordinator:v0.0.1
db:
image: singlestore/node:alma-8.1.32-e3d3cde6da
initContainer:
image: ghcr.io/kubedb/singlestore-init:8.1.32
securityContext:
runAsGroup: 998
runAsUser: 999
standalone:
image: singlestore/cluster-in-a-box:alma-8.1.32-e3d3cde6da-4.0.16-1.17.6
version: 8.1.32
4 changes: 3 additions & 1 deletion charts/kubedb-catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The following table lists the configurable parameters of the `kubedb-catalog` ch
| featureGates.ProxySQL | | <code>true</code> |
| featureGates.RabbitMQ | | <code>false</code> |
| featureGates.Redis | | <code>true</code> |
| featureGates.SingleStore | | <code>false</code> |
| featureGates.Singlestore | | <code>true</code> |
| featureGates.Solr | | <code>false</code> |
| featureGates.ZooKeeper | | <code>true</code> |
| psp.enabled | | <code>true</code> |
Expand All @@ -97,6 +97,8 @@ The following table lists the configurable parameters of the `kubedb-catalog` ch
| psp.redis.privileged | | <code>false</code> |
| psp.kafka.allowPrivilegeEscalation | | <code>false</code> |
| psp.kafka.privileged | | <code>false</code> |
| psp.singlestore.allowPrivilegeEscalation | | <code>false</code> |
| psp.singlestore.privileged | | <code>false</code> |
| skipDeprecated | Set true to avoid deploying deprecated versions | <code>true</code> |


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Singlestore }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: SinglestoreVersion
metadata:
name: '8.1.32'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
coordinator:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/singlestore-coordinator") $) }}:v0.0.1'
db:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "singlestore/node") $) }}:alma-8.1.32-e3d3cde6da'
initContainer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/singlestore-init") $) }}:8.1.32'
securityContext:
runAsGroup: 998
runAsUser: 999
standalone:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "singlestore/cluster-in-a-box") $) }}:alma-8.1.32-e3d3cde6da-4.0.16-1.17.6'
version: 8.1.32
{{ end }}
5 changes: 4 additions & 1 deletion charts/kubedb-catalog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ featureGates:
ProxySQL: true
RabbitMQ: false
Redis: true
SingleStore: false
Singlestore: true
Solr: false
ZooKeeper: true

Expand Down Expand Up @@ -78,6 +78,9 @@ psp:
kafka:
allowPrivilegeEscalation: false
privileged: false
singlestore:
allowPrivilegeEscalation: false
privileged: false

# Set true to avoid deploying deprecated versions
skipDeprecated: true
2 changes: 1 addition & 1 deletion charts/kubedb-crd-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The following table lists the configurable parameters of the `kubedb-crd-manager
| image.repository | App container image | <code>kubedb-crd-manager</code> |
| image.tag | Overrides the image tag whose default is the chart appVersion. | <code>""</code> |
| imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace. <br> Example: <br> `helm template charts/kubedb-ops-manager \` <br> `--set imagePullSecrets[0].name=sec0 \` <br> `--set imagePullSecrets[1].name=sec1` | <code>[]</code> |
| imagePullPolicy | Container image pull policy | <code>IfNotPresent</code> |
| imagePullPolicy | Container image pull policy | <code>Always</code> |
| nameOverride | | <code>""</code> |
| fullnameOverride | | <code>""</code> |
| podAnnotations | | <code>{}</code> |
Expand Down
2 changes: 1 addition & 1 deletion charts/kubedb-crd-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ image:
# --set imagePullSecrets[1].name=sec1
imagePullSecrets: []
# Container image pull policy
imagePullPolicy: IfNotPresent
imagePullPolicy: Always

nameOverride: ""
fullnameOverride: ""
Expand Down
42 changes: 0 additions & 42 deletions charts/kubedb-crds/crds/kubedb.com_kafkas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7310,11 +7310,6 @@ spec:
properties:
broker:
properties:
nodeSelector:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: atomic
replicas:
format: int32
type: integer
Expand Down Expand Up @@ -7436,30 +7431,9 @@ spec:
type: object
suffix:
type: string
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
type: object
controller:
properties:
nodeSelector:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: atomic
replicas:
format: int32
type: integer
Expand Down Expand Up @@ -7581,22 +7555,6 @@ spec:
type: object
suffix:
type: string
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
type: object
type: object
version:
Expand Down
19 changes: 19 additions & 0 deletions charts/kubedb-crds/crds/kubedb.com_singlestores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11568,6 +11568,25 @@ spec:
type: object
suffix:
type: string
<<<<<<< HEAD
=======
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
>>>>>>> 31bf4b9c (Add Singlestore)
type: object
type: object
version:
Expand Down
2 changes: 1 addition & 1 deletion charts/kubedb-provisioner/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ rules:
- ""
resources:
- serviceaccounts
verbs: ["create", "delete", "list", "watch", "get", "patch", "deletecollection"]
verbs: ["create", "delete", "get", "patch", "deletecollection"]
- apiGroups:
- apps
resources:
Expand Down
42 changes: 0 additions & 42 deletions charts/kubedb-ui-server/crds/kubedb.com_kafkas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7310,11 +7310,6 @@ spec:
properties:
broker:
properties:
nodeSelector:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: atomic
replicas:
format: int32
type: integer
Expand Down Expand Up @@ -7436,30 +7431,9 @@ spec:
type: object
suffix:
type: string
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
type: object
controller:
properties:
nodeSelector:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: atomic
replicas:
format: int32
type: integer
Expand Down Expand Up @@ -7581,22 +7555,6 @@ spec:
type: object
suffix:
type: string
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
type: object
type: object
version:
Expand Down
54 changes: 54 additions & 0 deletions charts/kubedb-ui-server/crds/kubedb.com_singlestores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4679,6 +4679,14 @@ spec:
properties:
aggregator:
properties:
<<<<<<< HEAD
=======
nodeSelector:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: atomic
>>>>>>> 31bf4b9c (Add Singlestore)
podTemplate:
properties:
controller:
Expand Down Expand Up @@ -8122,9 +8130,36 @@ spec:
type: object
suffix:
type: string
<<<<<<< HEAD
type: object
leaf:
properties:
=======
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
type: object
leaf:
properties:
nodeSelector:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: atomic
>>>>>>> 31bf4b9c (Add Singlestore)
podTemplate:
properties:
controller:
Expand Down Expand Up @@ -11568,6 +11603,25 @@ spec:
type: object
suffix:
type: string
<<<<<<< HEAD
=======
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
>>>>>>> 31bf4b9c (Add Singlestore)
type: object
type: object
version:
Expand Down
Loading

0 comments on commit 5eb8814

Please sign in to comment.