projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add nohup to http.server in tools/local-build.sh
[osm/devops.git]
/
installers
/
charm
/
grafana
/
src
/
charm.py
diff --git
a/installers/charm/grafana/src/charm.py
b/installers/charm/grafana/src/charm.py
index
dc4dfd9
..
caa0277
100755
(executable)
--- a/
installers/charm/grafana/src/charm.py
+++ b/
installers/charm/grafana/src/charm.py
@@
-209,6
+209,8
@@
class GrafanaCharm(CharmedOsmBase):
{
"admin-password": admin_initial_password,
"mysql-url": mysql_config.mysql_uri or self.mysql_client.get_uri(),
{
"admin-password": admin_initial_password,
"mysql-url": mysql_config.mysql_uri or self.mysql_client.get_uri(),
+ "prometheus-user": self.prometheus_client.user,
+ "prometheus-password": self.prometheus_client.password,
},
)
},
)
@@
-257,8
+259,8
@@
class GrafanaCharm(CharmedOsmBase):
envs={
"GF_SECURITY_ADMIN_PASSWORD": "admin-password",
"GF_DATABASE_URL": "mysql-url",
envs={
"GF_SECURITY_ADMIN_PASSWORD": "admin-password",
"GF_DATABASE_URL": "mysql-url",
- "PROMETHEUS_USER":
self.prometheus_client.user
,
- "PROMETHEUS_PASSWORD":
self.prometheus_client.password
,
+ "PROMETHEUS_USER":
"prometheus-user"
,
+ "PROMETHEUS_PASSWORD":
"prometheus-password"
,
},
)
container = container_builder.build()
},
)
container = container_builder.build()