Git Product home page Git Product logo

knative-eventing-operator's People

Contributors

aliok avatar bbrowning avatar jcrossley3 avatar lberk avatar maschmid avatar matzew avatar vdemeester avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

knative-eventing-operator's Issues

knative-eventing-operator RBAC issues when installing with openshift-cloud-functions/knative-operators

I received this error when I was trying out openshift-cloud-functions/demos/knative-kubecon the which installs Knative using openshift-cloud-functions/knative-operators

{"level":"info","ts":1557447197.0059896,"logger":"controller_install","msg":"Reconciling Install","Request.Namespace":"knative-eventing","Request.Name":"knative-eventing"}
{"level":"info","ts":1557447197.018882,"logger":"manifestival","msg":"Creating","name":"/addressable-resolver","type":"rbac.authorization.k8s.io/v1, Kind=ClusterRole"}
{"level":"error","ts":1557447197.0498443,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"install-controller","request":"knative-eventing/knative-eventing","error":"clusterroles.rbac.authorization.k8s.io \"addressable-resolver\" is forbidden: must have cluster-admin privileges to use the aggregationRule","stacktrace":"github.com/openshift-knative/knative-eventing-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/matzew/go/src/github.com/openshift-knative/knative-eventing-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/openshift-knative/knative-eventing-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/matzew/go/src/github.com/openshift-knative/knative-eventing-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\ngithub.com/openshift-knative/knative-eventing-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/home/matzew/go/src/github.com/openshift-knative/knative-eventing-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/openshift-knative/knative-eventing-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/matzew/go/src/github.com/openshift-knative/knative-eventing-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/openshift-knative/knative-eventing-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/matzew/go/src/github.com/openshift-knative/knative-eventing-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/openshift-knative/knative-eventing-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/home/matzew/go/src/github.com/openshift-knative/knative-eventing-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}

The problem is, knative-eventing-operator cannot create the role addressable-resolver.

Just to try it out: giving the cluster-admin role to service account fixed the problem.

kubectl create clusterrolebinding knative-eventing-operator-cluster-admin-binding --clusterrole=cluster-admin --serviceaccount=knative-eventing:knative-eventing-operator

My commands:

minishift profile set knative 

minishift start --memory=12192 --cpus=4 --insecure-registry docker-registry.default.svc:5000 --disk-size=50g
oc login -u system:admin

git clone https://github.com/openshift-cloud-functions/demos.git
cd demos/knative-kubecon
git clone https://github.com/openshift-cloud-functions/knative-operators.git
./knative-operators/etc/scripts/install.sh

knative-eventing-operator was stuck and the installer was timed out at some point.

cc @matzew

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.