minishift / minishift-addons

A repository for the community to exchange Minishift add-ons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenWhisk Add-on instructions not working on Minishift with OC 3.10

yohanswanepoel opened this issue · comments

Hi

The instructions did not work as per the repo. This is what I did to get it working.

minishift ssh

vi /var/lib/minishift/base/openshift-apiserver/master-config.yaml
manually add resolveImages:AttemptRewrite , in the config session as per the patch file
Then ran the instructions in openwhisk.addon manually for the environment to be created.

That seemed to work

Regards

@yohanswanepoel you mean below is not working?

minishift openshift config set --patch \
        '{"admissionConfig":
            {"pluginConfig":
                {"openshift.io/ImagePolicy":
                    {"configuration":
                        {"apiVersion": "v1",
                         "kind": "ImagePolicyConfig",
                         "resolveImages": "AttemptRewrite"}}}}}'

Yes that is the one the. The workaround for me was to ssh into minishift and manually edit the config file.