-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support sql meta backends and local fs state store backend
Signed-off-by: arkbriar <[email protected]>
- Loading branch information
Showing
24 changed files
with
1,430 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{/* | ||
Copyright RisingWave Labs | ||
SPDX-License-Identifier: APACHE-2.0 | ||
*/}} | ||
|
||
{{- if .Values.metaStore.mysql.enabled }} | ||
{{- if not .Values.metaStore.mysql.authentication.existingSecretName }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "risingwave.mysqlCredentialsSecretName" . }} | ||
labels: | ||
{{- include "risingwave.labels" . | nindent 4 }} | ||
{{- $annotations := (include "risingwave.annotations" . ) | trim }} | ||
{{- if $annotations }} | ||
annotations: | ||
{{ nindent 4 $annotations }} | ||
{{- end }} | ||
stringData: | ||
RW_MYSQL_USERNAME: {{ .Values.metaStore.mysql.authentication.username | quote }} | ||
RW_MYSQL_PASSWORD: {{ .Values.metaStore.mysql.authentication.password | quote }} | ||
{{- end }} | ||
{{- end }} |
23 changes: 23 additions & 0 deletions
23
charts/risingwave/templates/metastore/postgres-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{/* | ||
Copyright RisingWave Labs | ||
SPDX-License-Identifier: APACHE-2.0 | ||
*/}} | ||
|
||
{{- if .Values.metaStore.postgresql.enabled }} | ||
{{- if not .Values.metaStore.postgresql.authentication.existingSecretName }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "risingwave.postgresCredentialsSecretName" . }} | ||
labels: | ||
{{- include "risingwave.labels" . | nindent 4 }} | ||
{{- $annotations := (include "risingwave.annotations" . ) | trim }} | ||
{{- if $annotations }} | ||
annotations: | ||
{{ nindent 4 $annotations }} | ||
{{- end }} | ||
stringData: | ||
RW_POSTGRES_USERNAME: {{ .Values.metaStore.postgresql.authentication.username | quote }} | ||
RW_POSTGRES_PASSWORD: {{ .Values.metaStore.postgresql.authentication.password | quote }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.