Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Added RBAC

Daniel Hougaardadb08191022b
diff --git a/k8-operator/config/rbac/infisicalpushsecret_editor_role.yaml b/k8-operator/config/rbac/infisicalpushsecret_editor_role.yaml
new file mode 100644
index 0000000000..9344e17c50
--- /dev/null
+++ b/k8-operator/config/rbac/infisicalpushsecret_editor_role.yaml
@@ -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
diff --git a/k8-operator/config/rbac/infisicalpushsecret_viewer_role.yaml b/k8-operator/config/rbac/infisicalpushsecret_viewer_role.yaml
new file mode 100644
index 0000000000..ff4df91ccb
--- /dev/null
+++ b/k8-operator/config/rbac/infisicalpushsecret_viewer_role.yaml
@@ -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