Skip to content

Commit 731d106

Browse files
committed
p
1 parent b1a4613 commit 731d106

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: Role
4+
metadata:
5+
name: pocmanager-role
6+
namespace: apps
7+
rules:
8+
- apiGroups: [""]
9+
resources: ["secrets"]
10+
verbs: ["get", "list", "watch"]
11+
- apiGroups: ["external-secrets.io"]
12+
resources: ["externalsecrets"]
13+
verbs: ["get", "list", "patch", "update"]
14+
- apiGroups: ["apps"]
15+
resources: ["deployments"]
16+
verbs: ["get", "list", "patch", "update"]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: RoleBinding
4+
metadata:
5+
name: pocmanager-rolebinding
6+
namespace: apps
7+
subjects:
8+
- kind: ServiceAccount
9+
name: pocmanager-sa
10+
namespace: apps
11+
roleRef:
12+
kind: Role
13+
name: pocmanager-role
14+
apiGroup: rbac.authorization.k8s.io
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
apiVersion: v1
3+
kind: ServiceAccount
4+
metadata:
5+
name: pocmanager-sa
6+
namespace: apps

0 commit comments

Comments
 (0)