Hi. Quick question. Say I export a variable in my .bashrc file: `export y='--dry . . .

Milad Mikeal:
Hi. Quick question. Say I export a variable in my .bashrc file: export y='--dry-run=client -o yaml'. How do I use that in my kubectl commands. When I try running k run nginx --image=nginx $y > pod.yaml I get this error:

error: Invalid dry-run value (client -o yaml). Must be "none", "server", or "client".

unnivkn:
did you run this command before create your pod? source ~/.bashrc

Milad Mikeal:
Figured out the issue. I was using zsh instead of bash. Bonehead mistake :sweat_smile: