You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for Kubernetes 1.35
* Fix e2e-crd-validations test for K8s 1.35
K8s 1.35 changed CEL validation error messages to no longer include
"object": in the error output. Update the test to handle both formats.
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2
+
change_type: enhancement
3
+
4
+
# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
5
+
component: operator
6
+
7
+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8
+
note: Add support for Kubernetes 1.35
9
+
10
+
# One or more tracking issues related to the change
11
+
issues: [4575]
12
+
13
+
# (Optional) One or more lines of additional information to render under the primary note.
14
+
# These lines will be padded with 2 spaces and then inserted directly into the document.
Copy file name to clipboardExpand all lines: tests/e2e-crd-validations/sidecar/chainsaw-test.yaml
+18-6Lines changed: 18 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ spec:
15
15
- name: priorityClassErrorMessageCEL
16
16
value: |-
17
17
OpenTelemetryCollector.opentelemetry.io "sidecar-priorityclass" is invalid: spec: Invalid value: "object": the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'priorityClassName'
18
+
- name: priorityClassErrorMessageCELv135
19
+
value: |-
20
+
OpenTelemetryCollector.opentelemetry.io "sidecar-priorityclass" is invalid: spec: Invalid value: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'priorityClassName'
18
21
- name: priorityClassErrorMessageWebhook
19
22
value: |-
20
23
admission webhook "vopentelemetrycollectorcreateupdatebeta.kb.io" denied the request: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'priorityClassName'
OpenTelemetryCollector.opentelemetry.io "sidecar-tolerations" is invalid: spec: Invalid value: "object": the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'tolerations'
36
+
- name: tolerationErrorMessageCELv135
37
+
value: |-
38
+
OpenTelemetryCollector.opentelemetry.io "sidecar-tolerations" is invalid: spec: Invalid value: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'tolerations'
33
39
- name: tolerationErrorMessageWebhook
34
40
value: |-
35
41
admission webhook "vopentelemetrycollectorcreateupdatebeta.kb.io" denied the request: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'tolerations'
OpenTelemetryCollector.opentelemetry.io "sidecar-affinity" is invalid: spec: Invalid value: "object": the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'affinity'
54
+
- name: affinityErrorMessageCELv135
55
+
value: |-
56
+
OpenTelemetryCollector.opentelemetry.io "sidecar-affinity" is invalid: spec: Invalid value: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'affinity'
48
57
- name: affinityErrorMessageWebhook
49
58
value: |-
50
59
admission webhook "vopentelemetrycollectorcreateupdatebeta.kb.io" denied the request: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'affinity'
OpenTelemetryCollector.opentelemetry.io "sidecar-additional-containers" is invalid: spec: Invalid value: "object": the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'additionalContainers'
63
-
- name: affinityErrorMessageWebhook
72
+
- name: additionalContainersErrorMessageCELv135
73
+
value: |-
74
+
OpenTelemetryCollector.opentelemetry.io "sidecar-additional-containers" is invalid: spec: Invalid value: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'additionalContainers'
75
+
- name: additionalContainersErrorMessageWebhook
64
76
value: |-
65
77
admission webhook "vopentelemetrycollectorcreateupdatebeta.kb.io" denied the request: the OpenTelemetry Collector mode is set to sidecar, which does not support the attribute 'AdditionalContainers'
0 commit comments