Always add parseTime=true for mysql query string (#352)
This commit is contained in:
@@ -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" }}
|
||||
|
||||
@@ -6,5 +6,3 @@ spire-server:
|
||||
host: mysql
|
||||
port: 3306
|
||||
username: spire
|
||||
options:
|
||||
- parseTime: true
|
||||
|
||||
Reference in New Issue
Block a user