mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 17:16:47 +00:00
38 lines
897 B
YAML
38 lines
897 B
YAML
|
{{ if .Values.agentk8sglue.fileMounts }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: {{ include "clearml.name" . }}-afm
|
||
|
data:
|
||
|
{{- range .Values.agentk8sglue.fileMounts }}
|
||
|
{{ .name }}: {{ .fileContent | b64enc }}
|
||
|
{{- end }}
|
||
|
{{ end }}
|
||
|
---
|
||
|
{{- if .Values.enterpriseFeatures.enabled }}
|
||
|
{{ if .Values.agentk8sglue.basePodTemplate.fileMounts }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: {{ include "clearml.name" . }}-fm
|
||
|
data:
|
||
|
{{- range .Values.agentk8sglue.basePodTemplate.fileMounts }}
|
||
|
{{ .name }}: {{ .fileContent | b64enc }}
|
||
|
{{- end }}
|
||
|
{{ end }}
|
||
|
---
|
||
|
{{- range $key, $value := $.Values.agentk8sglue.queues }}
|
||
|
{{ if .templateOverrides.fileMounts }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: {{ include "clearml.name" $ }}-{{ $key }}-fm
|
||
|
data:
|
||
|
{{- range .templateOverrides.fileMounts }}
|
||
|
{{ .name }}: {{ .fileContent | b64enc }}
|
||
|
{{- end }}
|
||
|
{{ end }}
|
||
|
---
|
||
|
{{- end }}
|
||
|
{{- end }}
|