diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b0038bb..699109fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## master / unreleased +* [ENHANCEMENT] Allow optional entry to /ruler/rule_groups endpoint #475 * [ENHANCEMENT] Add option to autoscale on multiple metrics and custom metrics metrics #467 * [DEPENDENCY] Update quay.io/cortexproject/cortex Docker tag to v1.15.0 #453 * [DEPENDENCY] Update quay.io/cortexproject/cortex Docker tag to v1.15.1 #456 diff --git a/templates/nginx/nginx-config.yaml b/templates/nginx/nginx-config.yaml index 7db8b83a..7eaee449 100644 --- a/templates/nginx/nginx-config.yaml +++ b/templates/nginx/nginx-config.yaml @@ -131,6 +131,14 @@ data: proxy_pass http://{{ template "cortex.fullname" . }}-ruler.{{ $rootDomain }}$request_uri; } + {{- if .Values.ruler.list_all_rule_groups_api }} + + location ~ /ruler/rule_groups { + proxy_pass http://{{ template "cortex.fullname" . }}-ruler.{{ $rootDomain }}$request_uri; + } + + {{- end }} + location ~ /api/prom/rules { proxy_pass http://{{ template "cortex.fullname" . }}-ruler.{{ $rootDomain }}$request_uri; } diff --git a/values.yaml b/values.yaml index 314bb8bf..fd6ebee2 100644 --- a/values.yaml +++ b/values.yaml @@ -722,6 +722,8 @@ ruler: enabled: true readOnlyRootFilesystem: true + list_all_rule_groups_api: false + querier: enabled: true replicas: 2