Hamza Ahmed
06/04/2021, 5:45 PMimagePullSecrets
value in the prefecthq/prefect-server
helm chart?
Tried multiple ways, but none seem to work (examples in comments)Hamza Ahmed
06/04/2021, 5:46 PMPS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets=["docker-secret"] --debug
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: C:\Users\hahmed\AppData\Local\Temp\helm\repository\prefect-server-2021.05.25.tgz
Error: template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
helm.go:81: [debug] template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
PS >
PS >
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets="docker-secret" --debug
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: C:\Users\hahmed\AppData\Local\Temp\helm\repository\prefect-server-2021.05.25.tgz
Error: template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
helm.go:81: [debug] template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
PS >
PS >
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets="[docker-secret]" --debug
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: C:\Users\hahmed\AppData\Local\Temp\helm\repository\prefect-server-2021.05.25.tgz
Error: template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
helm.go:81: [debug] template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
PS >
PS >
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets="[\"docker-secret\"]" --debug
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: C:\Users\hahmed\AppData\Local\Temp\helm\repository\prefect-server-2021.05.25.tgz
Error: template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
helm.go:81: [debug] template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
PS >
PS >
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets={docker-secret} --debug
Error: unknown shorthand flag: 'e' in -encodedCommand
helm.go:81: [debug] unknown shorthand flag: 'e' in -encodedCommand
PS >
PS >
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets={"docker-secret"} --debug
Error: unknown shorthand flag: 'e' in -encodedCommand
helm.go:81: [debug] unknown shorthand flag: 'e' in -encodedCommand
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets="{\"docker-secret\"}" --debug
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: C:\Users\hahmed\AppData\Local\Temp\helm\repository\prefect-server-2021.05.25.tgz
Error: failed parsing --set data: list must terminate with '}'
helm.go:81: [debug] list must terminate with '}'
<http://helm.sh/helm/v3/pkg/strvals.(*parser).valList|helm.sh/helm/v3/pkg/strvals.(*parser).valList>
<http://helm.sh/helm/v3/pkg/strvals/parser.go:369|helm.sh/helm/v3/pkg/strvals/parser.go:369>
<http://helm.sh/helm/v3/pkg/strvals.(*parser).key|helm.sh/helm/v3/pkg/strvals.(*parser).key>
<http://helm.sh/helm/v3/pkg/strvals/parser.go:189|helm.sh/helm/v3/pkg/strvals/parser.go:189>
<http://helm.sh/helm/v3/pkg/strvals.(*parser).parse|helm.sh/helm/v3/pkg/strvals.(*parser).parse>
<http://helm.sh/helm/v3/pkg/strvals/parser.go:134|helm.sh/helm/v3/pkg/strvals/parser.go:134>
<http://helm.sh/helm/v3/pkg/strvals.ParseInto|helm.sh/helm/v3/pkg/strvals.ParseInto>
<http://helm.sh/helm/v3/pkg/strvals/parser.go:71|helm.sh/helm/v3/pkg/strvals/parser.go:71>
<http://helm.sh/helm/v3/pkg/cli/values.(*Options).MergeValues|helm.sh/helm/v3/pkg/cli/values.(*Options).MergeValues>
<http://helm.sh/helm/v3/pkg/cli/values/options.go:62|helm.sh/helm/v3/pkg/cli/values/options.go:62>
main.runInstall
<http://helm.sh/helm/v3/cmd/helm/install.go:193|helm.sh/helm/v3/cmd/helm/install.go:193>
main.newInstallCmd.func2
<http://helm.sh/helm/v3/cmd/helm/install.go:120|helm.sh/helm/v3/cmd/helm/install.go:120>
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
<http://github.com/spf13/cobra@v1.1.3/command.go:852|github.com/spf13/cobra@v1.1.3/command.go:852>
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
<http://github.com/spf13/cobra@v1.1.3/command.go:960|github.com/spf13/cobra@v1.1.3/command.go:960>
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
<http://github.com/spf13/cobra@v1.1.3/command.go:897|github.com/spf13/cobra@v1.1.3/command.go:897>
main.main
<http://helm.sh/helm/v3/cmd/helm/helm.go:80|helm.sh/helm/v3/cmd/helm/helm.go:80>
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371
failed parsing --set data
<http://helm.sh/helm/v3/pkg/cli/values.(*Options).MergeValues|helm.sh/helm/v3/pkg/cli/values.(*Options).MergeValues>
<http://helm.sh/helm/v3/pkg/cli/values/options.go:63|helm.sh/helm/v3/pkg/cli/values/options.go:63>
main.runInstall
<http://helm.sh/helm/v3/cmd/helm/install.go:193|helm.sh/helm/v3/cmd/helm/install.go:193>
main.newInstallCmd.func2
<http://helm.sh/helm/v3/cmd/helm/install.go:120|helm.sh/helm/v3/cmd/helm/install.go:120>
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
<http://github.com/spf13/cobra@v1.1.3/command.go:852|github.com/spf13/cobra@v1.1.3/command.go:852>
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
<http://github.com/spf13/cobra@v1.1.3/command.go:960|github.com/spf13/cobra@v1.1.3/command.go:960>
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
<http://github.com/spf13/cobra@v1.1.3/command.go:897|github.com/spf13/cobra@v1.1.3/command.go:897>
main.main
<http://helm.sh/helm/v3/cmd/helm/helm.go:80|helm.sh/helm/v3/cmd/helm/helm.go:80>
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets={\"docker-secret\"} --debug
Error: unknown shorthand flag: 'e' in -encodedCommand
helm.go:81: [debug] unknown shorthand flag: 'e' in -encodedCommand
PS > helm install pdepl prefecthq/prefect-server --set imagePullSecrets="\{\"docker-secret\"\}" --debug
install.go:173: [debug] Original chart version: ""
install.go:190: [debug] CHART PATH: C:\Users\hahmed\AppData\Local\Temp\helm\repository\prefect-server-2021.05.25.tgz
Error: template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
helm.go:81: [debug] template: prefect-server/templates/ui/deployment.yaml:26:27: executing "prefect-server/templates/ui/deployment.yaml" at <concat .Values.ui.image.pullSecrets .Values.imagePullSecrets>: error calling concat: Cannot concat type string as list
PS >
Hamza Ahmed
06/04/2021, 6:01 PMnicholas
helm install pdepl prefecthq/prefect-server --set imagePullSecret.secretName="docker-secret"