Helm has the option --create-namespace and the option --namespace. Let's please add an option in the skaffold.yaml to use the option --create-namespace
Deploy succeeds
Error: create: failed to create: namespaces "aws-sns" not found
deploying "aws-sns": install: exit status 1
apiVersion: skaffold/v2beta5
kind: Config
build:
local:
push: false
artifacts:
- image: aws-sns
context: ../
sync:
manual:
- src: 'app/src/**/*.js'
dest: ../src
docker:
dockerfile: docker/Dockerfile
buildArgs:
NODE_ENVIRONMENT: development
deploy:
kubeContext: trk8s
helm:
releases:
- name: "aws-sns"
chartPath: ./aws-sns
namespace: aws-sns
valuesFiles:
- aws-sns/values.yaml
- aws-sns/local.values.yaml
setValues:
"nodejs.image.tag": ""
seems reasonable to me. don't think we can prioritize this right now but contributions very much welcome
I will work on a PR in next couple of weeks
found work around in this case (with helm3)
```yaml
flags:
install: ["--create-namespace"]
````
Sorry haven't had time to work on this yet