manifests.io icon indicating copy to clipboard operation
manifests.io copied to clipboard

allow direct search of things within the spec

Open Apollorion opened this issue 2 years ago • 1 comments

For example, if someone searched podAffinity should show results for:

pod.spec.affinity.podAffinity deployment.spec.template.spec.affinity.podAffinity

Apollorion avatar Mar 30 '22 13:03 Apollorion

The website, currently, can only search for resources defined in the k8s openapi spec. So if you wanted to search for containers you'd have to look for container as its defined as v1.container in the openapi spec:

https://manifests.io/k8s-1.23/container

same with annotations, its not a resource defined in the spec, its part of the ObjectMeta (metadata) resource, so you can only view it at:

https://manifests.io/k8s-1.23/ObjectMeta

Apollorion avatar Mar 31 '22 12:03 Apollorion