Fix db connection key name in DEFAULT config

Change-Id: I7c31d2f036e7088564fd947e5979dd34c283f768
This commit is contained in:
root 2021-09-17 17:02:14 +02:00
parent f0639fccb1
commit d7524be959
3 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Barbican
name: barbican
version: 0.2.6
version: 0.2.7
home: https://docs.openstack.org/barbican/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Barbican/OpenStack_Project_Barbican_vertical.png
sources:

View File

@ -54,7 +54,7 @@ limitations under the License.
{{- if .Values.manifests.certificates -}}
{{- $_ := (printf "%s?charset=utf8&ssl_ca=/etc/mysql/certs/ca.crt&ssl_key=/etc/mysql/certs/tls.key&ssl_cert=/etc/mysql/certs/tls.crt&ssl_verify_cert" $connection ) | set .Values.conf.barbican.DEFAULT "sql_connection" -}}
{{- else -}}
{{- $_ := set .Values.conf.barbican.DEFAULT "connection" $connection -}}
{{- $_ := set .Values.conf.barbican.DEFAULT "sql_connection" $connection -}}
{{- end -}}
{{- end -}}

View File

@ -10,4 +10,5 @@ barbican:
- 0.2.4 Add Ussuri release support
- 0.2.5 Add Victoria and Wallaby releases support
- 0.2.6 Allow Barbican to talk to Mariadb over TLS
- 0.2.7 Fix db connection key name
...