-
Notifications
You must be signed in to change notification settings - Fork 166
/
Copy pathskaffold.yaml
85 lines (82 loc) · 2.74 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
apiVersion: skaffold/v4beta6
kind: Config
metadata:
name: turbinia
build:
local:
useDockerCLI: true
useBuildkit: true
concurrency: 0
artifacts:
# Uncomment below when developing on the Turbinia Worker
# - image: turbinia-worker
# docker:
# dockerfile: docker/worker/Dockerfile
# buildArgs:
# TURBINIA_DEBUG: 1
# TURBINIA_HOTRELOAD: 1
# TURBINIA_DEBUG_PORT: 10000
# sync:
# infer:
# - turbinia/**
# # Uncomment below when developing on the Turbinia Server
- image: turbinia-server
docker:
dockerfile: docker/server/Dockerfile
buildArgs:
TURBINIA_DEBUG: 1
TURBINIA_HOTRELOAD: 1
TURBINIA_DEBUG_PORT: 20000
sync:
infer:
- turbinia/**
# # Uncomment below when developing on the Turbinia Server
# - image: turbinia-api-server
# docker:
# dockerfile: docker/api_server/Dockerfile
# buildArgs:
# TURBINIA_DEBUG: 1
# TURBINIA_DEBUG_PORT: 30000
# sync:
# manual:
# - src: turbinia/**
# dest: .
# - src: web/**
# dest: .
deploy:
statusCheckDeadlineSeconds: 90
helm:
releases:
- name: dev-release
## Uncomment below if using remote helm charts
## Blocked: https://github.com/GoogleContainerTools/skaffold/issues/9347
# repo: https://google.github.io/osdfir-infrastructure/
# remoteChart: turbinia
## Uncomment below if using local helm charts
chartPath: ./charts/turbinia
skipBuildDependencies: true
setValues:
versioncheck.enabled: False
setValueTemplates:
# # Uncomment below if doing worker development
# worker.image.repository: "{{.IMAGE_REPO_turbinia_worker}}"
# worker.image.tag: "{{.IMAGE_TAG_turbinia_worker}}@{{.IMAGE_DIGEST_turbinia_worker}}"
# Uncomment below if doing server development
server.image.repository: "{{.IMAGE_REPO_turbinia_server}}"
server.image.tag: "{{.IMAGE_TAG_turbinia_server}}@{{.IMAGE_DIGEST_turbinia_server}}"
# # Uncomment below if doing API server development
# api.image.repository: "{{.IMAGE_REPO_turbinia_api_server}}"
# api.image.tag: "{{.IMAGE_TAG_turbinia_api_server}}@{{.IMAGE_DIGEST_turbinia_api_server}}"
portForward:
- resourceType: deployment
resourceName: dev-release-turbinia-api
port: 8000 # API and WebUI port
- resourceType: deployment
resourceName: dev-release-turbinia-worker
port: 10000 # Worker debug port
- resourceType: deployment
resourceName: dev-release-turbinia-server
port: 20000 # Server debug port
- resourceType: deployment
resourceName: dev-release-turbinia-api
port: 30000 # API Server debug port