Git Product home page Git Product logo

integration-controller's People

Contributors

camilamacedo86 avatar maleck13 avatar sedroche avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

integration-controller's Issues

Can't build on Macos the command " make setup install run "

 make setup install run                                                                                                       
#@echo Installing operator-sdk cli
#cd vendor/github.com/operator-framework/operator-sdk/commands/operator-sdk/ && go install .
Installing dep
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5110  100  5110    0     0   5110      0  0:00:01 --:--:--  0:00:01 13663
ARCH = amd64
OS = darwin
Will install into /Users/dabou/Code/go-workspace/bin
Fetching https://github.com/golang/dep/releases/latest..
Release Tag = v0.5.0
Fetching https://github.com/golang/dep/releases/tag/v0.5.0..
Fetching https://github.com/golang/dep/releases/download/v0.5.0/dep-darwin-amd64..
Setting executable permissions.
Moving executable to /Users/dabou/Code/go-workspace/bin/dep
Installing errcheck
setup complete run make build deploy to build and deploy the operator to a local cluster
kubectl create -f deploy/crd.yaml
customresourcedefinition "integrations.integreatly.org" created
oc new-project integration-services
Now using project "integration-services" on server "https://192.168.65.24:8443".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git

to build a new example application in Ruby.
kubectl create --insecure-skip-tls-verify -f deploy/rbac.yaml -n integration-services
role "integration-controller" created
rolebinding "ns-integration-controller" created
operator-sdk up local --namespace=integration-services --operator-flags="--resync=20 --log-level=debug"
ERRO[0000] failed to initialize service object for operator metrics: OPERATOR_NAME must be set 
INFO[0000] Go Version: go1.10.2                         
INFO[0000] Go OS/Arch: darwin/amd64                     
INFO[0000] operator-sdk Version: 0.0.6                  
INFO[0000] config: insecure requests to services with self signed certs are enabled: false 
INFO[0000] config: EnMasse namespace is set to enmasse  
INFO[0000] config: fuse namespace is set to integration-services 
INFO[0000] config: resync interval is set to20          
INFO[0000] consig: loglevel debug                       
panic: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory

goroutine 1 [running]:
main.main()
        /Users/dabou/Code/go-workspace/src/github.com/integr8ly/integration-controller/cmd/integration-controller/main.go:123 +0xd03
exit status 2
Error: failed to run operator locally: exit status 1
make: *** [run] Error 1

I suspect that the error is related to this message panic: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory

Do we need any specific version of openshift to install it ? Can we use minishift ?
Why do you use kubectl within the makefile instead of oc as kubectl is perhaps not installed locally ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.