I want to deploy every yaml file in a folder. Usin...
# kubernetes
f
I want to deploy every yaml file in a folder. Using
ConfigGroup
works fine, but they get deployed in the default namespace. I tried using a
transforms
function to add a specific namespace afterwards, but i only have access to the ConfigGroup object, not its actual manifests. I think i saw a snippet somewhere in the docs that does excactly that, but i cant find it anymore :(
Nevermind, got it. The kubernetes provider adds the default namespace to every resource, so the
namespace: metadata.namespace || namespace
line always used
metadata.namespace