4 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
\r
7 func GetRoleBinding() []*rbacv1.RoleBinding {
\r
9 roleBinding1 := &rbacv1.RoleBinding{
\r
10 Subjects: []rbacv1.Subject{
\r
13 Kind: "ServiceAccount",
\r
14 Name: "svcacct-ricplt-alarmmanager",
\r
15 Namespace: "ricplt",
\r
18 TypeMeta: metav1.TypeMeta{
\r
19 APIVersion: "rbac.authorization.k8s.io/v1",
\r
20 Kind: "RoleBinding",
\r
22 ObjectMeta: metav1.ObjectMeta{
\r
23 Name: "svcacct-ricplt-alarmmanager-ricxapp-podreader",
\r
24 Namespace: "ricxapp",
\r
26 RoleRef: rbacv1.RoleRef{
\r
27 APIGroup: "rbac.authorization.k8s.io",
\r
29 Name: "svcacct-ricplt-alarmmanager-ricxapp-podreader",
\r
33 return []*rbacv1.RoleBinding{roleBinding1}
\r