Skip to content

Commit e4a372f

Browse files
authored
Merge pull request #61 from segmentio/BGLRINFRA-1058-rbac-api-changes
BGLRINFRA-1058: RBAC API Deprecation Changes
2 parents 2fb1c5f + 811c00e commit e4a372f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

pkg/cluster/kube/manifests_test.go

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,20 @@ const (
1616
1717
---
1818
---
19-
apiVersion: rbac.authorization.k8s.io/v1beta1
19+
apiVersion: rbac.authorization.k8s.io/v1
2020
kind: ClusterRole
2121
metadata:
2222
name: pod-log-reader
2323
rules:
24-
- apiGroups: [""]
24+
- apiGroups:
25+
- ""
2526
resources:
26-
- namespaces
27-
- pods
28-
verbs: ["get", "list", "watch"]
27+
- namespaces
28+
- pods
29+
verbs:
30+
- get
31+
- list
32+
- watch
2933
---
3034
apiVersion: v1
3135
kind: ServiceAccount
@@ -35,7 +39,7 @@ metadata:
3539
annotations:
3640
eks.amazonaws.com/role-arn: arn:aws:iam::184402915685:role/ob-yolken.usw2.eks.fluentbit
3741
---
38-
apiVersion: rbac.authorization.k8s.io/v1beta1
42+
apiVersion: rbac.authorization.k8s.io/v1
3943
kind: ClusterRoleBinding
4044
metadata:
4145
name: pod-log-crb

0 commit comments

Comments
 (0)