Skip to content

Commit 8ad0d64

Browse files
Merge pull request #754 from ayefimov-1/ayefimov_update_logging_operators
Update logging operators
2 parents fb90e2d + d99168c commit 8ad0d64

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

ci/deploy-logging-dependencies/files/lokistack.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ spec:
66
size: 1x.demo
77
storage:
88
schemas:
9-
- version: v12
10-
effectiveDate: "2022-06-01"
9+
- version: v13
10+
effectiveDate: "2025-06-01"
1111
secret:
1212
name: logging-loki-s3
1313
type: s3

ci/deploy-logging-dependencies/files/operators.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
name: loki-operator
3636
namespace: openshift-operators-redhat
3737
spec:
38-
channel: stable-6.1
38+
channel: stable-6.2
3939
installPlanApproval: Automatic
4040
name: loki-operator
4141
source: redhat-operators
@@ -47,7 +47,7 @@ metadata:
4747
name: cluster-logging
4848
namespace: openshift-logging
4949
spec:
50-
channel: stable-6.1
50+
channel: stable-6.2
5151
installPlanApproval: Automatic
5252
name: cluster-logging
5353
source: redhat-operators

ci/deploy-logging-dependencies/tasks/deploy-cluster-logging.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,16 @@
2121
register: output
2222
until: output.stdout_lines | length != 0
2323

24-
- name: Wait for the cluster log forwarder to be ready
25-
ansible.builtin.command:
26-
cmd: |
27-
oc wait --timeout=300s --for condition=Ready=True --namespace=openshift-logging clusterlogforwarder collector
24+
- name: Wait for 2 "True" and 0 "False" conditions in ClusterLogForwarder status
25+
ansible.builtin.shell:
26+
cmd: >
27+
oc get clusterlogforwarder collector -n openshift-logging -o json | jq --raw-output '[
28+
([.status.conditions[] | select(.status == "True")] | length),
29+
([.status.conditions[] | select(.status == "False")] | length)
30+
] | @csv'
31+
register: clf_condition_counts
32+
until: clf_condition_counts.stdout == "2,0"
33+
retries: 20
34+
delay: 20
35+
changed_when: false
36+
check_mode: no

0 commit comments

Comments
 (0)