Skip to content

Commit

Permalink
Add support for ruler config CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis committed May 18, 2022
1 parent 131dcc0 commit 9a93259
Show file tree
Hide file tree
Showing 28 changed files with 3,448 additions and 1 deletion.
9 changes: 9 additions & 0 deletions operator/PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,13 @@ resources:
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: grafana.com
group: loki
kind: RulerConfig
path: github.com/grafana/loki/operator/api/v1beta1
version: v1beta1
version: "3"
5 changes: 5 additions & 0 deletions operator/api/v1beta1/lokistack_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,11 @@ const (
ReasonMissingObjectStorageSecret LokiStackConditionReason = "MissingObjectStorageSecret"
// ReasonInvalidObjectStorageSecret when the format of the secret is invalid.
ReasonInvalidObjectStorageSecret LokiStackConditionReason = "InvalidObjectStorageSecret"
// ReasonMissingRulerSecret when the required secret to authorization remote write connections
// for the ruler is missing.
ReasonMissingRulerSecret LokiStackConditionReason = "MissingRulerSecret"
// ReasonInvalidRulerSecret when the format of the ruler remote write authorization secret is invalid.
ReasonInvalidRulerSecret LokiStackConditionReason = "InvalidRulerSecret"
// ReasonInvalidReplicationConfiguration when the configurated replication factor is not valid
// with the select cluster size.
ReasonInvalidReplicationConfiguration LokiStackConditionReason = "InvalidReplicationConfiguration"
Expand Down
Loading

0 comments on commit 9a93259

Please sign in to comment.