mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-09 05:06:29 +10:00
[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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user