Trigger build
Some checks failed
Build and Deploy Backend (Kaniko) / build-and-deploy (push) Has been cancelled
Some checks failed
Build and Deploy Backend (Kaniko) / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -1,33 +0,0 @@
|
|||||||
# kaniko-rbac.yaml
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: kaniko-builder
|
|
||||||
namespace: cloudforge
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: Role
|
|
||||||
metadata:
|
|
||||||
name: kaniko-builder
|
|
||||||
namespace: cloudforge
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["pods", "pods/log"]
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: RoleBinding
|
|
||||||
metadata:
|
|
||||||
name: kaniko-builder
|
|
||||||
namespace: cloudforge
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: Role
|
|
||||||
name: kaniko-builder
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: kaniko-builder
|
|
||||||
namespace: cloudforge
|
|
||||||
Reference in New Issue
Block a user