Helm chart repository for the new unified way to deploy ClearML on Kubernetes. ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
The Deployment template (in agentk8sglue-deployment.yaml) in the clearml-agent chart ignores the clearml.existingAgentk8sglueSecret setting in the values.yaml file.
The name of the secretKeyRef should be conditional based on existingAgentk8sglueSecret similar to how the ConfigMap template (in agentk8sglue-configmap.yaml) does it as shown below.
- name: CLEARML_API_ACCESS_KEY
valueFrom:
secretKeyRef:
{{- if .Values.clearml.existingAgentk8sglueSecret }}
name: {{ .Values.clearml.existingAgentk8sglueSecret }}
{{- else }}
name: {{ include "clearmlAgent.fullname" . }}-ac
{{- end }}
key: agentk8sglue_key
- name: CLEARML_API_SECRET_KEY
valueFrom:
secretKeyRef:
{{- if .Values.clearml.existingAgentk8sglueSecret }}
name: {{ .Values.clearml.existingAgentk8sglueSecret }}
{{- else }}
name: {{ include "clearmlAgent.fullname" . }}-ac
{{- end }}
key: agentk8sglue_secret
The
Deployment
template (inagentk8sglue-deployment.yaml
) in theclearml-agent
chart ignores theclearml.existingAgentk8sglueSecret
setting in thevalues.yaml
file.The name of the
secretKeyRef
should be conditional based onexistingAgentk8sglueSecret
similar to how theConfigMap
template (inagentk8sglue-configmap.yaml
) does it as shown below.What's your helm version?
3.11.1
What's your kubectl version?
1.27.1
What's the chart version?
5.1.3
Enter the changed values of values.yaml?
NONE