Alireza Nasri:
when I use kubectl get deployment -o yaml > mydep.yaml
it also addes or redirect some additional information such as these kind of key values
k:{"name":"POSTGRES_HOST_AUTH_METHOD"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"POSTGRES_INITDB_ARGS"}:
How can I skip these information and only redirect important onces ?