mirror of
				https://github.com/1Password/onepassword-operator.git
				synced 2025-10-27 09:50:46 +00:00 
			
		
		
		
	 a0460ce870
			
		
	
	a0460ce870
	
	
	
		
			
			Command executed: `operator-sdk init --domain onepassword.com --repo github.com/1Password/onepassword-operator --plugins=go/v4-alpha --license=none` - `--plugin=go/v4-alpha` is used to enable support for Apple Sillicon environments. - `--license=none` is used since the only option is Apache, and we use the MIT license. `hack/boilerplate.go.txt` is updated with the MIT license instead.
		
			
				
	
	
		
			38 lines
		
	
	
		
			476 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			476 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # permissions to do leader election.
 | |
| apiVersion: rbac.authorization.k8s.io/v1
 | |
| kind: Role
 | |
| metadata:
 | |
|   name: leader-election-role
 | |
| rules:
 | |
| - apiGroups:
 | |
|   - ""
 | |
|   resources:
 | |
|   - configmaps
 | |
|   verbs:
 | |
|   - get
 | |
|   - list
 | |
|   - watch
 | |
|   - create
 | |
|   - update
 | |
|   - patch
 | |
|   - delete
 | |
| - apiGroups:
 | |
|   - coordination.k8s.io
 | |
|   resources:
 | |
|   - leases
 | |
|   verbs:
 | |
|   - get
 | |
|   - list
 | |
|   - watch
 | |
|   - create
 | |
|   - update
 | |
|   - patch
 | |
|   - delete
 | |
| - apiGroups:
 | |
|   - ""
 | |
|   resources:
 | |
|   - events
 | |
|   verbs:
 | |
|   - create
 | |
|   - patch
 |