This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
/
devspace.yaml
81 lines (81 loc) · 1.94 KB
/
devspace.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
version: v1beta10
images:
controller:
image: kiosksh/kiosktest
build:
docker:
skipPush: true
options:
target: builder
deployments:
- name: kiosk
helm:
chart:
name: ./chart
values:
image: kiosksh/kiosktest
kiosk:
command: ["/workspace/kiosk"]
commands:
- name: dev
command: "devspace dev -n kiosk -d --profile dev"
- name: deploy
command: "devspace deploy --profile deploy -n kiosk -d"
- name: clean
command: "(kubectl delete validatingwebhookconfiguration kiosk || true) && (kubectl delete apiservice v1alpha1.tenancy.kiosk.sh || true)"
profiles:
- name: dev
patches:
- op: replace
path: deployments[0].helm.values.kiosk.command
value: ["sleep"]
- op: add
path: deployments[0].helm.values.kiosk.args
value: ["99999999999"]
- op: add
path: deployments[0].helm.values.readinessProbe
value:
enabled: false
- op: add
path: deployments[0].helm.values.livenessProbe
value:
enabled: false
- op: add
path: deployments[0].helm.values.kiosk.resources
value:
requests:
memory: "0"
cpu: "0"
limits:
memory: "0"
cpu: "0"
replace:
dev:
terminal:
imageName: controller
sync:
- imageName: controller
excludePaths:
- hack/
- /gen
- /docs
- /config
- bin/
- .vscode/
- .git/
- examples/
- chart/
- /helm
- name: deploy
replace:
images:
controller:
image: kiosksh/kiosktest
deployments:
- name: kiosk
helm:
chart:
name: ./chart
values:
image: kiosksh/kiosktest
replicaCount: 3