X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=depRicKubernetesOperator%2Finternal%2Fcontroller%2FgetServiceAccount.go;h=eab86dd54242670d170bf8e5257a87d6e3d40e26;hb=a9cb404ae0aa9b2341eb80e870c2302457fbd8f5;hp=366405b46e69ce8bd1e8b726f3028a410baeb734;hpb=bf98848d97c2f2e60106114ba79a1883df44d71d;p=ric-plt%2Fric-dep.git diff --git a/depRicKubernetesOperator/internal/controller/getServiceAccount.go b/depRicKubernetesOperator/internal/controller/getServiceAccount.go index 366405b..eab86dd 100644 --- a/depRicKubernetesOperator/internal/controller/getServiceAccount.go +++ b/depRicKubernetesOperator/internal/controller/getServiceAccount.go @@ -18,5 +18,16 @@ func GetServiceAccount() []*corev1.ServiceAccount { Kind: "ServiceAccount", }, } - return []*corev1.ServiceAccount{serviceAccount1} + serviceAccount2 := &corev1.ServiceAccount{ + ObjectMeta: metav1.ObjectMeta{ + Namespace: "ricplt", + Name: "svcacct-ricplt-appmgr", + }, + TypeMeta: metav1.TypeMeta{ + APIVersion: "v1", + Kind: "ServiceAccount", + }, + } + + return []*corev1.ServiceAccount{serviceAccount1,serviceAccount2} } \ No newline at end of file