Skip to content

Commit

Permalink
Allow optional entry to /ruler/rule_groups endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: AlexDHoffer <alexdchoffer@gmail.com>
  • Loading branch information
AlexDCraig committed Aug 7, 2023
1 parent d335fe6 commit 1125b62
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions templates/nginx/nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 2 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,8 @@ ruler:
enabled: true
readOnlyRootFilesystem: true

list_all_rule_groups_api: false

querier:
enabled: true
replicas: 2
Expand Down

0 comments on commit 1125b62

Please sign in to comment.