forked from replicatedhq/kots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
93 lines (84 loc) · 1.88 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
apiVersion: skaffold/v2beta2
kind: Config
profiles:
- name: kotsstore
activation:
- env: KOTSSTORE=
deploy:
kustomize:
paths:
- "./kustomize/overlays/kotsstore"
- name: debug
activation:
- env: DEBUG_KOTSADM=1
patches:
- op: add
path: /build/artifacts/1/docker/buildArgs
value:
DEBUG_KOTSADM: 1
- name: codespace
activation:
- env: USER=codespace
build:
local:
concurrency: 0
useBuildkit: true
push: true
build:
insecureRegistries:
- localhost:5000
- k3d-replicated-registry.localhost:5000
local:
concurrency: 0
useBuildkit: true
artifacts:
- image: kotsadm-web
context: "./web"
sync:
manual:
- src: "src/**/*.jsx"
dest: "./"
- src: "src/**/*.js"
dest: "./"
- src: "src/**/*.png"
dest: "./"
- src: "src/**/*.scss"
dest: "./"
- src: "src/**/*.css"
dest: "./"
docker:
dockerfile: ./skaffold.Dockerfile
- image: kotsadm
context: "./"
docker:
dockerfile: ./hack/dev/skaffold.Dockerfile
- image: kotsadm-migrations
context: "./migrations"
docker:
dockerfile: ./skaffold.Dockerfile
- image: kurl-proxy
context: "./kurl_proxy"
docker:
dockerfile: ./skaffold.Dockerfile
deploy:
statusCheckDeadlineSeconds: 240
kustomize:
paths:
- "./kustomize/overlays/dev"
portForward:
- resourceType: service
resourceName: kotsadm
port: 3000
localPort: 30000
- resourceType: service
resourceName: kotsadm-dlv
port: 40000
localPort: 40000
- resourceType: service
resourceName: kotsadm-postgres
port: 5432
localPort: 30432
- resourceType: service
resourceName: kurl-proxy
port: 8800
localPort: 30880