k8s/helm-charts/dashy/charts/common/templates/loader/_init.tpl
root 1eaf295724
Some checks failed
continuous-integration/drone/push Build is failing
new way of doin
2023-11-16 19:42:02 +10:00

56 lines
1.9 KiB
Smarty

{{/* Initialiaze values of the chart */}}
{{- define "tc.v1.common.loader.init" -}}
{{/* Merge chart values and the common chart defaults */}}
{{- include "tc.v1.common.values.init" . -}}
{{/* Parse lists and append to values */}}
{{- include "tc.v1.common.loader.lists" . -}}
{{/* Ensure TrueCharts chart context information is available */}}
{{- include "tc.v1.common.lib.util.chartcontext" . -}}
{{/* Autogenerate postgresql passwords if needed */}}
{{- include "tc.v1.common.spawner.cnpg" . }}
{{/* Autogenerate redis passwords if needed */}}
{{- include "tc.v1.common.dependencies.redis.injector" . }}
{{/* Autogenerate mariadb passwords if needed */}}
{{- include "tc.v1.common.dependencies.mariadb.injector" . }}
{{/* Autogenerate mongodb passwords if needed */}}
{{- include "tc.v1.common.dependencies.mongodb.injector" . }}
{{/* Autogenerate clickhouse passwords if needed */}}
{{- include "tc.v1.common.dependencies.clickhouse.injector" . }}
{{/* Autogenerate solr passwords if needed */}}
{{- include "tc.v1.common.dependencies.solr.injector" . }}
{{/* Register Operator if needed */}}
{{- include "tc.v1.common.lib.util.operator.register" . }}
{{/* Verify if required operators are present */}}
{{- include "tc.v1.common.lib.util.operator.verifyAll" . }}
{{/* Enable code-server add-on if required */}}
{{- if .Values.addons.codeserver.enabled }}
{{- include "tc.v1.common.addon.codeserver" . }}
{{- end -}}
{{/* Enable VPN add-on if required */}}
{{- if ne "disabled" .Values.addons.vpn.type -}}
{{- include "tc.v1.common.addon.vpn" . }}
{{- end -}}
{{/* Enable netshoot add-on if required */}}
{{- if .Values.addons.netshoot.enabled }}
{{- include "tc.v1.common.addon.netshoot" . }}
{{- end -}}
{{/* Append database wait containers to pods */}}
{{- include "tc.v1.common.lib.deps.wait" $ }}
{{- end -}}