Gaetan DELBART
05/20/2020, 1:11 PMvalues.yaml
, i've got the following
imagePullSecrets:
- name: secret-name
When I try to up my stack using Helm, the container is in status "CrashloopBackOff", and, if i get the logs of the pods, I got the following :
Error 1: Invalid scalar at path root:image_pull_secrets[0]. Value "{'name': 'secret-name'}" of type "<class 'dict'>" is not valid for expected type "String".
I've tried to dig into the issue, and try to edit the configmap-instance.yaml file, specificaly, this part
run_launcher:
module: dagster_k8s.launcher
class: K8sRunLauncher
config:
{{- with .Values.imagePullSecrets }}
image_pull_secrets:
{{- toYaml . | nindent 10 }}
{{- end }}
I've tried to "hardcode" the value of image_pull_secrets
After some tries, I've tried
run_launcher:
module: dagster_k8s.launcher
class: K8sRunLauncher
config:
image_pull_secrets:
- "secret-name"
And got the following issue
dagster.check.CheckError: Member of list mismatches type. Expected <class 'dict'>. Got 'ecr-auth' of type <class 'str'>
Seems like there is a missmatch betwwen the expected type in the config, and the one in the k8sLauncher
Any input on this, or any solutions to solve this issue ?
Thanks again for your great work 💪nate
05/20/2020, 2:47 PMcat
05/21/2020, 5:57 AMGaetan DELBART
05/27/2020, 12:24 PM