TKN-TRIGGERTEMPLATE-LIST(1)

πŸ“¦ version 0.46.2, in nixos 26.05, nixpkgs unstable

πŸ’… tkn-triggertemplate-list πŸ’…

okay so bestie, welcome to the TKN-TRIGGERTEMPLATE-LIST(1) manual page β€” yes that's the whole manual name, it's giving very long, very official, we love a full government name ✨


🌸 NAME 🌸

tkn-triggertemplate-list β€” literally just lists TriggerTemplates in a namespace. that's the whole job. she's an icon, she's a lister πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

tkn triggertemplate list

that's it. that's the vibe. no arguments, no drama, just type it and go πŸŽ€


✨ DESCRIPTION ✨

okay so this bad bitch lists TriggerTemplates in a namespace. that's genuinely the entire description ngl β€” the manpage said it twice and honestly? respect. consistency queen πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

here's where it gets juicy, bestie. every single flag, no cap:

  • -A, --all-namespaces[=false] β€” lowkey the main character flag πŸ’« set it and she'll list TriggerTemplates from all the namespaces, not just one. default is false, so she stays in her lane unless you tell her otherwise.
  • --allow-missing-template-keys[=true] β€” if true, she'll straight up ignore any errors in templates when a field or map key is missing in the template. like, no thoughts head empty, missing keys do not concern her πŸ™ˆ BUT β€” and this is important β€” it only applies to golang and jsonpath output formats. nowhere else. periodt.
  • -h, --help[=false] β€” help for list. the classic. press it when you're lost, we've all been there 🫢 default false.
  • --no-headers[=false] β€” do not print column headers with output (default print column headers with output). so default behavior = headers ON, headers are the default, headers are the moment. set this flag and they're gone πŸ’€
  • -o, --output="" β€” Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file). that's the whole list, i did not skip one, don't @ me πŸ”₯ default is "".
  • --show-managed-fields[=false] β€” If true, keep the managedFields when printing objects in JSON or YAML format. so you only get to keep them in those two formats, iykyk. default false πŸ¦‹
  • --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]. yes that's the real link, yes it's giving ancient but iconic, click it bestie πŸ’œ

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

these aren't her own flags, she got them from her parent, and honestly? nepotism but make it config 🧚

  • -c, --context="" β€” name of the kubeconfig context to use (default: kubectl config current-context). she'll figure out which context she's in all on her own πŸ’…
  • -k, --kubeconfig="" β€” kubectl config file (default: $HOME/.kube/config). home sweet kube home 🏠
  • -n, --namespace="" β€” namespace to use (default: from $KUBECONFIG). she reads it from the env var if you don't say anything, so no pressure 🌈
  • -C, --no-color[=false] β€” disable coloring (default: false). default false means color is ON, which is correct, because color is iconic and life without it is bleak 😭

🌟 EXAMPLE 🌟

okay bestie, real world usage time. List all TriggerTemplates in namespace 'bar':

tkn triggertemplate list -n bar

or

tkn tt ls -n bar

both are valid, both slay, the second one is just shorter because sometimes you don't have the energy to type it all out and that's okay 🫢


πŸ”₯ SEE ALSO πŸ”₯


πŸ“ quick vibe check: --allow-missing-template-keys only applies to golang and jsonpath output formats, and --show-managed-fields only keeps those fields for JSON or YAML format. do not mix these up, bestie, i'm begging πŸ™

πŸ’– πŸ’œ πŸ¦‹ πŸ’« 🌸 πŸŽ€ ✨

and that's the page!! auto generated by spf13/cobra (yes, a robot wrote her, and she still ate πŸ’…), same source and version as the header up top and the footer down bottom, both TKN-TRIGGERTEMPLATE-LIST(1) β€” go forth and list those TriggerTemplates, mwah 🫢✨

πŸ“¦ where this page comes from