File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # Provided ServiceAccount for ClusterExtension Installation and Management
2+
3+ Adhering to OLM v1's "Secure by Default" tenet, OLM v1 does not have the permissions
4+ necessary to install content. This follows the least privilege principle and reduces
5+ the chance of a [ confused deputy attack] ( https://en.wikipedia.org/wiki/Confused_deputy_problem ) .
6+ Instead, users must explicitly specify a ServiceAccount that will be used to perform the
7+ installation and management of a specific ClusterExtension. The ServiceAccount is specified
8+ in the ClusterExtension manifest as follows:
9+
10+ ``` yaml
11+ apiVersion : olm.operatorframework.io/v1alpha1
12+ kind : ClusterExtension
13+ metadata :
14+ name : argocd
15+ spec :
16+ source :
17+ sourceType : Catalog
18+ catalog :
19+ packageName : argocd-operator
20+ version : 0.6.0
21+ install :
22+ namespace : argocd
23+ serviceAccount :
24+ name : argocd-installer
25+ ` ` `
26+
27+ The ServiceAccount must be configured with the RBAC permissions required by the ClusterExtension.
28+ If the permissions do not meet the minimum requirements, installation will fail. If no ServiceAccount
29+ is provided in the ClusterExtension manifest, then the manifest will be rejected.
30+
31+ //TODO: Add link to documentation on determining least privileges required for the ServiceAccount
You can’t perform that action at this time.
0 commit comments