Files
library-charts/library/common/templates/loader/_init.tpl
Kjeld Schouten 176c1300f9 Update _init.tpl
2023-05-29 08:53:14 +02:00

59 lines
2.0 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" . -}}
{{/* Add manifest manager pre-install and pre-update job */}}
{{- include "tc.v1.common.lib.util.manifest.manage" . | nindent 0 -}}
{{/* 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 -}}