Kubectl yaml-writer is a command line for easily creating and updating k8s yaml files (gitops)
Kubectl yaml-writer is a cli that makes it easy to
- Update k8 resources (like deployments, services etc...) yaml files.
- Create a simple k8 app (pair of a service and deployment) yaml files.
You can use kyml as part an automated cd pipeline to update your k8s manifest like in the flow below:
- Clone your gitops repo
- Use Kubectl yaml-writer to update your deployment entities with new docker images
- Commit your updatet to your gitops repo
- Call your gitops tool (Argo CD or any other). Alternatively you can configure your gitops to sync automatically when repo changes.
Additionally, you can use Kubectl yaml-writer to create a simple functional pair of a service and deployment yaml files.
Currently working on adding Kubectl yaml-writer to Krew
Run Kubectl yaml-writer -h
to learn about Kubectl yaml-writer commands and options.
You can submit issues and enhancements request as issues in this repo.