Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply cockpit has errors #107

Open
edmacabebe opened this issue Apr 12, 2018 · 0 comments
Open

apply cockpit has errors #107

edmacabebe opened this issue Apr 12, 2018 · 0 comments

Comments

@edmacabebe
Copy link

  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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant