mirror of
				https://github.com/1Password/onepassword-operator.git
				synced 2025-10-27 09:50:46 +00:00 
			
		
		
		
	 a3de05fbdb
			
		
	
	a3de05fbdb
	
	
	
		
			
			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
 |