mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 09:06:48 +00:00
957b7b2423
* Fixed: typo * Added: /tmp env var * Changed: use fullname * Fixed: fullname usage
21 lines
608 B
YAML
21 lines
608 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "clearmlAgent.fullname" . }}-ac
|
|
data:
|
|
agentk8sglue_key: {{ .Values.clearml.agentk8sglueKey | b64enc }}
|
|
agentk8sglue_secret: {{ .Values.clearml.agentk8sglueSecret | b64enc }}
|
|
clearml.conf: {{ .Values.clearml.clearmlConfig | b64enc }}
|
|
---
|
|
{{- if .Values.imageCredentials.enabled }}
|
|
{{- if not .Values.imageCredentials.existingSecret }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "clearmlAgent.fullname" . }}-ark
|
|
type: kubernetes.io/dockerconfigjson
|
|
data:
|
|
.dockerconfigjson: {{ template "imagePullSecret" . }}
|
|
{{- end }}
|
|
{{- end }}
|