Skip to content

Commit

Permalink
fix db-gate chart
Browse files Browse the repository at this point in the history
Signed-off-by: TasdidurRahman <[email protected]>
  • Loading branch information
TasdidurRahman committed Sep 4, 2024
1 parent 73ebfa1 commit e35e82b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/dbgate/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ spec:
- name: PASSWORD_MODE_PRIMARY
value: askPassword
{{- end }}
{{- if .Values.app.tls.enabled }}
- name: USE_SSL_PRIMARY
value: "1"
{{- end }}
ports:
- name: http
containerPort: 3000
Expand Down
6 changes: 4 additions & 2 deletions charts/dbgate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ app:
namespace: ""
authSecret:
name: ""
tls:
enabled: false
bind:
name: ""
namespace: ""
Expand All @@ -148,9 +150,9 @@ authzproxy:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
readOnlyRootFilesystem: true
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 65534
runAsUser: 1000
seccompProfile:
type: RuntimeDefault
# Compute Resources required by this container
Expand Down

0 comments on commit e35e82b

Please sign in to comment.