Skip to content

Commit

Permalink
add sql_odbc_driver to configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
sando38 committed May 29, 2024
1 parent 969f639 commit 593c34c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ jobs:
then
sql_options="--set sqlDatabase.config.sql_type=${{ matrix.dbApp }} \
--set sqlDatabase.config.sql_server=${{ matrix.dbApp }} \
--set sqlDatabase.config.sql_odbc_driver="/usr/lib/libtdsodbc.so.0" \
--set sqlDatabase.flyway.keyValue=;integratedSecurity=false;encrypt=false;trustServerCertificate=true;"
fi
Expand Down
3 changes: 3 additions & 0 deletions charts/ejabberd/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ data:
new_sql_schema: {{ default "false" .Values.sqlDatabase.newSqlSchema | quote }}
update_sql_schema: {{ default "false" .Values.sqlDatabase.updateSqlSchema | quote }}
{{- toYaml .Values.sqlDatabase.config | nindent 4 }}
{{- if (eq (toString .Values.sqlDatabase.config.sql_type) "mssql") }}
sql_odbc_driver="/usr/lib/libtdsodbc.so.0"
{{- end }}
{{- end }}
{{- if .Values.redis.enabled }}
Expand Down

0 comments on commit 593c34c

Please sign in to comment.