-
Notifications
You must be signed in to change notification settings - Fork 3
/
devspace.yaml
54 lines (50 loc) · 996 Bytes
/
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
name: validator
version: v2beta1
vars:
GOARCH:
command: go
args: ["env", "GOARCH"]
IMAGE: quay.io/validator-labs/validator
images:
validator:
image: ${IMAGE}
tags:
- dev
createPullSecret: false
dockerfile: ./Dockerfile.devspace
rebuildStrategy: ignoreContextChanges
docker:
args:
- --platform=linux/${GOARCH}
deployments:
validator:
namespace: validator
kubectl:
kustomize: true
manifests:
- config/devspace
dev:
validator:
imageSelector: ${IMAGE}
terminal:
enabled: true
disableReplace: true
workDir: /workspace
command: ./devspace-start.sh
ports:
- port: "2342"
sync:
- path: .:/workspace
excludePaths:
- '**'
- '!/pkg'
- '!/api'
- '!/cmd'
- '!/config'
- '!/internal'
- '!/devspace-start.sh'
- '!/hack'
- '!/go.mod'
- '!/go.sum'
- '!/main.go'
- 'Makefile'