forked from loft-sh/cluster-api-provider-vcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devspace.yaml
59 lines (54 loc) · 1.24 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
version: v2beta1
name: cluster-api-provider-vcluster
vars:
IMAGE: loftsh/cluster-api-provider-vcluster
images:
provider:
image: ${IMAGE}
rebuildStrategy: ignoreContextChanges
docker: {}
target: builder
deployments:
provider:
namespace: cluster-api-provider-vcluster-system
updateImageTags: true
kubectl:
kustomize: true
manifests:
- config/default/
- config/crd/
dev:
provider:
namespace: cluster-api-provider-vcluster-system
imageSelector: ${IMAGE}
workingDir: /workspace
terminal:
command: "./devspace_start.sh"
ports:
- port: 2348:2345
sync:
- path: ./
excludePaths:
- '**'
- '!/pkg'
- '!/api'
- '!/controllers'
- '!/vendor'
- '!/hack'
- '!/config'
- '!/go.mod'
- '!/go.sum'
- '!/devspace_start.sh'
- 'Makefile'
commands:
dev: |-
devspace run-pipeline dev -n cluster-api-provider-vcluster-system $@
deploy: |-
devspace run-pipeline --profile deploy -n cluster-api-provider-vcluster-system -d $@
profiles:
- name: deploy
patches:
- op: remove
path: images.provider.rebuildStrategy
- op: remove
path: images.provider.target