allow for kubeapps ingress fixes
This commit is contained in:
@@ -42,4 +42,4 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/enterprise/kubeapps
|
- https://github.com/truecharts/charts/tree/master/charts/enterprise/kubeapps
|
||||||
- https://ghcr.io/xstar97/my-proxy-service
|
- https://ghcr.io/xstar97/my-proxy-service
|
||||||
type: application
|
type: application
|
||||||
version: 2.1.5
|
version: 2.1.6
|
||||||
|
|||||||
@@ -1,5 +1,19 @@
|
|||||||
{{/* Make sure all variables are set properly */}}
|
{{/* Make sure all variables are set properly */}}
|
||||||
{{- include "tc.v1.common.loader.init" . }}
|
{{- include "tc.v1.common.loader.init" . }}
|
||||||
|
|
||||||
|
{{- $overrideService := dict "name" "tckubeapps" "port" 8080 "expandObjectName" false -}}
|
||||||
|
{{- $hosts := list -}}
|
||||||
|
{{- range $.Values.ingress.main.hosts -}}
|
||||||
|
{{- $paths := list -}}
|
||||||
|
{{- range .paths -}}
|
||||||
|
{{- $path := dict "path" .path "pathType" .pathType "overrideService" $overrideService -}}
|
||||||
|
{{- $paths = append $paths $path -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $host := dict "host" .host "paths" $paths -}}
|
||||||
|
{{- $hosts = append $hosts $host -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- $_ := set $.Values.ingress.main "hosts" $hosts -}}
|
||||||
|
|
||||||
{{/* Render the templates */}}
|
{{/* Render the templates */}}
|
||||||
{{ include "tc.v1.common.loader.apply" . }}
|
{{ include "tc.v1.common.loader.apply" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user