mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 09:06:48 +00:00
dd1c201eeb
* Fixed: helper variable rename to avoid collisions * Changed: bump version
38 lines
912 B
YAML
38 lines
912 B
YAML
{{ if .Values.agentk8sglue.fileMounts }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "clearmlAgent.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 "clearmlAgent.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 "clearmlAgent.name" $ }}-{{ $key }}-fm
|
|
data:
|
|
{{- range .templateOverrides.fileMounts }}
|
|
{{ .name }}: {{ .fileContent | b64enc }}
|
|
{{- end }}
|
|
{{ end }}
|
|
---
|
|
{{- end }}
|
|
{{- end }}
|