-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathskaffold.yml
57 lines (57 loc) · 1.76 KB
/
skaffold.yml
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
apiVersion: skaffold/v2beta2
kind: Config
build:
artifacts:
- image: registry.container-registry.svc.cluster.local:5000/stackl-rest
context: stackl/application
sync:
infer:
- '**/*.py'
- '**/.*swp'
kaniko:
dockerfile: Dockerfile_rest
cache:
repo: registry.container-registry.svc.cluster.local:5000/stackl-rest
hostPath: /var/snap/microk8s/common/kaniko/cache
- image: registry.container-registry.svc.cluster.local:5000/stackl-worker
context: stackl/application
sync:
infer:
- '**/*.py'
- '**/.*swp'
kaniko:
dockerfile: Dockerfile_worker
cache:
repo: registry.container-registry.svc.cluster.local:5000/stackl-worker
hostPath: /var/snap/microk8s/common/kaniko/cache
- image: registry.container-registry.svc.cluster.local:5000/stackl-kubernetes-agent
context: stackl/agents/kubernetes_agent
sync:
infer:
- '**/*.py'
- '**/.*swp'
kaniko:
dockerfile: Dockerfile-dev
cache:
repo: registry.container-registry.svc.cluster.local:5000/stackl-kubernetes-agent
hostPath: /var/snap/microk8s/common/kaniko/cache
insecureRegistries:
- registry.container-registry.svc.cluster.local:5000
cluster: {}
deploy:
helm:
releases:
- name: stackl
chartPath: build/helm
setValues:
mode: dev
values:
stacklAgent.image: registry.container-registry.svc.cluster.local:5000/stackl-kubernetes-agent
stacklRest.image: registry.container-registry.svc.cluster.local:5000/stackl-rest
stacklWorker.image: registry.container-registry.svc.cluster.local:5000/stackl-worker
portForward:
- resourceType: Service
resourceName: stackl-rest
namespace: default
port: 8080
localPort: 8080