Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

43 lines (42 sloc) 817 Bytes
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: gitlab-ci
namespace: presentation-gitlab-k8s
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: presentation-gitlab-k8s
name: gitlab-ci
rules:
- apiGroups: [""]
resources: ["*"]
verbs: ["*"]
- apiGroups: ["apps"]
resources: ["*"]
verbs: ["*"]
- apiGroups: ["batch"]
resources: ["*"]
verbs: ["*"]
- apiGroups: ["extensions"]
resources: ["*"]
verbs: ["*"]
- apiGroups: ["autoscaling"]
resources: ["*"]
verbs: ["*"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: gitlab-ci
namespace: presentation-gitlab-k8s
subjects:
- kind: ServiceAccount
name: gitlab-ci
namespace: presentation-gitlab-k8s
roleRef:
kind: Role
name: gitlab-ci
apiGroup: rbac.authorization.k8s.io
You can’t perform that action at this time.