unknown flag: --export while copying secret from one namespace to another kubectl
I solved my problem with the above solution but i dont know why i got this error.
Above answers says on kubernetes 1.14 export option deprecated and on 1.18 it has been remove but i use 1.16.
Secondly on GCP my cluster started to give warning at the same time.
Why i get this error while i should not? Am i looking wrong direction?