2024-02-24 14:12:06 +00:00
|
|
|
{{/* Make sure all variables are set properly */}}
|
|
|
|
{{- include "tc.v1.common.loader.init" . -}}
|
|
|
|
|
2024-02-25 11:05:19 +00:00
|
|
|
{{/* Render secrets for ollama */}}
|
|
|
|
{{- $secrets := include "ollama.secrets" . | fromYaml -}}
|
2024-02-24 14:12:06 +00:00
|
|
|
{{- if $secrets -}}
|
2024-02-25 11:05:19 +00:00
|
|
|
{{- $_ := set .Values.secret "ollama-secrets" $secrets -}}
|
2024-02-24 14:12:06 +00:00
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{/* Render the templates */}}
|
|
|
|
{{- include "tc.v1.common.loader.apply" . -}}
|