minishift / minishift-addons

A repository for the community to exchange Minishift add-ons
Apache License 2.0
71 stars 86 forks source link

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

Open yohanswanepoel opened 5 years ago

yohanswanepoel commented 5 years ago

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

praveenkumar commented 5 years ago

@yohanswanepoel you mean below is not working?

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

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