I'm trying to use the google gke kubectl pipe to deploy to a kubernetes cluster ( https://bitbucket.org/atlassian/google-gke-kubectl-run/src/master/). How can I use pipe to apply using a kustomization directory, like:
kubectl apply -k kustomize/stage
If i set KUBECTL_COMMAND to apply, then the pipeline fails as the RESOURCE_PATH variable is mandatory.. Setting this to a dummy variable will result in a corrupt command:
kubectl apply -f dummy.yml -k kustomize/stage
which fails as kubectl apply doesn't accept both -f and -k flags to be set
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events