File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed
ansible/roles/telco-core-ztp
files/release-4.18/reference-crs/optional/logging Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 4
4
# Currently only the 4.18 profile has been placed and adjusted for this testing in this repo
5
5
telco_core_profile_version : 4.18
6
6
7
- # Enable means uncommented, so false means comment out for now
7
+ # Enable overriding the clusterlogging subscription reference CR channel
8
+ telco_core_reference_cluster_logging_channel_override_enable : true
9
+ telco_core_reference_cluster_logging_channel_override : stable-6.1
10
+
11
+ # Enabling a cluster logging version refers to enabling a specific target version for
12
+ # the cluster logging operator status to be compliant with. Setting as false means the
13
+ # version will be commented and your policy will be compliant regardless of the version
14
+ # of the cluster logging operator installed.
8
15
telco_core_cluster_logging_version_enable : false
9
16
telco_core_cluster_logging_version : cluster-logging.v6.0.0
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
name : cluster-logging
6
6
namespace : openshift-logging
7
7
spec :
8
- channel : " stable-6.1 "
8
+ channel : " stable-6.0 "
9
9
name : cluster-logging
10
10
source : redhat-operators-disconnected
11
11
sourceNamespace : openshift-marketplace
Original file line number Diff line number Diff line change @@ -32,6 +32,15 @@ policies:
32
32
- path : reference-crs/optional/logging/ClusterLogNS.yaml
33
33
- path : reference-crs/optional/logging/ClusterLogOperGroup.yaml
34
34
- path : reference-crs/optional/logging/ClusterLogSubscription.yaml
35
+ {% if telco_core_reference_cluster_logging_channel_override_enable %}
36
+ patches :
37
+ - spec :
38
+ channel : " {{ telco_core_reference_cluster_logging_channel_override }}"
39
+ {% else %}
40
+ # patches:
41
+ # - spec:
42
+ # channel: "{{ telco_core_reference_cluster_logging_channel_override }}"
43
+ {% endif %}
35
44
- path : reference-crs/optional/logging/ClusterLogOperatorStatus.yaml
36
45
patches :
37
46
- status :
You can’t perform that action at this time.
0 commit comments