Skip to content

Commit

Permalink
operator: Update Loki operand to v2.8.3 (#10019)
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis authored Jul 24, 2023
1 parent 3a0009b commit 14aaa21
Show file tree
Hide file tree
Showing 16 changed files with 42 additions and 18 deletions.
1 change: 1 addition & 0 deletions operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Main

- [10019](https://github.com/grafana/loki/pull/10019) **periklis**: Update Loki operand to v2.8.3
- [9972](https://github.com/grafana/loki/pull/9972) **JoaoBraveCoding**: Fix OIDC.IssuerCAPath by updating it to type CASpec
- [9931](https://github.com/grafana/loki/pull/9931) **aminesnow**: Custom configuration for LokiStack admin groups
- [9971](https://github.com/grafana/loki/pull/9971) **aminesnow**: Add namespace and tenantId labels to RecordingRules
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ metadata:
categories: OpenShift Optional, Logging & Tracing
certified: "false"
containerImage: docker.io/grafana/loki-operator:main-ac1c1fd
createdAt: "2023-07-19T14:44:08Z"
createdAt: "2023-07-24T11:44:09Z"
description: The Community Loki Operator provides Kubernetes native deployment
and management of Loki and related logging components.
operators.operatorframework.io/builder: operator-sdk-unknown
Expand Down Expand Up @@ -874,6 +874,9 @@ spec:
alerts.
displayName: LogQL Expression
path: groups[0].rules[0].expr
- description: Labels to add to each recording rule.
displayName: Labels
path: groups[0].rules[0].labels
- description: The name of the time series to output to. Must be a valid metric
name.
displayName: Metric Name
Expand Down Expand Up @@ -1646,7 +1649,7 @@ spec:
- /manager
env:
- name: RELATED_IMAGE_LOKI
value: docker.io/grafana/loki:2.8.2
value: docker.io/grafana/loki:2.8.3
- name: RELATED_IMAGE_GATEWAY
value: quay.io/observatorium/api:latest
- name: RELATED_IMAGE_OPA
Expand Down Expand Up @@ -1769,7 +1772,7 @@ spec:
provider:
name: Grafana Loki SIG Operator
relatedImages:
- image: docker.io/grafana/loki:2.8.2
- image: docker.io/grafana/loki:2.8.3
name: loki
- image: quay.io/observatorium/api:latest
name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ spec:
cycle this is evaluated at the current time, and all
resultant time series become pending/firing alerts.
type: string
labels:
additionalProperties:
type: string
description: Labels to add to each recording rule.
type: object
record:
description: The name of the time series to output to.
Must be a valid metric name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ metadata:
categories: OpenShift Optional, Logging & Tracing
certified: "false"
containerImage: docker.io/grafana/loki-operator:main-ac1c1fd
createdAt: "2023-07-19T14:44:06Z"
createdAt: "2023-07-24T11:44:07Z"
description: The Community Loki Operator provides Kubernetes native deployment
and management of Loki and related logging components.
operators.operatorframework.io/builder: operator-sdk-unknown
Expand Down Expand Up @@ -874,6 +874,9 @@ spec:
alerts.
displayName: LogQL Expression
path: groups[0].rules[0].expr
- description: Labels to add to each recording rule.
displayName: Labels
path: groups[0].rules[0].labels
- description: The name of the time series to output to. Must be a valid metric
name.
displayName: Metric Name
Expand Down Expand Up @@ -1633,7 +1636,7 @@ spec:
- /manager
env:
- name: RELATED_IMAGE_LOKI
value: docker.io/grafana/loki:2.8.2
value: docker.io/grafana/loki:2.8.3
- name: RELATED_IMAGE_GATEWAY
value: quay.io/observatorium/api:latest
- name: RELATED_IMAGE_OPA
Expand Down Expand Up @@ -1744,7 +1747,7 @@ spec:
provider:
name: Grafana Loki SIG Operator
relatedImages:
- image: docker.io/grafana/loki:2.8.2
- image: docker.io/grafana/loki:2.8.3
name: loki
- image: quay.io/observatorium/api:latest
name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ spec:
cycle this is evaluated at the current time, and all
resultant time series become pending/firing alerts.
type: string
labels:
additionalProperties:
type: string
description: Labels to add to each recording rule.
type: object
record:
description: The name of the time series to output to.
Must be a valid metric name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ metadata:
categories: OpenShift Optional, Logging & Tracing
certified: "false"
containerImage: quay.io/openshift-logging/loki-operator:v0.1.0
createdAt: "2023-07-19T14:44:10Z"
createdAt: "2023-07-24T11:44:11Z"
description: |
The Loki Operator for OCP provides a means for configuring and managing a Loki stack for cluster logging.
## Prerequisites and Requirements
Expand Down Expand Up @@ -1634,7 +1634,7 @@ spec:
- /manager
env:
- name: RELATED_IMAGE_LOKI
value: quay.io/openshift-logging/loki:v2.8.0
value: quay.io/openshift-logging/loki:v2.8.3
- name: RELATED_IMAGE_GATEWAY
value: quay.io/observatorium/api:latest
- name: RELATED_IMAGE_OPA
Expand Down Expand Up @@ -1757,7 +1757,7 @@ spec:
provider:
name: Red Hat
relatedImages:
- image: quay.io/openshift-logging/loki:v2.8.0
- image: quay.io/openshift-logging/loki:v2.8.3
name: loki
- image: quay.io/observatorium/api:latest
name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,9 @@ spec:
alerts.
displayName: LogQL Expression
path: groups[0].rules[0].expr
- description: Labels to add to each recording rule.
displayName: Labels
path: groups[0].rules[0].labels
- description: The name of the time series to output to. Must be a valid metric
name.
displayName: Metric Name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,9 @@ spec:
alerts.
displayName: LogQL Expression
path: groups[0].rules[0].expr
- description: Labels to add to each recording rule.
displayName: Labels
path: groups[0].rules[0].labels
- description: The name of the time series to output to. Must be a valid metric
name.
displayName: Metric Name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- name: manager
env:
- name: RELATED_IMAGE_LOKI
value: docker.io/grafana/loki:2.8.2
value: docker.io/grafana/loki:2.8.3
- name: RELATED_IMAGE_GATEWAY
value: quay.io/observatorium/api:latest
- name: RELATED_IMAGE_OPA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- name: manager
env:
- name: RELATED_IMAGE_LOKI
value: docker.io/grafana/loki:2.8.2
value: docker.io/grafana/loki:2.8.3
- name: RELATED_IMAGE_GATEWAY
value: quay.io/observatorium/api:latest
- name: RELATED_IMAGE_OPA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ spec:
- name: manager
env:
- name: RELATED_IMAGE_LOKI
value: docker.io/grafana/loki:2.8.2
value: docker.io/grafana/loki:2.8.3
- name: RELATED_IMAGE_GATEWAY
value: quay.io/observatorium/api:latest
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- name: manager
env:
- name: RELATED_IMAGE_LOKI
value: quay.io/openshift-logging/loki:v2.8.0
value: quay.io/openshift-logging/loki:v2.8.3
- name: RELATED_IMAGE_GATEWAY
value: quay.io/observatorium/api:latest
- name: RELATED_IMAGE_OPA
Expand Down
1 change: 1 addition & 0 deletions operator/docs/operator/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ The versions of Loki compatible to be run with the Loki Operator are:
* v2.7.3
* v2.7.4
* v2.8.0
* v2.8.3
4 changes: 2 additions & 2 deletions operator/hack/addons_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
spec:
containers:
- name: logcli
image: docker.io/grafana/logcli:2.8.2-amd64
image: docker.io/grafana/logcli:2.8.3-amd64
imagePullPolicy: IfNotPresent
command:
- /bin/sh
Expand Down Expand Up @@ -73,7 +73,7 @@ spec:
spec:
containers:
- name: promtail
image: docker.io/grafana/promtail:2.8.2
image: docker.io/grafana/promtail:2.8.3
args:
- -config.file=/etc/promtail/promtail.yaml
- -log.level=info
Expand Down
4 changes: 2 additions & 2 deletions operator/hack/addons_ocp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
spec:
containers:
- name: logcli
image: docker.io/grafana/logcli:2.8.2-amd64
image: docker.io/grafana/logcli:2.8.3-amd64
imagePullPolicy: IfNotPresent
command:
- /bin/sh
Expand Down Expand Up @@ -70,7 +70,7 @@ spec:
spec:
containers:
- name: promtail
image: docker.io/grafana/promtail:2.8.2
image: docker.io/grafana/promtail:2.8.3
args:
- -config.file=/etc/promtail/promtail.yaml
- -log.level=info
Expand Down
2 changes: 1 addition & 1 deletion operator/internal/manifests/var.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const (
EnvRelatedImageGateway = "RELATED_IMAGE_GATEWAY"

// DefaultContainerImage declares the default fallback for loki image.
DefaultContainerImage = "docker.io/grafana/loki:2.8.2"
DefaultContainerImage = "docker.io/grafana/loki:2.8.3"

// DefaultLokiStackGatewayImage declares the default image for lokiStack-gateway.
DefaultLokiStackGatewayImage = "quay.io/observatorium/api:latest"
Expand Down

0 comments on commit 14aaa21

Please sign in to comment.