Files
truecharts/charts/enterprise/traefik/templates/_helpers.tpl
T
c34bfb1e9b BREAKING CHANGE refactor: port all enterprise apps to new common and add apps (#7738)
* use new common

* more porting and add notes.txt

* portals

* add vaultwarden and authelia to enterprise

* some changes

* authelia porting

* fix grafana

* fixup metallb

* more

* traefik

* some initial blocky work

* fixes

* more work on enterprise train

* containers

* labels

* no message

* some more fixes

* update questions for new enterprise apps

* something

* remove postgresql dependency from enterprise train apps

* fix some traefik bugs

* remove prometheus affinities for now

* authelia postgresql fixes

* bump and fix install test errors

* bump common for probe fixes

* fix questions

* more questions fixes

* add some metrics improvements

* some more fixes

* whoops

* some authelia fixes

* fix blocky and authelia

* bump common for postgresql fixes

* hmm

* bump common

* bump redis to disable double manifest loading

* dont enc secrets for authelia

* traefik, blocky and authelia fixes

* traefik caps on protocols

* bump redis for password fixes

* ensure roles are clusterwide

* ok

* redis/common bumps

* remove blocky webui and change config location

* whoops

* redis fix

* more blocky tryouts

* authelia whoops

* bump blocky version

* disable prometheus controller

* oops

* bump common on prometheus for custom service selector labels

* rename prometheus selector labels on service

* damn

* more work

* blocky 100 tryout

* blocky root tryout

* fix blocky config and remove fsgroup

* dont drop caps

* Update common.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update values.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update values.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* revert update for blocky

* use old-style mount for blocky

* put update back for blocky

* add initial postgresl query log support

* hmm

* small lint

* bump common

---------

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Co-authored-by: Stavros kois <s.kois@outlook.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-03-04 13:42:14 +01:00

23 lines
1.1 KiB
Smarty

{{/*
Construct the path for the providers.kubernetesingress.ingressendpoint.publishedservice.
By convention this will simply use the <namespace>/<service-name> to match the name of the
service generated.
Users can provide an override for an explicit service they want bound via `.Values.providers.kubernetesIngress.publishedService.pathOverride`
*/}}
{{- define "providers.kubernetesIngress.publishedServicePath" -}}
{{- $fullName := include "tc.v1.common.lib.chart.names.fullname" . -}}
{{- $defServiceName := printf "%s/%s-tcp" .Release.Namespace $fullName -}}
{{- $servicePath := default $defServiceName .Values.providers.kubernetesIngress.publishedService.pathOverride }}
{{- print $servicePath | trimSuffix "-" -}}
{{- end -}}
{{/*
Construct a comma-separated list of whitelisted namespaces
*/}}
{{- define "providers.kubernetesIngress.namespaces" -}}
{{- default .Release.Namespace (join "," .Values.providers.kubernetesIngress.namespaces) }}
{{- end -}}
{{- define "providers.kubernetesCRD.namespaces" -}}
{{- default .Release.Namespace (join "," .Values.providers.kubernetesCRD.namespaces) }}
{{- end -}}