2021-09-05 13:44:16 UTC - pankaj dahiya: Posted in <#C4J3R7JFL|kubernetes> too, 
sorry for the duplicate -

URGENT HELP NEEDED:

Anyone here tried pulling images from a private registry while running open 
whisk in Kubernetes environment via helm charts?
I have specified registry url, name, password in values.yaml. I am able to pull 
all the images from my private registry other than the pre-warm containers like 
action-nodejs-10.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1630849456013800
----
2021-09-05 13:45:00 UTC - pankaj dahiya: I tried editing 
templates/_invoker-helpers.tpl, so that it can get registry credentials 
directly from value.yaml as below:

   # action runtimes
    - name: "RUNTIMES_MANIFEST"
      value: {{ template "openwhisk.runtimes_manifest" . }}
{{- if ne .Values.docker.registry.name "" }}
    - name: "RUNTIMES_REGISTRY"
      value: "{{- .Values.docker.registry.name -}}"
    - name: "RUNTIMES_REGISTRY_USERNAME"
      value: "{{- .Values.docker.registry.username -}}"
    - name: "RUNTIMES_REGISTRY_PASSWORD"
      value: "{{- .Values.docker.registry.password -}}"
{{- end -}}

But still, images are not pulled, giving unauthorize error
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1630849500014100
----

Reply via email to