docs: correct description about common.serviceAccountName
This commit is contained in:
16
README.md
16
README.md
@ -1067,9 +1067,15 @@ The `common.serviceAccountName` template accepts a list of two values:
|
||||
- `$top`, the top context
|
||||
- `$serviceAccount`, a dictionary of values used in the service account template
|
||||
|
||||
It generates a name suitable for the `serviceAccountName` field of a `Pod` resource. It is used like this:
|
||||
It generates a name suitable for the `serviceAccountName` field of a `Pod` resource.
|
||||
|
||||
An example values file that can be used to configure the HorizontalPodAutoscaler resource is:
|
||||
Example usage:
|
||||
|
||||
```
|
||||
serviceAccountName: {{ include "common.serviceAccountName" . .Values.serviceAccount }}
|
||||
```
|
||||
|
||||
The following values can influence the output:
|
||||
|
||||
```yaml
|
||||
serviceAccount:
|
||||
@ -1079,12 +1085,6 @@ serviceAccount:
|
||||
name: some-name
|
||||
```
|
||||
|
||||
Example usage:
|
||||
|
||||
```
|
||||
serviceAccountName: {{ include "common.serviceAccountName" . .Values.serviceAccount }}
|
||||
```
|
||||
|
||||
Example output:
|
||||
|
||||
```yaml
|
||||
|
Reference in New Issue
Block a user