Skip to content

Commit 9b7e653

Browse files
committed
Fix E2E tests
Signed-off-by: Israel Blancas <[email protected]>
1 parent 3852840 commit 9b7e653

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

tests/e2e-automatic-rbac/processor-k8sattributes/01-assert.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ metadata:
2828
app.kubernetes.io/component: opentelemetry-collector
2929
app.kubernetes.io/instance: chainsaw-k8sattributes.simplest
3030
app.kubernetes.io/managed-by: opentelemetry-operator
31-
app.kubernetes.io/name: simplest-collector
31+
app.kubernetes.io/name: simplest-chainsaw-k8sattributes-collector
32+
name: simplest-chainsaw-k8sattributes-collector
3233
roleRef:
3334
apiGroup: rbac.authorization.k8s.io
3435
kind: ClusterRole
35-
name: simplest-chainsaw-resourcedetection-cluster-role
36+
name: simplest-chainsaw-k8sattributes-cluster-role
3637
subjects:
3738
- kind: ServiceAccount
3839
name: simplest-collector
39-
namespace: chainsaw-k8sattributes
40+
namespace: chainsaw-k8sattributes

tests/e2e-automatic-rbac/processor-k8sattributes/02-assert.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ metadata:
2828
app.kubernetes.io/component: opentelemetry-collector
2929
app.kubernetes.io/instance: chainsaw-k8sattributes.simplest
3030
app.kubernetes.io/managed-by: opentelemetry-operator
31-
app.kubernetes.io/name: simplest-collector
31+
app.kubernetes.io/name: simplest-chainsaw-k8sattributes-collector
32+
name: simplest-chainsaw-k8sattributes-collector
3233
roleRef:
3334
apiGroup: rbac.authorization.k8s.io
3435
kind: ClusterRole
35-
name: simplest-chainsaw-resourcedetection-cluster-role
36+
name: simplest-chainsaw-k8sattributes-cluster-role
3637
subjects:
3738
- kind: ServiceAccount
3839
name: simplest-collector

tests/e2e-automatic-rbac/processor-resourcedetection/01-assert.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ metadata:
2020
app.kubernetes.io/component: opentelemetry-collector
2121
app.kubernetes.io/instance: chainsaw-resourcedetection.simplest
2222
app.kubernetes.io/managed-by: opentelemetry-operator
23-
app.kubernetes.io/name: simplest-collector
23+
app.kubernetes.io/name: simplest-chainsaw-resourcedetection-collector
24+
app.kubernetes.io/part-of: opentelemetry
25+
name: simplest-chainsaw-resourcedetection-collector
2426
roleRef:
2527
apiGroup: rbac.authorization.k8s.io
2628
kind: ClusterRole

tests/e2e-automatic-rbac/processor-resourcedetection/02-assert.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ metadata:
1818
app.kubernetes.io/component: opentelemetry-collector
1919
app.kubernetes.io/instance: chainsaw-resourcedetection.simplest
2020
app.kubernetes.io/managed-by: opentelemetry-operator
21-
app.kubernetes.io/name: simplest-collector
21+
app.kubernetes.io/name: simplest-chainsaw-resourcedetection-collector
22+
app.kubernetes.io/part-of: opentelemetry
23+
name: simplest-chainsaw-resourcedetection-collector
2224
roleRef:
2325
apiGroup: rbac.authorization.k8s.io
2426
kind: ClusterRole

0 commit comments

Comments
 (0)