Hello! I have a repo that has a file deployment.yaml in the root folder, I am trying to use this action to apply that file to my cluster. Using set image on a deployment that's already there works fine, I'm trying to figure out the case where I want to create a new deployment from scratch in a new namespace.
How ever deployment.yaml is not found, I get the following error:
+ sh -c 'aws configure set aws_access_key_id ***'
+ sh -c 'aws configure set aws_secret_access_key ***'
+ sh -c 'aws configure set region ***'
+ echo ***
+ base64 --decode
+ export 'KUBECONFIG=/tmp/config'
+ sh -c 'kubectl apply -f deployment.yaml -n namespace'
error: the path "deployment.yaml" does not exist
Hello! I have a repo that has a file
deployment.yaml
in the root folder, I am trying to use this action to apply that file to my cluster. Usingset image
on a deployment that's already there works fine, I'm trying to figure out the case where I want to create a new deployment from scratch in a new namespace.Here's the relevant snippet from my workflow:
How ever deployment.yaml is not found, I get the following error: