File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ spec:
149149 volumes :
150150 - name : ipc
151151 path : /ipc
152+ - type : service-account
153+ properties :
154+ name : dapps-certification
152155 type : webservice
153156 policies :
154157 - name : local-dapps-certification
@@ -166,3 +169,36 @@ spec:
166169 properties :
167170 policies :
168171 - local-dapps-certification
172+ ---
173+ apiVersion : v1
174+ kind : ServiceAccount
175+ metadata :
176+ name : dapps-certification
177+ namespace : dapps-certification-staging
178+ ---
179+ apiVersion : rbac.authorization.k8s.io/v1
180+ kind : Role
181+ metadata :
182+ name : dapps-certification
183+ namespace : dapps-certification-staging
184+ rules :
185+ - apiGroups : ["batch"]
186+ resources : ["jobs"]
187+ verbs : ["get", "create", "watch", "delete"]
188+ - apiGroups : [""]
189+ resources : ["pods", "pods/log"]
190+ verbs : ["get", "list"]
191+ ---
192+ apiVersion : rbac.authorization.k8s.io/v1
193+ kind : RoleBinding
194+ metadata :
195+ name : dapps-certification
196+ namespace : dapps-certification-staging
197+ roleRef :
198+ apiGroup : rbac.authorization.k8s.io
199+ kind : Role
200+ name : dapps-certification
201+ subjects :
202+ - kind : ServiceAccount
203+ name : dapps-certification
204+ namespace : dapps-certification-staging
You can’t perform that action at this time.
0 commit comments