You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
extraneous fields errors for several yml files #202
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1719 100 1719 0 0 9504 0 --:--:-- --:--:-- --:--:-- 9550
Use flag '--verbose-errors' for more detailed error info.
Error: converting stdin: extraneous fields (typos?) at paths: $.metadata
This leads to my next question, does the resource definition work on OpenShift? or on any other Kubernetes cluster? (without going through the short conversion)
Activity
jayunit100 commentedon Feb 23, 2018
Stateless reproducer:
Results in :
wlan0 commentedon Feb 26, 2018
I believe this is because the input is a List Resource. Will test it and get back to you shortly.
wlan0 commentedon Feb 26, 2018
Hmmm, Looking into this more - looks like List type (untyped) in Kubernetes does not have
ObjectMetafield. (https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/internalversion/types.go#L64)metadatasupport forListtypes are limited.If you're using a typed List such as
PodList,metadatais of typeListMeta, which doesn't take inname. It only takes inHere's the PodList type definition -
https://github.com/kubernetes/api/blob/master/core/v1/types.go#L3115
Here's the ListMeta type definition -
https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/types.go#L60:6
This leads to my next question, does the resource definition work on OpenShift? or on any other Kubernetes cluster? (without going through the short conversion)
jayunit100 commentedon Apr 1, 2018
ahhh yeah ok !