mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 15:38:06 +00:00

Command executed: `operator-sdk create api --version v1 --kind OnePasswordItem --resource --controller` `--group` flag is skipped because we don't have a group in the previous version of the operator and we want to make things consistent and not bring any breaking changes.
21 lines
360 B
YAML
21 lines
360 B
YAML
# permissions for end users to view onepassworditems.
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: onepassworditem-viewer-role
|
|
rules:
|
|
- apiGroups:
|
|
- onepassword.com
|
|
resources:
|
|
- onepassworditems
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- onepassword.com
|
|
resources:
|
|
- onepassworditems/status
|
|
verbs:
|
|
- get
|