- install skaffold
- verify the paths referenced on file skaffold.yml file on the project directory (sibling of infra dir).
- create a jwt-secret - see file auth-depl.yml, line 22
- Run this mandatory command:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.0/deploy/static/provider/cloud/deploy.yaml
(read about it here) - navigate to this project's dir
- run
skaffold dev
apiVersion: skaffold/v2alpha3
kind: Config
deploy:
kubectl:
manifests:
- ./infra/k8s/*
build:
local:
push: false
artifacts:
- image: edunicastro/auth
context: auth
docker:
dockerfile: Dockerfile
sync:
manual:
- src: 'src/**/*.ts'
dest: .