Skip to content

Commit 1deb4fe

Browse files
committed
Add provided ServiceAccount documentation to drafts
Signed-off-by: Tayler Geiger <[email protected]>
1 parent c4470cc commit 1deb4fe

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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 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 necessary 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

0 commit comments

Comments
 (0)