Appendix B. Installing and configuring yq
Most operating systems have built-in support for manipulating text within the terminal, such as sed and awk. These tools are great for fairly simple text manipulations but can become cumbersome when working with structured serialization languages, such as YAML. yq
(https://mikefarah.gitbook.io/yq) is a command-line tool that provides support for querying and manipulating YAML-based content and can be helpful when interacting with Kubernetes environments, as the majority of the resources are expressed in YAML format. A similar and popular tool, called jq
, provides similar capabilities for JSON-formatted content, which is described in chapter 4. This appendix describes the installation of yq
, along with ...
Get Kubernetes Secrets Management now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.