File tree 3 files changed +6
-6
lines changed
prometheus-config-validation
e2e-prometheuscr/create-sm-prometheus-exporters
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ automountServiceAccountToken: true
8
8
apiVersion : rbac.authorization.k8s.io/v1
9
9
kind : ClusterRole
10
10
metadata :
11
- name : ta
11
+ name : create-sm-prometheus
12
12
rules :
13
13
- apiGroups : [""]
14
14
resources :
60
60
apiVersion : kuttl.dev/v1beta1
61
61
kind : TestStep
62
62
commands :
63
- - command : kubectl create clusterrolebinding simplest-targetallocator-create-sm-prometheus --clusterrole=ta --serviceaccount=create-sm-prometheus:ta
63
+ - command : kubectl create clusterrolebinding simplest-targetallocator-create-sm-prometheus --clusterrole=create-sm-prometheus --serviceaccount=create-sm-prometheus:ta
64
64
---
65
65
apiVersion : opentelemetry.io/v1alpha1
66
66
kind : OpenTelemetryCollector
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ automountServiceAccountToken: true
7
7
apiVersion : rbac.authorization.k8s.io/v1
8
8
kind : ClusterRole
9
9
metadata :
10
- name : pod-view
10
+ name : promreceiver-allocatorconfig
11
11
rules :
12
12
- apiGroups : [""]
13
13
resources : [ "pods", "namespaces" ]
16
16
apiVersion : kuttl.dev/v1beta1
17
17
kind : TestStep
18
18
commands :
19
- - command : kubectl -n $NAMESPACE create clusterrolebinding default-view-$NAMESPACE --clusterrole=pod-view --serviceaccount=$NAMESPACE:ta
19
+ - command : kubectl -n $NAMESPACE create clusterrolebinding default-view-$NAMESPACE --clusterrole=promreceiver-allocatorconfig --serviceaccount=$NAMESPACE:ta
20
20
---
21
21
apiVersion : opentelemetry.io/v1alpha1
22
22
kind : OpenTelemetryCollector
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ automountServiceAccountToken: true
7
7
apiVersion : rbac.authorization.k8s.io/v1
8
8
kind : ClusterRole
9
9
metadata :
10
- name : pod-view
10
+ name : smoke-targetallocator
11
11
rules :
12
12
- apiGroups : [""]
13
13
resources : [ "pods", "namespaces" ]
16
16
apiVersion : kuttl.dev/v1beta1
17
17
kind : TestStep
18
18
commands :
19
- - command : kubectl -n $NAMESPACE create clusterrolebinding default-view-$NAMESPACE --clusterrole=pod-view --serviceaccount=$NAMESPACE:ta
19
+ - command : kubectl -n $NAMESPACE create clusterrolebinding default-view-$NAMESPACE --clusterrole=smoke-targetallocator --serviceaccount=$NAMESPACE:ta
20
20
---
21
21
apiVersion : opentelemetry.io/v1alpha1
22
22
kind : OpenTelemetryCollector
You can’t perform that action at this time.
0 commit comments