[bitnami/aspnet-core] Fix extra env vars and add ingress namespace (#10857)

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>
This commit is contained in:
Alberto Otero
2022-06-23 15:01:52 +02:00
committed by GitHub
parent 66351d0844
commit ec2ff6674c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
@@ -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:
@@ -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 }}