-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Separating "tekton-pipelines" and "tekton-pipelines-resolvers" manifests. #5931
Comments
@abayer Is it possible to revert the decision to include the resolvers with the pipeline manifest and provide pipeline and resolvers separately with future releases? Unfortunately I cannot use the Tekton operator as there is no support to provide images from a Private repo. |
@michaelsatish if the resolvers where to live in the same namespace as the rest of the pipeline payload (aka in |
@vdemeester Thank you. That will work for me. |
@michaelsatish ok so the real problem is that we "ship" 2 namespaces in the same |
I think kustomize will not handle a manifest file having 2 kind of type namespace. See this kubernetes-sigs/kustomize#3156 |
Just hit this issue with Flux and kustomize cli.
|
I'm running into this in my homelab as well with both ArgoCD. Having the single file breaks any GitOps tooling I've tested so far. Genuine question: was #5607 QA tested with any GitOps tools like Flux or ArgoCD? This should/would have immediately failed. |
@michaelsatish @samip5 same question I asked @danmanners on #5607 (comment). do you have an example of how one deploys Tekton Pipelines witsh Fluy or ArgoCD (aka the Application or other CRD used and the possible layout of a repo or something) ? I want to understand how we can solve this, and if this is solvable independently of the |
Here is a simplified repo structure.
The path The file apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: tekton-pipelines
spec:
interval: 10m0s
prune: true
wait: true
force: true
path: ./infrastructure/tekton/pipelines
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system Hope this helps. |
@michaelsatish and |
@vdemeester My apologies I do have a kustomization.yaml, I was lazy. Having said that flux does auto create kustomization.yaml if it is missing. https://fluxcd.io/flux/components/kustomize/kustomization/#generate-kustomizationyaml If your repository contains plain Kubernetes manifests, the kustomization.yaml file is automatically generated for all the Kubernetes manifests in the directory tree specified in the spec.path field of the Flux Kustomization |
@michaelsatish ok thanks, it should help me 👼🏼 . |
Please either put the resolvers into the same namespace (I dont like using a bunch of different namespaces for the same tool anyway) or re-split the files. |
Echoing. Single manifest file + multiple Namespaces = break tons of existing workflows around Kustomize. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lifecycle frozen |
Hi,
Creating this issue to request the separation of "tekton-pipelines" and "tekton-pipelines-resolvers" manifests with each release.
I am using the Flux Kustomize controller to deploy Tekton Pipeline and running into kustomize namespace confliction.
Error: namespace transformation produces ID conflict
This does not work
The directory
./infrastructure/tekton/pipelines
has the pipeline release file.This works
The directory
./infrastructure/tekton/pipelines
has the pipeline release file and the directory./infrastructure/tekton/pipelines-resolvers
has the resolvers file.The text was updated successfully, but these errors were encountered: