|
@@ -48,6 +48,24 @@
|
|
kind: namespace
|
|
kind: namespace
|
|
name: "{{ ge_nsp }}"
|
|
name: "{{ ge_nsp }}"
|
|
|
|
|
|
|
|
+ - name: Give developer admin role in the project
|
|
|
|
+ k8s:
|
|
|
|
+ kubeconfig: tmp/kubeconfig-ocp4
|
|
|
|
+ validate_certs: no
|
|
|
|
+ api_version: rbac.authorization.k8s.io/v1
|
|
|
|
+ kind: rolebinding
|
|
|
|
+ namespace: "{{ ge_nsp }}"
|
|
|
|
+ name: dev-admin
|
|
|
|
+ definition:
|
|
|
|
+ roleRef:
|
|
|
|
+ apiGroup: rbac.authorization.k8s.io
|
|
|
|
+ kind: ClusterRole
|
|
|
|
+ name: admin
|
|
|
|
+ subjects:
|
|
|
|
+ - apiGroup: rbac.authorization.k8s.io
|
|
|
|
+ kind: User
|
|
|
|
+ name: developer
|
|
|
|
+
|
|
- name: Deploy the sample app manifests
|
|
- name: Deploy the sample app manifests
|
|
k8s:
|
|
k8s:
|
|
kubeconfig: tmp/kubeconfig-ocp4
|
|
kubeconfig: tmp/kubeconfig-ocp4
|