Commit 028c6733 authored by Matthias's avatar Matthias
Browse files

add rules for deploying automatically on k8s

parent 1214dd8a
Pipeline #11214 passed with stages
in 6 minutes and 5 seconds
......@@ -11,9 +11,9 @@ metadata:
namespace: memobase
name: autodeploy-service-roles
rules:
- apiGroups: ["", "apps"] # "" indicates the core API group
resources: ["deployments", "pods", "secrets", "configmaps", "jobs"]
verbs: ["get", "list", "create", "watch", "create", "update", "patch", "delete"]
- apiGroups: ["", "apps", "networking.k8s.io", "rbac.authorization.k8s.io"] # "" indicates the core API group
resources: ["deployments", "pods", "ingresses", "serviceaccounts", "roles", "rolebindings", "services", "secrets", "configmaps", "jobs"]
verbs: ["apply", "get", "list", "create", "watch", "create", "update", "patch", "delete"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment