command
module
Version:
v0.0.0-...-d6aff38
Opens a new window with list of versions in this module.
Published: Aug 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
manifest-summary
Read a Kubernetes manifest and print a table of its contents.
Installation
$ go install github.com/landro/manifest-summary@latest
Requires Go to install.
Usage
Pipe your Kubernetes configuration into the manifest-summary
binary.
$ curl -s https://raw.githubusercontent.com/kubernetes/website/master/content/en/examples/application/wordpress/mysql-deployment.yaml | manifest-summary
+-------------+-----------------------+-----------+-----------------+
| API VERSION | KIND | NAMESPACE | NAME |
+-------------+-----------------------+-----------+-----------------+
| v1 | Service | | wordpress-mysql |
| v1 | PersistentVolumeClaim | | mysql-pv-claim |
| apps/v1 | Deployment | | wordpress-mysql |
+-------------+-----------------------+-----------+-----------------+
$ curl -s https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/demo/basic/sync.yaml | manifest-summary
+-------------------------------+--------+-------------------+--------+
| API VERSION | KIND | NAMESPACE | NAME |
+-------------------------------+--------+-------------------+--------+
| config.gatekeeper.sh/v1alpha1 | Config | gatekeeper-system | config |
+-------------------------------+--------+-------------------+--------+
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.