From c1154376e4febe56bd4d586abfedb10f7d15dc1b Mon Sep 17 00:00:00 2001 From: auricom Date: Mon, 29 Mar 2021 09:08:49 +0200 Subject: [PATCH] drone rbac --- cluster/data/postgres-backup.yaml | 0 cluster/development/drone-rbac.yaml | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 cluster/data/postgres-backup.yaml diff --git a/cluster/data/postgres-backup.yaml b/cluster/data/postgres-backup.yaml new file mode 100644 index 000000000..e69de29bb diff --git a/cluster/development/drone-rbac.yaml b/cluster/development/drone-rbac.yaml index 903af2e60..46598d9ca 100644 --- a/cluster/development/drone-rbac.yaml +++ b/cluster/development/drone-rbac.yaml @@ -25,7 +25,7 @@ roleRef: apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: drone-edit-media + name: drone-edit namespace: media subjects: - kind: ServiceAccount @@ -35,3 +35,17 @@ roleRef: kind: ClusterRole name: edit apiGroup: rbac.authorization.k8s.io +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: drone-edit + namespace: data +subjects: + - kind: ServiceAccount + name: default + namespace: development +roleRef: + kind: ClusterRole + name: edit + apiGroup: rbac.authorization.k8s.io