diff --git a/bitnami/aspnet-core/Chart.yaml b/bitnami/aspnet-core/Chart.yaml index c6d6b0c375..0383bc3193 100644 --- a/bitnami/aspnet-core/Chart.yaml +++ b/bitnami/aspnet-core/Chart.yaml @@ -21,4 +21,4 @@ maintainers: name: aspnet-core sources: - https://github.com/bitnami/charts/tree/main/bitnami/aspnet-core -version: 4.2.2 +version: 4.3.1 diff --git a/bitnami/aspnet-core/README.md b/bitnami/aspnet-core/README.md index 60dfa7cbfe..65f752b242 100644 --- a/bitnami/aspnet-core/README.md +++ b/bitnami/aspnet-core/README.md @@ -228,6 +228,7 @@ The command removes all the Kubernetes components associated with the chart and | `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `true` | | `serviceAccount.name` | The name of the ServiceAccount to use. | `""` | | `serviceAccount.annotations` | Additional custom annotations for the ServiceAccount | `{}` | +| `serviceAccount.extraLabels` | Additional labels for the ServiceAccount | `{}` | | `serviceAccount.automountServiceAccountToken` | Automount service account token | `true` | Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, diff --git a/bitnami/aspnet-core/templates/serviceaccount.yaml b/bitnami/aspnet-core/templates/serviceaccount.yaml index 6b81f8bbed..005ac0ea3e 100644 --- a/bitnami/aspnet-core/templates/serviceaccount.yaml +++ b/bitnami/aspnet-core/templates/serviceaccount.yaml @@ -8,6 +8,9 @@ metadata: {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} {{- end }} + {{- if .Values.serviceAccount.extraLabels }} + {{- include "common.tplvalues.render" (dict "value" .Values.serviceAccount.extraLabels "context" $) | nindent 4 }} + {{- end }} annotations: {{- if .Values.serviceAccount.annotations }} {{- include "common.tplvalues.render" ( dict "value" .Values.serviceAccount.annotations "context" $) | nindent 4 }} diff --git a/bitnami/aspnet-core/values.yaml b/bitnami/aspnet-core/values.yaml index 571ded7591..c7faa2a59f 100644 --- a/bitnami/aspnet-core/values.yaml +++ b/bitnami/aspnet-core/values.yaml @@ -721,6 +721,9 @@ serviceAccount: ## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount ## annotations: {} + ## @param serviceAccount.extraLabels Additional labels for the ServiceAccount + ## + extraLabels: {} ## @param serviceAccount.automountServiceAccountToken Automount service account token ## automountServiceAccountToken: true