-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskaffold.yaml
47 lines (42 loc) · 1.06 KB
/
skaffold.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
apiVersion: skaffold/v2beta10
kind: Config
metadata:
name: edsc-microk8s-controller
build:
artifacts:
- image: farberg/edsc-microk8s-controller
context: .
docker:
dockerfile: Dockerfile
#kaniko:
# dockerfile: Dockerfile
# noPush: true
# verbosity: debug
#cluster: {}
deploy:
kubectl:
manifests:
- config/k8s-deployment.yaml
profiles:
- name: Development Profile
activation:
- command: dev
patches:
- op: replace
path: /build/artifacts/0/docker/dockerfile
#path: /build/artifacts/0/kaniko/dockerfile
value: Dockerfile.dev
- op: replace
path: /deploy/kubectl/manifests/0
value: config/k8s-deployment-dev.yaml
- name: Run Profile
activation:
- command: run
patches:
- op: replace
path: /build/artifacts/0/docker/dockerfile
#path: /build/artifacts/0/kaniko/dockerfile
value: Dockerfile.dev
- op: replace
path: /deploy/kubectl/manifests/0
value: config/k8s-deployment-dev.yaml