diff --git a/catalog/kubedb/active_versions.json b/catalog/kubedb/active_versions.json index 4f43eeb86..5cce9787f 100644 --- a/catalog/kubedb/active_versions.json +++ b/catalog/kubedb/active_versions.json @@ -118,6 +118,9 @@ "5.0.14", "4.0.11" ], + "Singlestore": [ + "8.1.32" + ], "ZooKeeper": [ "3.9.1", "3.8.3", diff --git a/catalog/kubedb/raw/singlestore/singlestore-8.1.32.yaml b/catalog/kubedb/raw/singlestore/singlestore-8.1.32.yaml new file mode 100644 index 000000000..786cc4b7e --- /dev/null +++ b/catalog/kubedb/raw/singlestore/singlestore-8.1.32.yaml @@ -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 diff --git a/charts/kubedb-catalog/README.md b/charts/kubedb-catalog/README.md index 4ac4c7128..a697b0174 100644 --- a/charts/kubedb-catalog/README.md +++ b/charts/kubedb-catalog/README.md @@ -73,7 +73,7 @@ The following table lists the configurable parameters of the `kubedb-catalog` ch | featureGates.ProxySQL | | true | | featureGates.Rabbitmq | | true | | featureGates.Redis | | true | -| featureGates.SingleStore | | false | +| featureGates.Singlestore | | true | | featureGates.Solr | | false | | featureGates.ZooKeeper | | true | | psp.enabled | | true | @@ -97,8 +97,6 @@ The following table lists the configurable parameters of the `kubedb-catalog` ch | psp.redis.privileged | | false | | psp.kafka.allowPrivilegeEscalation | | false | | psp.kafka.privileged | | false | -| psp.rabbitmq.allowPrivilegeEscalation | | false | -| psp.rabbitmq.privileged | | false | | skipDeprecated | Set true to avoid deploying deprecated versions | true | diff --git a/charts/kubedb-catalog/templates/singlestore/singlestore-8.1.32.yaml b/charts/kubedb-catalog/templates/singlestore/singlestore-8.1.32.yaml new file mode 100644 index 000000000..ec5feb724 --- /dev/null +++ b/charts/kubedb-catalog/templates/singlestore/singlestore-8.1.32.yaml @@ -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 }} diff --git a/charts/kubedb-catalog/values.yaml b/charts/kubedb-catalog/values.yaml index d72c72a16..47901a7c2 100644 --- a/charts/kubedb-catalog/values.yaml +++ b/charts/kubedb-catalog/values.yaml @@ -42,7 +42,7 @@ featureGates: ProxySQL: true Rabbitmq: true Redis: true - SingleStore: false + Singlestore: true Solr: false ZooKeeper: true @@ -78,9 +78,6 @@ psp: kafka: allowPrivilegeEscalation: false privileged: false - rabbitmq: - allowPrivilegeEscalation: false - privileged: false # Set true to avoid deploying deprecated versions skipDeprecated: true diff --git a/charts/kubedb-provisioner/templates/cluster-role.yaml b/charts/kubedb-provisioner/templates/cluster-role.yaml index 5fc41f211..73f7db3d8 100644 --- a/charts/kubedb-provisioner/templates/cluster-role.yaml +++ b/charts/kubedb-provisioner/templates/cluster-role.yaml @@ -31,7 +31,7 @@ rules: - "" resources: - serviceaccounts - verbs: ["create", "delete", "list", "watch", "get", "patch", "deletecollection"] + verbs: ["create", "delete", "get", "watch", "list", "patch", "deletecollection"] - apiGroups: - apps resources: diff --git a/charts/kubedb-webhook-server/README.md b/charts/kubedb-webhook-server/README.md index 572553ca3..002c1b4c6 100644 --- a/charts/kubedb-webhook-server/README.md +++ b/charts/kubedb-webhook-server/README.md @@ -66,7 +66,7 @@ The following table lists the configurable parameters of the `kubedb-webhook-ser | featureGates.FerretDB | | false | | featureGates.Kafka | | true | | featureGates.MariaDB | | true | -| featureGates.Memcached | | true | +| featureGates.Memcached | | false | | featureGates.MicrosoftSQLServer | | false | | featureGates.MongoDB | | true | | featureGates.MySQL | | true | @@ -75,11 +75,11 @@ The following table lists the configurable parameters of the `kubedb-webhook-ser | featureGates.PgPool | | false | | featureGates.Postgres | | true | | featureGates.ProxySQL | | true | -| featureGates.RabbitMQ | | true | +| featureGates.RabbitMQ | | false | | featureGates.Redis | | true | | featureGates.Singlestore | | false | | featureGates.Solr | | false | -| featureGates.ZooKeeper | | true | +| featureGates.ZooKeeper | | false | | imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
Example:
`helm template charts/kubedb-webhook-server \`
`--set imagePullSecrets[0].name=sec0 \`
`--set imagePullSecrets[1].name=sec1` | [] | | imagePullPolicy | Container image pull policy | IfNotPresent | | criticalAddon | If true, installs KubeDB webhook server as critical addon | false | diff --git a/charts/kubedb-webhook-server/templates/provisioner/mutating-webhook.yaml b/charts/kubedb-webhook-server/templates/provisioner/mutating-webhook.yaml index 9893665a3..e5c6731ab 100644 --- a/charts/kubedb-webhook-server/templates/provisioner/mutating-webhook.yaml +++ b/charts/kubedb-webhook-server/templates/provisioner/mutating-webhook.yaml @@ -267,5 +267,22 @@ webhooks: failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }} sideEffects: None {{- end }} +{{- if $featureGates.Singlestore }} +- name: singlestorewebhook.mutators.kubedb.com + clientConfig: + service: + namespace: default + name: kubernetes + path: /apis/mutators.kubedb.com/v1alpha1/singlestorewebhooks + caBundle: {{ $caCrt }} + rules: + - apiGroups: [ "kubedb.com" ] + apiVersions: [ "*" ] + resources: [ "singlestores" ] + operations: [ "CREATE", "UPDATE" ] + admissionReviewVersions: [ "v1beta1" ] + failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }} + sideEffects: None +{{- end }} {{- end }} {{- end }} diff --git a/charts/kubedb-webhook-server/templates/provisioner/validating-webhook.yaml b/charts/kubedb-webhook-server/templates/provisioner/validating-webhook.yaml index 1b8c7c10d..19711c6ca 100644 --- a/charts/kubedb-webhook-server/templates/provisioner/validating-webhook.yaml +++ b/charts/kubedb-webhook-server/templates/provisioner/validating-webhook.yaml @@ -282,5 +282,22 @@ webhooks: failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }} sideEffects: None {{- end }} +{{- if $featureGates.Singlestore }} +- name: singlestorewebhook.validators.kubedb.com + clientConfig: + service: + namespace: default + name: kubernetes + path: /apis/validators.kubedb.com/v1alpha1/singlestorewebhooks + caBundle: {{ $caCrt }} + rules: + - apiGroups: ["kubedb.com"] + apiVersions: ["*"] + resources: ["singlestores"] + operations: ["CREATE", "UPDATE", "DELETE"] + admissionReviewVersions: ["v1beta1"] + failurePolicy: {{ .Values.apiserver.webhook.failurePolicy }} + sideEffects: None +{{- end }} {{- end }} {{- end }} diff --git a/charts/kubedb-webhook-server/values.yaml b/charts/kubedb-webhook-server/values.yaml index b50a7dbb0..419b45434 100644 --- a/charts/kubedb-webhook-server/values.yaml +++ b/charts/kubedb-webhook-server/values.yaml @@ -56,7 +56,7 @@ featureGates: FerretDB: false Kafka: true MariaDB: true - Memcached: true + Memcached: false MicrosoftSQLServer: false MongoDB: true MySQL: true @@ -65,11 +65,11 @@ featureGates: PgPool: false Postgres: true ProxySQL: true - RabbitMQ: true + RabbitMQ: false Redis: true Singlestore: false Solr: false - ZooKeeper: true + ZooKeeper: false # Specify an array of imagePullSecrets. # Secrets must be manually created in the namespace.