forked from fission/fission
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
67 lines (65 loc) · 2.04 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
####################################
# This file can be used with Skaffold (https://github.com/GoogleContainerTools/skaffold) to
# build and deploy Fission to Kubernetes cluster.
# Skaffold version v1.10.1 is used for this configuration.
############## Usage ##############
# Skaffold CLI should be installed on your machine.
# For building & deploying to Cloud Provider
# $ skaffold config set default-repo vishalbiyani (vishalbiyani - should be your registry/Dockerhub handle)
# $ `skaffold run`
# For building & deploying to Kind cluster use Kind profile
# $ `skaffold run -p kind`
####################################
apiVersion: skaffold/v2beta4
kind: Config
build:
artifacts:
- image: fission
context: .
docker:
dockerfile: cmd/fission-bundle/Dockerfile.fission-bundle
- image: fetcher
docker:
dockerfile: cmd/fetcher/Dockerfile.fission-fetcher
- image: preupgradechecks
docker:
dockerfile: cmd/preupgradechecks/Dockerfile.fission-preupgradechecks
deploy:
helm:
flags:
upgrade:
["--timeout=3m", "--install", "--force", "--debug"]
install:
["--timeout=3m","--debug"]
releases:
- name: fission
chartPath: ./charts/fission-all
valuesFiles:
- ./charts/fission-all/values.yaml
namespace: "fission"
artifactOverrides:
image: "fission"
preUpgradeChecksImage: "preupgradechecks"
fetcher.image: "fetcher"
setValues:
namespace: fission
repository: "index.docker.io"
routerServiceType: LoadBalancer
fetcher.imageTag: ""
imageTag: ""
prometheus.enabled: false
wait: true
recreatePods: false
packaged: null
imageStrategy:
fqn: null
helm: null
profiles:
- name: kind
patches:
- op: replace
path: /deploy/helm/releases/0/setValues/repository
value: ""
- op: replace
path: /deploy/helm/releases/0/setValues/routerServiceType
value: "NodePort"