title: Kubernetes config editing
body: <p>Is there any CLI tools or libraries that allow to update container images (and other parameters) in K8S YAML/JSON configuration files?</p>
  
  <p>For example, I have this YAML:</p>
  
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  &lt;...&gt;
  spec:
    template:
      spec:
        containers:
          - name: dmp-reports
            image: example.com/my-image:v1
  &lt;...&gt;
  </code></pre>
  
  <p>And I want to automatically update the image for this deployment in this file (basically, this is necessary for the CI/CD system).</p>