forked from XvisionAS/futureon-k8s-integration-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkpd.yaml
91 lines (79 loc) · 2.06 KB
/
kpd.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
# Extend kpd with files in repo
instance: ${RELEASE}
# extensionPaths:
# - 'support/kpd'
logLevel: debug
kubernetes:
context: ${KUBE_CONTEXT}
namespace: ${KUBE_NAMESPACE}
x-node-debug: &nodeDebug
port: 9229
type: node
sourceMaps: true
restart: true
protocol: inspector
# x-core-shared: &coreShared
# updepCommand: npm
# shellCommand: ash
# debug:
# <<: *nodeDebug
# localRoot: ${rootPath}/core
# remoteRoot: /core
# sync:
# - localPath: core
# containerPath: /core
# excludeDirs: [node_modules]
# Docker image build config
build:
buildArgs:
EXAMPLE_ENV: ${USER}
# Where to store the build docker images
registry:
# Where to store the build docker images
url: registry.toc.systems
# Secret containing docker config with credentials to the image repository
secretName: regcred
bucket:
# Credentials for bucket used for temporary build context storage
secretName: ${USER}-${RELEASE}-jsonapi-sa
# List of images to build
images:
- name: nodejs
contextPath: backends/nodejs
target: development
- name: vuejs
contextPath: frontends/vuejs
target: development
# Kubernetes resource specification for build pods
resources:
requests: { cpu: '200m', memory: 1Gi }
limits: { cpu: '1', memory: 1Gi }
# List of system components to interact with
components:
- name: backend
containers:
- name: backend
debug:
<<: *nodeDebug
localRoot: ${rootPath}/backends/nodejs
remoteRoot: /app
sync:
- localPath: backends/nodejs
containerPath: /app
excludeDirs: [node_modules]
- name: frontendvue
containers:
- name: frontendvue
sync:
- localPath: frontends/vuejs
containerPath: /app
excludeDirs: [node_modules,tmp,dist]
stackManager:
type: "helm"
config:
chartPath: helm/integration
#values:
# here you put value that we pass
# mongodb.existingSecret: ${RELEASE}-mongodb
# region: ${REGION}
helmV3: true