Skip to content

Commit

Permalink
[fix] Correct provisioning for the --thanos-ruler-instance-namespaces…
Browse files Browse the repository at this point in the history
… prometheus-operator (prometheus-community#386)

Signed-off-by: xxxbobrxxx <xxxbobrxxx@gmail.com>
  • Loading branch information
vladarts authored Nov 18, 2020
1 parent 95b31ec commit 1ac9b7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 12.0.2
version: 12.0.3
appVersion: 0.43.2
kubeVersion: ">=1.16.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ spec:
{{- if .Values.prometheusOperator.prometheusInstanceNamespaces }}
- --prometheus-instance-namespaces={{ .Values.prometheusOperator.prometheusInstanceNamespaces | join "," }}
{{- end }}
{{- if .Values.prometheusOperator.thanosInstanceNamespaces }}
- --thanos-instance-namespaces={{ .Values.prometheusOperator.thanosInstanceNamespaces | join "," }}
{{- if .Values.prometheusOperator.thanosRulerInstanceNamespaces }}
- --thanos-ruler-instance-namespaces={{ .Values.prometheusOperator.thanosRulerInstanceNamespaces | join "," }}
{{- end }}
{{- if .Values.prometheusOperator.secretFieldSelector }}
- --secret-field-selector={{ .Values.prometheusOperator.secretFieldSelector }}
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ prometheusOperator:
##
alertmanagerInstanceNamespaces: []
prometheusInstanceNamespaces: []
thanosInstanceNamespaces: []
thanosRulerInstanceNamespaces: []

## Service account for Alertmanager to use.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
Expand Down

0 comments on commit 1ac9b7e

Please sign in to comment.