mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 12:02:47 +00:00
housekeeping
This commit is contained in:
BIN
manifests/Tekton/service-accounts/.DS_Store
vendored
Normal file
BIN
manifests/Tekton/service-accounts/.DS_Store
vendored
Normal file
Binary file not shown.
13
manifests/Tekton/service-accounts/cluster-role-binding.yaml
Normal file
13
manifests/Tekton/service-accounts/cluster-role-binding.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: allow-creation-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: allow-creation
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: service-acc
|
||||
namespace: default
|
43
manifests/Tekton/service-accounts/cluster-role.yaml
Normal file
43
manifests/Tekton/service-accounts/cluster-role.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: allow-creation
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
- "apps"
|
||||
- "deploy"
|
||||
- "rbac.authorization.k8s.io"
|
||||
- "networking.k8s.io"
|
||||
- "extensions"
|
||||
- "tekton.dev"
|
||||
# deze zullen we ook moeten aanpassen elke pipeline die we maken, maar, deze pipelines zijn nu specifiek per branch, dus dit zou geen probleem leveren.
|
||||
resources:
|
||||
- pods
|
||||
- serviceaccounts
|
||||
- namespaces
|
||||
- services
|
||||
- deployments
|
||||
- deployments.apps
|
||||
- clusterroles
|
||||
- roles
|
||||
- clusterrolebindings
|
||||
- rolebindings
|
||||
- ingresses
|
||||
- eventlisteners
|
||||
- triggerbindings
|
||||
- triggertemplates
|
||||
- configmaps
|
||||
- secrets
|
||||
- pipelineruns
|
||||
- pipelineresources
|
||||
- taskruns
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- get
|
||||
- create
|
||||
- update
|
||||
- patch
|
||||
- delete
|
7
manifests/Tekton/service-accounts/service-account.yaml
Normal file
7
manifests/Tekton/service-accounts/service-account.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: service-acc
|
||||
secrets:
|
||||
- name: regcred #docker registry credentials
|
Reference in New Issue
Block a user