minishift / minishift-addons

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

apply cockpit has errors #107

Open edmacabebe opened 6 years ago

edmacabebe commented 6 years ago
  1. oc apply -f cockpit-template-orig.json -n cockpit replace cockpit-template-orig.json to cockpit-template.json
  2. 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:

  1. Images tagged into image streams in the current project or the 'openshift' project
    • if you don't specify a tag, we'll add ':latest'
  2. Images in the Docker Hub, on remote registries, or on the local Docker engine
  3. Templates in the current project or the 'openshift' project
  4. 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'.


maybe have to specify --addon-env ...