-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevspace.yaml
72 lines (62 loc) · 1.34 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
version: v1beta11
vars:
- name: K3D_CLUSTER_NAME
value: devspace-base
- name: K3D_CONFIG
command: echo $(pwd)/dev/k3d-config.yaml
dependencies:
- name: k3d
source:
path: ./environments/k3d
vars:
- name: K3D_CLUSTER_NAME
value: ${K3D_CLUSTER_NAME}
- name: K3D_CONFIG
value: ${K3D_CONFIG}
- name: K3D_EXTRA_ARGS
value: ""
- name: olm
source:
path: ./environments/olm
- name: ingress
source:
path: ./environments/ingress
commands:
- name: init
command: |-
#!/usr/bin/env bash
set -e
devspace run update
devspace run k3d.init
devspace run ingress.init
# devspace run sealed-secrets.init
- name: purge
command: |-
#!/usr/bin/env bash
set -e
devspace run k3d.purge
- name: activate
command: |-
#!/usr/bin/env bash
set -e
devspace run k3d.activate
- name: update
command: |-
#!/usr/bin/env bash
set -e
devspace update dependencies
hooks:
- name: "install-dependencies"
command: |-
#!/usr/bin/env bash
set -e
devspace run olm.install
devspace run ingress.install
events:
- "before:deploy"
deployments:
- name: hello-nginx-demo
kubectl:
manifests:
- ./dev/manifests/hello-nginx-demo
namespace: edgefarm