├── .github └── workflows │ └── cla.yaml ├── .gitignore ├── .travis.yml ├── Gopkg.lock ├── Gopkg.toml ├── LICENSE ├── Makefile ├── README.md ├── example ├── service.jsonnet └── service.yaml ├── patch.libsonnet └── tests ├── configmap_test.go ├── cronjob_test.go ├── daemonset_test.go ├── deployment_test.go ├── emptymap_test.go ├── extending_test.go ├── load_test.go ├── scaffold_test.go ├── secret_test.go └── testdata ├── configmap ├── configmap.yaml └── patch-simple.jsonnet ├── cronjob ├── cronjob.yaml └── patch-simple.jsonnet ├── daemonset ├── bad-container-name.jsonnet ├── bad-env-name.jsonnet ├── bad-volume-name.jsonnet ├── daemonset.yaml ├── patch-objects.jsonnet ├── patch-plurals.jsonnet └── patch-simple.jsonnet ├── deployment ├── deployment.yaml └── patch-simple.jsonnet ├── extending ├── mypatchlib.libsonnet ├── objects.yaml └── patch-simple.jsonnet ├── load ├── load-dynamic-keys.jsonnet ├── load.jsonnet └── load.yaml └── secret ├── patch-simple.jsonnet └── secret.yaml /.github/workflows/cla.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/.github/workflows/cla.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gopkg.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/Gopkg.lock -------------------------------------------------------------------------------- /Gopkg.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/Gopkg.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/README.md -------------------------------------------------------------------------------- /example/service.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/example/service.jsonnet -------------------------------------------------------------------------------- /example/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/example/service.yaml -------------------------------------------------------------------------------- /patch.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/patch.libsonnet -------------------------------------------------------------------------------- /tests/configmap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/configmap_test.go -------------------------------------------------------------------------------- /tests/cronjob_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/cronjob_test.go -------------------------------------------------------------------------------- /tests/daemonset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/daemonset_test.go -------------------------------------------------------------------------------- /tests/deployment_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/deployment_test.go -------------------------------------------------------------------------------- /tests/emptymap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/emptymap_test.go -------------------------------------------------------------------------------- /tests/extending_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/extending_test.go -------------------------------------------------------------------------------- /tests/load_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/load_test.go -------------------------------------------------------------------------------- /tests/scaffold_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/scaffold_test.go -------------------------------------------------------------------------------- /tests/secret_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/secret_test.go -------------------------------------------------------------------------------- /tests/testdata/configmap/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/configmap/configmap.yaml -------------------------------------------------------------------------------- /tests/testdata/configmap/patch-simple.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/configmap/patch-simple.jsonnet -------------------------------------------------------------------------------- /tests/testdata/cronjob/cronjob.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/cronjob/cronjob.yaml -------------------------------------------------------------------------------- /tests/testdata/cronjob/patch-simple.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/cronjob/patch-simple.jsonnet -------------------------------------------------------------------------------- /tests/testdata/daemonset/bad-container-name.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/daemonset/bad-container-name.jsonnet -------------------------------------------------------------------------------- /tests/testdata/daemonset/bad-env-name.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/daemonset/bad-env-name.jsonnet -------------------------------------------------------------------------------- /tests/testdata/daemonset/bad-volume-name.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/daemonset/bad-volume-name.jsonnet -------------------------------------------------------------------------------- /tests/testdata/daemonset/daemonset.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/daemonset/daemonset.yaml -------------------------------------------------------------------------------- /tests/testdata/daemonset/patch-objects.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/daemonset/patch-objects.jsonnet -------------------------------------------------------------------------------- /tests/testdata/daemonset/patch-plurals.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/daemonset/patch-plurals.jsonnet -------------------------------------------------------------------------------- /tests/testdata/daemonset/patch-simple.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/daemonset/patch-simple.jsonnet -------------------------------------------------------------------------------- /tests/testdata/deployment/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/deployment/deployment.yaml -------------------------------------------------------------------------------- /tests/testdata/deployment/patch-simple.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/deployment/patch-simple.jsonnet -------------------------------------------------------------------------------- /tests/testdata/extending/mypatchlib.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/extending/mypatchlib.libsonnet -------------------------------------------------------------------------------- /tests/testdata/extending/objects.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/extending/objects.yaml -------------------------------------------------------------------------------- /tests/testdata/extending/patch-simple.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/extending/patch-simple.jsonnet -------------------------------------------------------------------------------- /tests/testdata/load/load-dynamic-keys.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/load/load-dynamic-keys.jsonnet -------------------------------------------------------------------------------- /tests/testdata/load/load.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/load/load.jsonnet -------------------------------------------------------------------------------- /tests/testdata/load/load.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/load/load.yaml -------------------------------------------------------------------------------- /tests/testdata/secret/patch-simple.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/secret/patch-simple.jsonnet -------------------------------------------------------------------------------- /tests/testdata/secret/secret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/splunk/k8s-yaml-patch/HEAD/tests/testdata/secret/secret.yaml --------------------------------------------------------------------------------