cloud66-oss / copper

A configuration file validator for Kubernetes.
https://help.cloud66.com/copper/
Apache License 2.0
274 stars 16 forks source link

Documentation off #14

Closed Code0x58 closed 5 years ago

Code0x58 commented 5 years ago

Under the jsonpath part, it says:

fetch("$.spec.spec.containers[?(@.name == 'mysql')]") // will return ["index.docker.io/library/ubuntu:latest"]

But I think it should be something like (not sure if it's missing a dot):

fetch("$.spec.spec.containers[?(@.name == 'mysql')].image") // will return ["quay.io/mysql:2.3.0"]
khash commented 5 years ago

Thank you @Code0x58

This is now fixed!