summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny L <eli@mirantis.com>2019-01-16 20:04:58 +0000
committerKaspars Skels <kaspars.skels@gmail.com>2019-01-17 05:34:43 +0000
commit6a42e0cecd2f73f325ad522f585eaa3e074fedc1 (patch)
tree80781fb31fe63b888076216f0a36cf5c5c129cc1
parent92d7452a9b93dd94af935930d28b76fe24d82cbb (diff)
Fix prometheus and grafana password overrides
* prometheus - change `prometheus` subpath to `monitoring` * grafana - path to prometheus credentials should be `user` instead of `admin` Change-Id: Iee014ce3ff4ee2ebb534003ce3f18ab8bcd63b9d
Notes
Notes (review): Code-Review+2: Kaspars Skels <kaspars.skels@gmail.com> Code-Review+1: Steve Wilkerson <wilkers.steve@gmail.com> Code-Review+2: Craig Anderson <craig.anderson@att.com> Workflow+1: Craig Anderson <craig.anderson@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 17 Jan 2019 17:45:10 +0000 Reviewed-on: https://review.openstack.org/631327 Project: openstack/airship-treasuremap Branch: refs/heads/master
-rw-r--r--global/software/charts/osh-infra/osh-infra-dashboards/grafana.yaml14
-rw-r--r--global/software/charts/osh-infra/osh-infra-monitoring/prometheus.yaml4
2 files changed, 9 insertions, 9 deletions
diff --git a/global/software/charts/osh-infra/osh-infra-dashboards/grafana.yaml b/global/software/charts/osh-infra/osh-infra-dashboards/grafana.yaml
index 17dd92d..968b05b 100644
--- a/global/software/charts/osh-infra/osh-infra-dashboards/grafana.yaml
+++ b/global/software/charts/osh-infra/osh-infra-dashboards/grafana.yaml
@@ -71,12 +71,6 @@ metadata:
71 - src: 71 - src:
72 schema: pegleg/AccountCatalogue/v1 72 schema: pegleg/AccountCatalogue/v1
73 name: osh_infra_service_accounts 73 name: osh_infra_service_accounts
74 path: .osh_infra.prometheus.admin
75 dest:
76 path: .values.endpoints.monitoring.auth.admin
77 - src:
78 schema: pegleg/AccountCatalogue/v1
79 name: osh_infra_service_accounts
80 path: .osh_infra.grafana.oslo_db.database 74 path: .osh_infra.grafana.oslo_db.database
81 dest: 75 dest:
82 path: .values.endpoints.oslo_db.path 76 path: .values.endpoints.oslo_db.path
@@ -94,6 +88,12 @@ metadata:
94 dest: 88 dest:
95 path: .values.endpoints.oslo_db_session.path 89 path: .values.endpoints.oslo_db_session.path
96 pattern: DB_NAME 90 pattern: DB_NAME
91 - src:
92 schema: pegleg/AccountCatalogue/v1
93 name: osh_infra_service_accounts
94 path: .osh_infra.prometheus.admin
95 dest:
96 path: .values.endpoints.monitoring.auth.user
97 97
98 # Secrets 98 # Secrets
99 - dest: 99 - dest:
@@ -127,7 +127,7 @@ metadata:
127 name: osh_infra_oslo_db_admin_password 127 name: osh_infra_oslo_db_admin_password
128 path: . 128 path: .
129 - dest: 129 - dest:
130 path: .values.endpoints.monitoring.auth.admin.password 130 path: .values.endpoints.monitoring.auth.user.password
131 src: 131 src:
132 schema: deckhand/Passphrase/v1 132 schema: deckhand/Passphrase/v1
133 name: osh_infra_prometheus_admin_password 133 name: osh_infra_prometheus_admin_password
diff --git a/global/software/charts/osh-infra/osh-infra-monitoring/prometheus.yaml b/global/software/charts/osh-infra/osh-infra-monitoring/prometheus.yaml
index bfde817..2be75f1 100644
--- a/global/software/charts/osh-infra/osh-infra-monitoring/prometheus.yaml
+++ b/global/software/charts/osh-infra/osh-infra-monitoring/prometheus.yaml
@@ -50,11 +50,11 @@ metadata:
50 name: osh_infra_service_accounts 50 name: osh_infra_service_accounts
51 path: .osh_infra.prometheus.admin 51 path: .osh_infra.prometheus.admin
52 dest: 52 dest:
53 path: .values.endpoints.prometheus.auth.admin 53 path: .values.endpoints.monitoring.auth.admin
54 54
55 # Secrets 55 # Secrets
56 - dest: 56 - dest:
57 path: .values.endpoints.prometheus.auth.admin.password 57 path: .values.endpoints.monitoring.auth.admin.password
58 src: 58 src:
59 schema: deckhand/Passphrase/v1 59 schema: deckhand/Passphrase/v1
60 name: osh_infra_prometheus_admin_password 60 name: osh_infra_prometheus_admin_password