diff --git a/bitnami/aspnet-core/Chart.yaml b/bitnami/aspnet-core/Chart.yaml index 667b25761..8e459b2c9 100644 --- a/bitnami/aspnet-core/Chart.yaml +++ b/bitnami/aspnet-core/Chart.yaml @@ -22,4 +22,4 @@ name: aspnet-core sources: - https://github.com/bitnami/bitnami-docker-aspnet-core - https://dotnet.microsoft.com/apps/aspnet -version: 3.4.6 +version: 3.4.7 diff --git a/bitnami/aspnet-core/templates/deployment.yaml b/bitnami/aspnet-core/templates/deployment.yaml index d0bf9481a..35f4ed8a3 100644 --- a/bitnami/aspnet-core/templates/deployment.yaml +++ b/bitnami/aspnet-core/templates/deployment.yaml @@ -133,9 +133,8 @@ spec: - name: BITNAMI_DEBUG value: {{ .Values.image.debug | quote }} {{- end }} - {{- range $key, $value := .Values.extraEnvVars }} - - name: {{ $key }} - value: "{{ $value }}" + {{- if .Values.extraEnvVars }} + {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }} {{- end }} {{- if or .Values.extraEnvVarsCM .Values.extraEnvVarsSecret }} envFrom: diff --git a/bitnami/aspnet-core/templates/ingress.yaml b/bitnami/aspnet-core/templates/ingress.yaml index c18788c65..d64b01fc9 100644 --- a/bitnami/aspnet-core/templates/ingress.yaml +++ b/bitnami/aspnet-core/templates/ingress.yaml @@ -3,6 +3,7 @@ apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }} kind: Ingress metadata: name: {{ include "aspnet-core.fullname" . }} + namespace: {{ include "common.names.namespace" . | quote }} labels: {{- include "common.labels.standard" . | nindent 4 }} {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}