Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

giantswarm/yaml-jq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml-jq

docker build -t giantswarm/yaml-jq .
cat example/kube-apiserver.yaml \
  | docker run -i giantswarm/yaml-jq '
    .spec.containers[0].volumeMounts
      |= .+ [{"mountPath": "/var/log/kubernetes", "name": "audit"}] |
    .spec.volumes
      |= .+ [{"hostPath": {"path": "/var/log/kubernetes"}, "name": "audit"}]'