Skip to content

Commit

Permalink
Permit passing SQLAlchemy configuration options
Browse files Browse the repository at this point in the history
  • Loading branch information
ponyisi committed Oct 18, 2024
1 parent edd3ea1 commit b4fe353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion helm/servicex/templates/app/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ data:
{{ else }}
SQLALCHEMY_DATABASE_URI = 'sqlite:////sqlite/app.db'
{{ end }}
{{ if .Values.app.sqlalchemyEngineOptions }}
# SQLAlchemy engine configuration
SQLALCHEMY_ENGINE_OPTIONS = {{ .Values.app.sqlalchemyEngineOptions }}
{{- end }}
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY = 'some-secret-string'
JWT_SECRET_KEY = 'jwt-secret-string'
Expand Down
1 change: 1 addition & 0 deletions helm/servicex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ app:
tag: develop
tokenExpires: false
validateTransformerImage: true
sqlalchemyEngineOptions: null

codeGen:
uproot-raw:
Expand Down

0 comments on commit b4fe353

Please sign in to comment.