Repository navigation
Expand file tree
/
Copy pathdevspace.yaml.sample
More file actions
95 lines (90 loc) · 2.53 KB
/
Copy pathdevspace.yaml.sample
File metadata and controls
95 lines (90 loc) · 2.53 KB
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
# Copy this file to devspace.yaml, then adjust the image registry and
# hostnames for your development environment.
version: v2beta1
name: ntppool
pipelines:
build:
run: build_images ntppool
deploy:
run: |-
ensure_pull_secrets ntppool
build_images ntppool
create_deployments ntppool --sequential
dev:
run: |-
ensure_pull_secrets ntppool
build_images ntppool
create_deployments ntppool --sequential
start_dev --all
purge:
run: |-
stop_dev --all
purge_deployments ntppool --sequential
images:
ntppool:
image: harbor.ntppool.org/ntpdev/ntppool-dev
dockerfile: Dockerfile.dev
rebuildStrategy: default
kaniko:
cache: true
snapshotMode: full
image: gcr.io/kaniko-project/executor:v1.23.2
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 2000m
memory: 4096Mi
injectLegacyRestartHelper: true
deployments:
ntppool:
helm:
chart:
name: ntppool
repo: https://charts.ntppool.org
values:
config:
deployment_mode: devel
httpd_maxclients: "4"
manage_hostname: manage.ntp.test
manage_tls: "no"
pool_domain: ntp.test
static_base: /static/
web_hostname: web.ntp.test
web_tls: "no"
image:
image: harbor.ntppool.org/ntpdev/ntppool-dev
ingress:
enabled: false
dev:
sync-0:
labelSelector:
app: ntppool
tier: frontend
container: httpd
sync:
- path: ./:/ntppool
excludePaths:
- backup/
- logs/
- manage2/
- blib/
- .data/
- .vscode
- node_modules/
- perl-languageserver.log
downloadExcludePaths:
- '*'
onUpload: {}
waitInitialSync: true
disableDownload: true
restartHelper:
inject: false
vars:
DEVSPACE_ENV_FILE:
value: .env
alwaysResolve: false
pullSecrets:
ntppool:
registry: harbor.ntppool.org