Skip to content

Commit

Permalink
Update to beta.10 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgirones authored Sep 6, 2023
1 parent 591faf1 commit 52b2444
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SurrealDB Helm Charts

Repository containing the SurrealDB Helm Charts

Read the Kubernetes Deployment guides in https://surrealdb.com/docs/deployment
4 changes: 2 additions & 2 deletions charts/surrealdb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: surrealdb
type: application
version: 0.1.0
appVersion: 1.0.0-beta.9
version: 0.2.0
appVersion: 1.0.0-beta.10
description: SurrealDB is the ultimate cloud database for tomorrow's applications.
keywords:
- surrealdb
Expand Down
10 changes: 8 additions & 2 deletions charts/surrealdb/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,16 @@ spec:
value: {{ .Values.surrealdb.log }}
- name: SURREAL_BIND
value: 0.0.0.0:{{ .Values.service.port }}
{{- with .Values.surrealdb.initial_user }}
- name: SURREAL_USER
value: {{ .Values.surrealdb.user }}
value: {{ . }}
{{- end }}
{{- with .Values.surrealdb.initial_pass }}
- name: SURREAL_PASS
value: {{ .Values.surrealdb.pass }}
value: {{ . }}
{{- end }}
- name: SURREAL_AUTH
value: "{{ .Values.surrealdb.auth }}"
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
12 changes: 8 additions & 4 deletions charts/surrealdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@ args: [start]

surrealdb:
# Datastore path
#
# * tikv example
# path: tikv://tikv-pd:2379
path: memory
# Log configuration
log: info
# Root user
user: root
# Root password
pass: surrealdb
# Authentication enabled
auth: "true"
# If you want to bootstrap the datastore with an initial user, use these values the first time you install the chart
# Remember to remove them after the first install, as they are no longer used:
# initial_user: ""
# initial_pass: ""

serviceAccount:
# Specifies whether a service account should be created
Expand Down

0 comments on commit 52b2444

Please sign in to comment.