TKN-PIPELINE-EXPORT(1)
okay so bestie, welcome to the TKN-PIPELINE-EXPORT(1) manual β it's the tkn-pipeline-export page, and we're gonna get you fully caught up, no cap. π
πΈ NAME πΈ
tkn-pipeline-export β Export Pipeline. That's the name, bestie, and it's literally right there. π
β¨ SYNOPSIS β¨
tkn pipeline export
π¦ DESCRIPTION π¦
This command is Export Pipeline, periodt. The description is minimal, the vibes are immaculate, and the facts are fully intact. π
π OPTIONS π
okay so here are the flags, and yes we're listing every single one because we do not skip options in this group chat. π«Ά
--allow-missing-template-keys[=true]β if true, ignore any errors in templates when a field or map key is missing in the template. Only applies togolangandjsonpathoutput formats. lowkey helpful, ngl.-h,--help[=false]β help forexport, obviously. π-o,--output=""β output format. One of: (json,yaml,name,go-template,go-template-file,template,templatefile,jsonpath,jsonpath-as-json,jsonpath-file). pick your fighter. β--show-managed-fields[=false]β if true, keep themanagedFieldswhen printing objects in JSON or YAML format. the managed fields stay booked and busy. π--template=""β template string or path to template file to use when-o=go-template,-o=go-template-file. The template format is golang templates [ β¨http://golang.org/pkg/text/template/#pkg-overviewβ©]. π§
π OPTIONS INHERITED FROM PARENT COMMANDS π
these come from the parent commands, so they're inherited but still iconic. π
-c,--context=""β name of the kubeconfig context to use (default:kubectl config current-context). context is everything, literally. π-k,--kubeconfig=""β kubectl config file (default:$HOME/.kube/config). your kubeconfig file, your rules. π¦-n,--namespace=""β namespace to use (default: from$KUBECONFIG). namespace tea, served fresh. π-C,--no-color[=false]β disable coloring (default:false). sometimes you want the monochrome vibe, and that's valid. π€
π EXAMPLE π
this example is giving "copy me and slay," fr fr:
Export Pipeline Definition:
tkn pipeline export will export a pipeline definition as yaml to be easily
reimported or modified.
Example: export a Pipeline named 'pipeline' in namespace 'foo' and recreate
it in the namespace 'bar':
tkn p export pipeline -n foo|kubectl create -f- -n bar
π₯ SEE ALSO π₯
tkn-pipeline(1)β go check on the parent page, bestie. πΈ
mwah π β this cutie was auto generated by spf13/cobra, and the footer/source-version tea is TKN-PIPELINE-EXPORT(1); there's no extra date line printed here, so that's the full footer situation, periodt. π
π¦ where this page comes from
- nixos 26.05: tektoncd-cli 0.45.0
- nixpkgs unstable: tektoncd-cli 0.46.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms