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

Unable to limit argo rollouts to a single namespace #361

Closed
sanyu opened this issue Jan 16, 2020 · 0 comments · Fixed by #362
Closed

Unable to limit argo rollouts to a single namespace #361

sanyu opened this issue Jan 16, 2020 · 0 comments · Fixed by #362
Labels
analysis Related to Analysis CRD bug Something isn't working

Comments

@sanyu
Copy link

sanyu commented Jan 16, 2020

Hi,

I've deployed argo rollouts using the namespace-install.yaml (https://github.com/argoproj/argo-rollouts/blob/v0.6.2/manifests/namespace-install.yaml).

After adding the flag "-n NAMESPACE" to the deployment I got it to start, but it seems like it still tries to access resources at the cluster scope (jobs.batch):

time="2020-01-16T03:29:34Z" level=info msg="Using namespace XXXXXX"
time="2020-01-16T03:29:34Z" level=info msg="Creating event broadcaster"
time="2020-01-16T03:29:34Z" level=info msg="Setting up event handlers"
time="2020-01-16T03:29:34Z" level=info msg="Setting up experiments event handlers"
time="2020-01-16T03:29:34Z" level=info msg="Setting up analysis event handlers"
time="2020-01-16T03:29:34Z" level=info msg="Waiting for controller's informer caches to sync"
E0116 03:29:34.439801       1 reflector.go:123] k8s.io/client-go/informers/factory.go:134: Failed to list *v1.Job: jobs.batch is forbidden: User "system:serviceaccount:XXX:argo-rollouts" cannot list resource "jobs" in API group "batch" at the cluster scope
E0116 03:29:35.441056       1 reflector.go:123] k8s.io/client-go/informers/factory.go:134: Failed to list *v1.Job: jobs.batch is forbidden: User "system:serviceaccount:XXXX:argo-rollouts" cannot list resource "jobs" in API group "batch" at the cluster scope
E0116 03:29:36.442245       1 reflector.go:123] k8s.io/client-go/informers/factory.go:134: Failed to list *v1.Job: jobs.batch is forbidden: User "system:serviceaccount:XXX:argo-rollouts" cannot list resource "jobs" in API group "batch" at the cluster scope
E0116 03:29:37.443539       1 reflector.go:123] k8s.io/client-go/informers/factory.go:134: Failed to list *v1.Job: jobs.batch is forbidden: User "system:serviceaccount:XXX:argo-rollouts" cannot list resource "jobs" in API group "batch" at the cluster scope
@dthomson25 dthomson25 added analysis Related to Analysis CRD bug Something isn't working labels Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analysis Related to Analysis CRD bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants