-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdevspace.yaml
executable file
·111 lines (106 loc) · 2.32 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: v1beta9
deployments:
- name: chain
helm:
chart:
name: ./charts/tezos
valuesFiles:
- ./${CHAIN_NAME}_values.yaml
images:
zerotier:
image: tezos-k8s-zerotier
dockerfile: ./zerotier/Dockerfile
context: ./zerotier
utils:
image: tezos-k8s-utils
dockerfile: ./utils/Dockerfile
context: ./utils
faucet:
image: tezos-k8s-faucet
dockerfile: ./faucet/Dockerfile
context: ./faucet
dev:
ports:
- labelSelector:
app: tezos-baking-node
forward:
- port: 8732
remotePort: 8732
logs:
disabled: true
autoReload:
deployments:
- chain
paths:
- ./zerotier/*
hooks:
- command: minikube
args:
- addons
- enable
- ingress
when:
before:
pullSecrets: all
- command: sh
args:
- -c
- minikube ssh "sudo sysctl fs.inotify.max_user_watches=1048576"
when:
before:
pullSecrets: all
vars:
- name: CHAIN_NAME
question: Name of the chain as passed to generate-constants
default: "devspace"
source: env
- name: FLASK_ENV # development | production
question: Deployment env to run RPC authentication
default: development
source: env
profiles:
- name: rpc-auth
strategicMerge:
images:
rpc-auth:
image: tezos-k8s-rpc-auth
dockerfile: ./rpc-auth/Dockerfile
context: ./rpc-auth
build:
docker:
options:
buildArgs:
FLASK_ENV: ${FLASK_ENV}
dev:
logs:
disabled: false
images:
- rpc-auth
sync:
- imageName: rpc-auth
localSubPath: ./rpc-auth/server
patches:
- op: add
path: deployments
value:
name: rpc-auth
helm:
chart:
name: ./charts/rpc-auth
- op: add
path: dev.autoReload.deployments
value: rpc-auth
- op: add
path: dev.autoReload.paths
value: ./rpc-auth/Dockerfile
- op: add
path: dev.autoReload.paths
value: ./rpc-auth/server/requirements.txt
- op: add
path: dev.ports
value:
labelSelector:
app: rpc-auth
forward:
- port: 8080
remotePort: 8080