oc apply -f cockpit-template-orig.json -n cockpit
replace cockpit-template-orig.json to cockpit-template.json
minishift addon apply cockpit
-- Applying addon 'cockpit':...error: local file access failed with: stat cockpit-template: no such file or directory
error: unable to locate any images in image streams, templates loaded in accessible projects, template files, local docker images with name "cockpit-template"
Argument 'cockpit-template' was classified as an image, image~source, or loaded template reference.
The 'oc new-app' command will match arguments to the following types:
Images tagged into image streams in the current project or the 'openshift' project
if you don't specify a tag, we'll add ':latest'
Images in the Docker Hub, on remote registries, or on the local Docker engine
Templates in the current project or the 'openshift' project
Git repository URLs or local paths that point to Git repositories
--allow-missing-images can be used to point to an image that does not exist yet.
See 'oc new-app -h' for examples.
Error applying the add-on: Error executing command 'oc new-app cockpit-template -p COCKPIT_KUBE_URL=http://cockpit.#{routing-suffix} -p OPENSHIFT_OAUTH_PROVIDER_URL=https://#{ip}:8443 -p COCKPIT_KUBE_INSECURE=true -l app=cockpit -n cockpit'.
Argument 'cockpit-template' was classified as an image, image~source, or loaded template reference.
The 'oc new-app' command will match arguments to the following types:
--allow-missing-images can be used to point to an image that does not exist yet.
See 'oc new-app -h' for examples. Error applying the add-on: Error executing command 'oc new-app cockpit-template -p COCKPIT_KUBE_URL=http://cockpit.#{routing-suffix} -p OPENSHIFT_OAUTH_PROVIDER_URL=https://#{ip}:8443 -p COCKPIT_KUBE_INSECURE=true -l app=cockpit -n cockpit'.
maybe have to specify --addon-env ...