ianlewis / memcached-operator

A Kubernetes operator for memcached
Apache License 2.0
152 stars 18 forks source link

Issue when running in a namespace. #20

Open aswinkm-tc opened 5 years ago

aswinkm-tc commented 5 years ago

Hey, I'm trying to deploy memcached-operator in a namespace called memcached where my memcached chart is deployed. When I'm trying to create a memcachedproxies.ianlewis.org resource, it's not generating a service(Which I suppose how it should work). I'm getting this error on the prometheus-operator pod E1015 05:47:22.856956 1 reflector.go:205] github.com/ianlewis/memcached-operator/vendor/github.com/ianlewis/controllerutil/informers/informers.go:99: Failed to list *v1beta1.Deployment: deployments.extensions is forbidden: User "system:serviceaccount:memcached:memcached-operator-memcached-operator" cannot list deployments.extensions at the cluster scope: Unknown user "system:serviceaccount:memcached:memcached-operator-memcached-operator" I'm using this command to install the helm chart helm install --name memcached-operator memcached-operator/charts/memcached-operator --namespace memcached

Thanks in advance. :)

lastonoga commented 4 years ago

@AswinKakarot look here https://github.com/fnproject/fn-helm/issues/21