-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
23 lines (23 loc) · 942 Bytes
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Used only for dev ENV.Watches the config files in infra/k8s directory and deploys automatically.
apiVersion: skaffold/v2beta26
kind: Config
deploy:
kubectl:
manifests:
- ./infra/k8s/*
build:
local:
# Setting push to false will not push to docker hub.This may conflict with imagePullPolicy:Always in container spec.
# set push to true to push to dockerhub or remove imagePullPolicy:Always from container specs in depl config files.
push: false
artifacts: # Tell skaffold to maintain something.Meaning some pod in client dir.Whenever something changes in this pod take it copy
# it into the file direclty without rebuilding the entire image.Anything that falls outside the files being watched in sync config
# will rebuild the entire image.
- image: johndoeups/auth
context: auth
docker:
dockerfile: Dockerfile
sync:
manual:
- src: 'src/**/*.ts'
dest: .