Skip to content

Commit f4f38ef

Browse files
authored
update chart information about how to use their newly installed chart (#5268)
Signed-off-by: dejanualex <dejanualexandru@gmail.com>
1 parent 2760512 commit f4f38ef

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 68.4.4
34+
version: 68.4.5
3535
appVersion: v0.79.2
3636
kubeVersion: ">=1.19.0-0"
3737
home: https://github.com/prometheus-operator/kube-prometheus
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
{{ $.Chart.Name }} has been installed. Check its status by running:
22
kubectl --namespace {{ template "kube-prometheus-stack.namespace" . }} get pods -l "release={{ $.Release.Name }}"
33

4+
Get Grafana '{{ .Values.grafana.adminUser }}' user password by running:
5+
6+
kubectl --namespace {{ template "kube-prometheus-stack.namespace" . }} get secrets prom-grafana -ojsonpath="{.data.admin-password}" | base64 -d ; echo
7+
8+
Access Grafana local instance:
9+
10+
export POD_NAME=$(kubectl --namespace {{ template "kube-prometheus-stack.namespace" . }} get pod -l "app.kubernetes.io/name={{ default "grafana" .Values.grafana.name }},app.kubernetes.io/instance={{ $.Release.Name }}" -oname)
11+
kubectl --namespace {{ template "kube-prometheus-stack.namespace" . }} port-forward $POD_NAME 3000
12+
413
Visit https://github.com/prometheus-operator/kube-prometheus for instructions on how to create & configure Alertmanager and Prometheus instances using the Operator.

charts/kube-prometheus-stack/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,7 @@ grafana:
11501150
##
11511151
defaultDashboardsEditable: true
11521152

1153+
adminUser: admin
11531154
adminPassword: prom-operator
11541155

11551156
rbac:

0 commit comments

Comments
 (0)