Mariadb: Use correct credentials for exporter in secret
This updates the mariadb chart to use the correct auth values for the mariadb prometheus exporter. The correct credentials to use are the credentials in the oslo_db endpoint Change-Id: I2d325167d7ffdf911a56fe97b879cb13b0d4c195
This commit is contained in:
parent
d3531f1fba
commit
6e2ea01ae0
@ -15,7 +15,7 @@ limitations under the License.
|
||||
*/}}
|
||||
|
||||
[client]
|
||||
user = {{ .Values.endpoints.prometheus_mysql_exporter.auth.user.username }}
|
||||
password = {{ .Values.endpoints.prometheus_mysql_exporter.auth.user.password }}
|
||||
user = {{ .Values.endpoints.oslo_db.auth.exporter.username }}
|
||||
password = {{ .Values.endpoints.oslo_db.auth.exporter.password }}
|
||||
host = {{ tuple "oslo_db" "direct" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
port = {{ tuple "oslo_db" "direct" "mysql" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||
|
@ -23,6 +23,7 @@ make mariadb
|
||||
: ${OSH_INFRA_EXTRA_HELM_ARGS:=""}
|
||||
helm upgrade --install mariadb ./mariadb \
|
||||
--namespace=osh-infra \
|
||||
--set monitoring.prometheus.enabled=true \
|
||||
${OSH_INFRA_EXTRA_HELM_ARGS} \
|
||||
${OSH_INFRA_EXTRA_HELM_ARGS_MARIADB}
|
||||
|
||||
|
@ -24,6 +24,7 @@ make mariadb
|
||||
helm upgrade --install mariadb ./mariadb \
|
||||
--namespace=osh-infra \
|
||||
--set pod.replicas.server=1 \
|
||||
--set monitoring.prometheus.enabled=true \
|
||||
${OSH_INFRA_EXTRA_HELM_ARGS} \
|
||||
${OSH_INFRA_EXTRA_HELM_ARGS_MARIADB}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user