Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2024-02-28 23:25:53 +00:00
parent d59c2a189c
commit 4052a24e80
14 changed files with 26 additions and 62 deletions

View File

@ -1,5 +0,0 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}

View File

@ -42,4 +42,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/enterprise/kubeapps
- https://ghcr.io/xstar97/my-proxy-service
type: application
version: 2.1.4
version: 2.1.8

View File

@ -47,19 +47,17 @@ service:
## TODO: Enable
main:
enabled: false
primary: true
primary: false
expandObjectName: false
ports:
main:
## TODO: Enable
enabled: false
primary: true
primary: false
port: 3000
targetPort: 3000
tckubeapps:
enabled: true
expandObjectName: false
## TODO: Move to main service
primary: true
labels:
truecharts.org/flagged: "true"

View File

@ -64,58 +64,6 @@ questions:
type: dict
attrs:
- variable: main
label: "token-bypass Service"
description: "The token-bypass service"
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: Enable the Service
schema:
type: boolean
default: true
hidden: true
- variable: type
label: Service Type
description: "ClusterIP's are only internally available and Loadbalancer exposes the service using the system loadbalancer"
schema:
type: string
default: LoadBalancer
enum:
- value: LoadBalancer
description: LoadBalancer (Expose Ports)
- value: ClusterIP
description: ClusterIP (Do Not Expose Ports)
- variable: loadBalancerIP
label: LoadBalancer IP
description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB"
schema:
show_if: [["type", "=", "LoadBalancer"]]
type: string
default: ""
- variable: ports
label: "Service's Port(s) Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "token-bypass Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 8080
required: true
- variable: tckubeapps
label: "KubeApps Service"
description: "The Primary service on which the healthcheck runs, often the webUI"

View File

@ -0,0 +1,19 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{- $overrideService := dict "name" "tckubeapps" "port" 8080 -}}
{{- $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 */}}
{{ include "tc.v1.common.loader.apply" . }}