goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.53k stars 470 forks source link

kgoss: add new GOSS_KUBECTL_OPTS env var to inject more options #792

Closed gberche-orange closed 1 year ago

gberche-orange commented 1 year ago
Checklist

Description of change

Adds new GOSS_KUBECTL_OPTS env var hook to inject more options (such as "--namespace=default" to target a distinct namespace)

aelsabbahy commented 1 year ago

Tagging @joshgav , if this looks good to you, I'll merge.

aelsabbahy commented 1 year ago

I will give @joshgav one more week to post objections if he has any. Otherwise, I'll merge this as is.

All helpers outside of dgoss aren't really maintained by me, so I don't have a strong opinion on them.. whatever makes the community happy makes me happy :smile:

Thank you for taking the time to submit this. If there are no objections and it's not merged in a week, feel free to remind me.

aelsabbahy commented 1 year ago

Since no one chimed in, I'll merge it. Thanks for the contribution, much appreciated!