Hi, is there a way to check if a k9s resource exists? Eg. if namespace exists, don't create it, but if it does not exist, create. I tried using Namespace.get, but it always returns a value
faint-vegetable-61837
03/07/2019, 10:17 PM
figured this out - needed to do ns.status.apply() to check status.phase value
c
creamy-potato-29402
03/07/2019, 10:33 PM
@faint-vegetable-61837 hmm, what are you trying to do?
f
faint-vegetable-61837
03/08/2019, 1:45 PM
I'd like to create a namespace if it does not exist