Skip to content

Razielt77/kubectl-yaml_writer

Repository files navigation

kubectl-yaml_writer logo

Codefresh build status Go Report Card

Kubectl yaml-writer

Kubectl yaml-writer is a command line for easily creating and updating k8s yaml files (gitops)

What does Kubectl yaml-writer do?

Kubectl yaml-writer is a cli that makes it easy to

  1. Update k8 resources (like deployments, services etc...) yaml files.
  2. Create a simple k8 app (pair of a service and deployment) yaml files.

When will you use Kubectl yaml-writer ?

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.

Installation

Currently working on adding Kubectl yaml-writer to Krew

Documentation

Run Kubectl yaml-writer -h to learn about Kubectl yaml-writer commands and options.

Issues / Enhancement Requests

You can submit issues and enhancements request as issues in this repo.