2022-06-08 08:01:33 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
2023-03-20 08:19:43 +00:00
|
|
|
name: {{ include "clearmlAgent.fullname" . }}-ac
|
2022-06-08 08:01:33 +00:00
|
|
|
data:
|
|
|
|
agentk8sglue_key: {{ .Values.clearml.agentk8sglueKey | b64enc }}
|
|
|
|
agentk8sglue_secret: {{ .Values.clearml.agentk8sglueSecret | b64enc }}
|
2022-06-23 07:52:19 +00:00
|
|
|
clearml.conf: {{ .Values.clearml.clearmlConfig | b64enc }}
|
2022-06-08 08:01:33 +00:00
|
|
|
---
|
|
|
|
{{- if .Values.imageCredentials.enabled }}
|
|
|
|
{{- if not .Values.imageCredentials.existingSecret }}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
2023-03-20 08:19:43 +00:00
|
|
|
name: {{ include "clearmlAgent.fullname" . }}-ark
|
2022-06-08 08:01:33 +00:00
|
|
|
type: kubernetes.io/dockerconfigjson
|
|
|
|
data:
|
|
|
|
.dockerconfigjson: {{ template "imagePullSecret" . }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|