Always add parseTime=true for mysql query string (#352)

This commit is contained in:
Faisal Memon
2023-06-20 21:14:42 +02:00
committed by GitHub
parent ac3be716dd
commit 1333b6ab34
3 changed files with 2 additions and 7 deletions
@@ -29,8 +29,6 @@ spire-server:
password: ${DBPW}
host: mysql
port: 3306
options:
- parseTime: true
EOF
helm install mysql mysql --namespace "spire-server" --version "$VERSION_MYSQL" --repo "$HELM_REPO_MYSQL" \
@@ -114,9 +114,8 @@ Create the name of the service account to use
{{- $lst = append $lst $entry }}
{{- end }}
{{- end }}
{{- if gt (len $lst) 0 }}
{{- printf "?%s" (join "&" $lst) }}
{{- end }}
{{- $lst = append $lst "parseTime=true" }}
{{- printf "?%s" (join "&" (uniq $lst)) }}
{{- end }}
{{- define "spire-server.config-postgresql-options" }}
-2
View File
@@ -6,5 +6,3 @@ spire-server:
host: mysql
port: 3306
username: spire
options:
- parseTime: true