Skip to content

Commit ad5c2a8

Browse files
committed
allow manual password creation
1 parent ad0c5ae commit ad5c2a8

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

charts/edgedb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: edgedb
33
description: A Helm chart for self hosting EdgeDB
44
type: application
5-
version: 0.1.44
5+
version: 0.1.5
66
appVersion: "5.6"

charts/edgedb/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,13 @@ spec:
8989
- name: EDGEDB_SERVER_PASSWORD
9090
valueFrom:
9191
secretKeyRef:
92+
{{- if .Values.security.password }}
93+
name: {{ .Values.security.password.secret }}
94+
key: {{ .Values.security.password.key }}
95+
{{- else }}
9296
name: {{ include "edgedb.fullname" . }}-server-password
9397
key: password
98+
{{- end }}
9499
{{- with .Values.env }}
95100
{{- toYaml . | nindent 8 }}
96101
{{- end }}

charts/edgedb/values-example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ storage:
1717
enabled: true
1818
className: "local-path"
1919
storage: "10Gi"
20+

charts/edgedb/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ affinity: {}
1212
replicas: 1
1313

1414
security:
15+
# password:
16+
# secret: ""
17+
# key: ""
1518
tls:
1619
enabled: false
1720
# Provide the template for a cert-manager certificate

0 commit comments

Comments
 (0)