Hi, a beginner question
When I -oyaml a file, the file looks like this.
Is there a way to get the short version of that, without the additional fields? Thanks
if the resource is already created, get -o yaml operation will retrieve the actual state of the resource, all i know is that isn’t possible to retrieve only a few fields… otherwise is possible to generate a file from a command with --dry-run flag, but if you just need to change an existing resource, its better to get the complete state and loss a few seconds searching the properties that you wanna change
ok, thing for me is, during exam the many entries will irritate me because so many lines. When I create sth imperative, I would like to see a lean yaml
I think I got it, simply use dry-run=client, well basic one…