[bitnami/redis] Add annotations on service account. (#4358)

* bump version.

* Adding documentations.

* semver compliant version.

Co-authored-by: Andrés Bono <andresbono@vmware.com>
This commit is contained in:
swbsf
2020-11-17 20:32:27 +01:00
committed by GitHub
parent 9084881e83
commit ab11db5c8a
5 changed files with 12 additions and 1 deletions

View File

@@ -19,4 +19,4 @@ name: redis
sources:
- https://github.com/bitnami/bitnami-docker-redis
- http://redis.io/
version: 12.0.1
version: 12.1.0

View File

@@ -100,6 +100,7 @@ The following table lists the configurable parameters of the Redis chart and the
| `containerSecurityContext.runAsUser` | User ID for the container (both redis master and slave containers) | `1001` |
| `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `false` |
| `serviceAccount.name` | The name of the ServiceAccount to create | Generated using the fullname template |
| `serviceAccount.annotations` | Specifies annotations to add to ServiceAccount. | `nil` |
| `rbac.create` | Specifies whether RBAC resources should be created | `false` |
| `rbac.role.rules` | Rules to create | `[]` |
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |

View File

@@ -9,4 +9,7 @@ metadata:
chart: {{ template "redis.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.serviceAccount.annotations }}
annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
{{- end }}
{{- end -}}

View File

@@ -162,6 +162,9 @@ serviceAccount:
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the fullname template
name:
## Add annotations to service account
# annotations:
# iam.gke.io/gcp-service-account: "sa@project.iam.gserviceaccount.com"
rbac:
## Specifies whether RBAC resources should be created

View File

@@ -162,6 +162,10 @@ serviceAccount:
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the fullname template
name:
## Add annotations to service account
# annotations:
# iam.gke.io/gcp-service-account: "sa@project.iam.gserviceaccount.com"
rbac:
## Specifies whether RBAC resources should be created