diff --git a/charts/prometheusalert/Chart.yaml b/charts/prometheusalert/Chart.yaml index fb5f0f4..c3a3bfa 100644 --- a/charts/prometheusalert/Chart.yaml +++ b/charts/prometheusalert/Chart.yaml @@ -18,4 +18,4 @@ maintainers: sources: - https://github.com/feiyu563/PrometheusAlert type: application -version: 1.2.0 \ No newline at end of file +version: 1.2.1 \ No newline at end of file diff --git a/charts/prometheusalert/templates/NOTES.txt b/charts/prometheusalert/templates/NOTES.txt index 7da438a..284423a 100644 --- a/charts/prometheusalert/templates/NOTES.txt +++ b/charts/prometheusalert/templates/NOTES.txt @@ -28,7 +28,7 @@ 4. how to use it: Please visit https://github.com/feiyu563/PrometheusAlert to get help! -{{- if .Values.AlertmanagerConfig.enabled }} +{{ if .Values.AlertmanagerConfig.enabled -}} 5. Check AlertmanagerConfig resource: - kubectl get -n {{ include "AlertmanagerConfig.namespace" }} AlertmanagerConfig {{ template "prometheusalert.fullname" . }} -o yaml + kubectl get -n {{ include "AlertmanagerConfig.namespace" . }} AlertmanagerConfig {{ template "prometheusalert.fullname" . }} -o yaml {{- end }} \ No newline at end of file