mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Added RBAC
This commit is contained in:
27
k8-operator/config/rbac/infisicalpushsecret_editor_role.yaml
Normal file
27
k8-operator/config/rbac/infisicalpushsecret_editor_role.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# permissions for end users to edit infisicalpushsecrets.
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: k8-operator
|
||||||
|
app.kubernetes.io/managed-by: kustomize
|
||||||
|
name: infisicalpushsecret-editor-role
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- secrets.infisical.com
|
||||||
|
resources:
|
||||||
|
- infisicalpushsecrets
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- secrets.infisical.com
|
||||||
|
resources:
|
||||||
|
- infisicalpushsecrets/status
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
23
k8-operator/config/rbac/infisicalpushsecret_viewer_role.yaml
Normal file
23
k8-operator/config/rbac/infisicalpushsecret_viewer_role.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# permissions for end users to view infisicalpushsecrets.
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: k8-operator
|
||||||
|
app.kubernetes.io/managed-by: kustomize
|
||||||
|
name: infisicalpushsecret-viewer-role
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- secrets.infisical.com
|
||||||
|
resources:
|
||||||
|
- infisicalpushsecrets
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- secrets.infisical.com
|
||||||
|
resources:
|
||||||
|
- infisicalpushsecrets/status
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
Reference in New Issue
Block a user