move serviceAccount config closer to rbac config as their related

Signed-off-by: Sameer Naik <sameersbn@vmware.com>
This commit is contained in:
Sameer Naik
2019-11-28 12:18:32 +05:30
parent 7c27166ad1
commit ca5575c61b
3 changed files with 24 additions and 24 deletions

View File

@@ -61,6 +61,8 @@ The following table lists the configurable parameters of the Node Exporter chart
| `rbac.create` | Wether to create & use RBAC resources or not | `true` |
| `rbac.apiVersion` | Version of the RBAC API | `v1beta1` |
| `rbac.pspEnabled` | PodSecurityPolicy | `true` |
| `serviceAccount.create` | Specify whether to create a ServiceAccount for Node Exporter | `true` |
| `serviceAccount.name` | The name of the ServiceAccount to create | Generated using the `node-exporter.fullname` template |
| `image.registry` | Node Exporter image registry | `docker.io` |
| `image.repository` | Node Exporter Image name | `bitnami/node-exporter` |
| `image.tag` | Node Exporter Image tag | `{TAG_NAME}` |
@@ -69,8 +71,6 @@ The following table lists the configurable parameters of the Node Exporter chart
| `extraArgs` | Additional command line arguments to pass to node-exporter | `{}` |
| `extraVolumes` | Additional volumes to the node-exporter pods | `{}` |
| `extraVolumeMounts` | Additional volumeMounts to the node-exporter container | `{}` |
| `serviceAccount.create` | Specify whether to create a ServiceAccount for Node Exporter | `true` |
| `serviceAccount.name` | The name of the ServiceAccount to create | Generated using the `node-exporter.fullname` template |
| `securityContext.enabled` | Enable security context | `true` |
| `securityContext.runAsUser` | User ID for the container | `1001` |
| `securityContext.fsGroup` | Group ID for the container filesystem | `1001` |

View File

@@ -33,6 +33,17 @@ rbac:
##
pspEnabled: true
## Service account for Node Exporter to use.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##
serviceAccount:
## Specifies whether a ServiceAccount should be created
##
create: true
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the node-exporter.fullname template
# name:
## Bitnami Node Exporter image version
## ref: https://hub.docker.com/r/bitnami/node-exporter/tags/
##
@@ -68,17 +79,6 @@ extraVolumeMounts: []
# - name: copy-portal-skins
# mountPath: /var/lib/lemonldap-ng/portal/skins
## Service account for Node Exporter to use.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##
serviceAccount:
## Specifies whether a ServiceAccount should be created
##
create: true
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the node-exporter.fullname template
# name:
## SecurityContext configuration
##
securityContext:

View File

@@ -33,6 +33,17 @@ rbac:
##
pspEnabled: true
## Service account for Node Exporter to use.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##
serviceAccount:
## Specifies whether a ServiceAccount should be created
##
create: true
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the node-exporter.fullname template
# name:
## Bitnami Node Exporter image version
## ref: https://hub.docker.com/r/bitnami/node-exporter/tags/
##
@@ -68,17 +79,6 @@ extraVolumeMounts: []
# - name: copy-portal-skins
# mountPath: /var/lib/lemonldap-ng/portal/skins
## Service account for Node Exporter to use.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##
serviceAccount:
## Specifies whether a ServiceAccount should be created
##
create: true
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the node-exporter.fullname template
# name:
## SecurityContext configuration
##
securityContext: