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

Created namespace is missing argocd label #1

Open
jeffcpullen opened this issue Feb 19, 2022 · 0 comments
Open

Created namespace is missing argocd label #1

jeffcpullen opened this issue Feb 19, 2022 · 0 comments

Comments

@jeffcpullen
Copy link
Contributor

jeffcpullen commented Feb 19, 2022

Ran into an issue where argo SA had insufficient permissions to create the tekton tasks.

Error message:

one or more objects failed to apply, reason: pipelines.tekton.dev is forbidden: User "system:serviceaccount:openshift-gitops:openshift-gitops-argocd-application-controller" cannot create resource "pipelines" in API group "tekton.dev" in the namespace "argo-spring-petclinic",tasks.tekton.dev is forbidden: User "system:serviceaccount:openshift-gitops:openshift-gitops-argocd-application-controller" cannot create resource "tasks" in API group "tekton.dev" in the namespace "argo-spring-petclinic"

I was able to work around it by disabling the 'auto create namespace' and editing the ploigos-quickstart namespace to include the following label.

argocd.argoproj.io/managed-by: openshift-gitops

The current app definition does include the create namespace option, so it looks like we need to make sure that the namespace it creates has that label.

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