-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathskaffold.yaml
46 lines (45 loc) · 982 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: skaffold/v2beta16
kind: Config
build:
artifacts:
- image: licensing
docker:
dockerfile: k8s/Dockerfile.dev
profiles:
- name: init
deploy:
kustomize:
paths:
- "k8s"
- name: run-api
deploy:
kubectl:
manifests:
- k8s/dist/licensing.k8s.yaml
portForward:
- resourceType: Service
resourceName: ingress-nginx-controller
port: 443
localPort: 8444
namespace: licensing
- name: create-db
deploy:
kubectl:
manifests:
- k8s/dist/postgres.k8s.yaml
portForward:
- resourceType: Service
resourceName: licensing-db
port: 5432
localPort: 15432
namespace: licensing
- name: run-migration
deploy:
kubectl:
manifests:
- k8s/dist/migration.k8s.yaml
- name: run-event-export
deploy:
kubectl:
manifests:
- k8s/dist/event-export.k8s.yaml