Skip to content

Commit d24a1fc

Browse files
authored
Update replicated-sdk-customizing.md
1 parent 5ec9c05 commit d24a1fc

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

docs/vendor/replicated-sdk-customizing.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ For information about how to use a custom domain for the Replicated SDK image, s
66

77
## Customize RBAC for the SDK
88

9-
This section describes role-based access control (RBAC) for the Replicated SDK, including the default RBAC, minimum RBAC requirements, and how to install the SDK with custom RBAC.
9+
This section describes role-based access control (RBAC) for the Replicated SDK, including the default RBAC, minimal RBAC, and how to install the SDK with custom RBAC.
1010

1111
### Default RBAC
1212

@@ -47,7 +47,14 @@ rules:
4747
4848
### Minimal RBAC
4949
50-
With the Replicated SDK version 1.7.0 and later, you can enable a fully-featured but less permissive RBAC role by setting `minimalRBAC` to true.
50+
With the Replicated SDK version 1.7.0 and later, you can enable a fully-featured but less permissive RBAC role by setting `minimalRBAC` to true in your Helm chart values, as shown below:
51+
52+
```yaml
53+
# Helm chart values.yaml
54+
55+
replicated:
56+
minimalRBAC: true
57+
```
5158

5259
The permissions included in the Minimal RBAC role vary depending on if you defined custom _status informers_ for your application. See one of the following sections for more information:
5360
* [Default Minimal RBAC Role Without Custom Status Informers](#default-no-status-informers)
@@ -75,15 +82,6 @@ If you did _not_ define custom status informers for your application, then the d
7582

7683
These permissions allow the SDK to discover the Helm chart secret for your application, parse it to determine what resources to monitor, and then monitor those resources.
7784

78-
To enable Minimal RBAC, set the value in your Helm chart as shown below:
79-
80-
```yaml
81-
# Helm chart values.yaml
82-
83-
replicated:
84-
minimalRBAC: true
85-
```
86-
8785
The following shows the default RBAC role for the SDK when Minimal RBAC is enabled and no customer status informers are defined:
8886

8987
```yaml
@@ -521,4 +519,4 @@ This is the format produced by `kubectl create secret tls <secret_name> --cert=<
521519
replicated:
522520
tlsCertSecretName: YOUR_TLS_SECRET
523521
```
524-
Where `YOUR_TLS_SECRET` is the secret in the namespace containing the TLS certificate and key.
522+
Where `YOUR_TLS_SECRET` is the secret in the namespace containing the TLS certificate and key.

0 commit comments

Comments
 (0)