forked from fission/fission
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
127 lines (127 loc) · 3.86 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
####################################
# This file can be used with Skaffold (https://github.com/GoogleContainerTools/skaffold) to
# build and deploy Fission to Kubernetes cluster.
# Skaffold version v1.31.0 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/v2beta22
kind: Config
build:
artifacts:
- image: fission-bundle
context: dist/fission-bundle_linux_amd64
- image: fetcher
context: dist/fetcher_linux_amd64
- image: pre-upgrade-checks
context: dist/pre-upgrade-checks_linux_amd64
- image: reporter
context: dist/reporter_linux_amd64
deploy:
helm:
releases:
- name: fission
chartPath: ./charts/fission-all
valuesFiles:
- ./charts/fission-all/values.yaml
artifactOverrides:
fetcher.image: fetcher
image: fission-bundle
postInstallReportImage: reporter
preUpgradeChecks.image: pre-upgrade-checks
namespace: fission
setValues:
analytics: false
debugEnv: false
fetcher.imageTag: ""
imageTag: ""
preUpgradeChecks.imageTag: ""
namespace: fission
pprof.enabled: false
prometheus.enabled: false
canaryDeployment.enabled: false
nats.enabled: false
influxdb.enabled: false
pruneInterval: "60"
repository: index.docker.io
routerServiceType: LoadBalancer
openTracing.enabled: false
openTelemetry.otlpCollectorEndpoint: ""
openTelemetry.otlpInsecure: true
priorityClassName: system-cluster-critical
# Use /var/log directory for kind logs export
terminationMessagePath: /var/log/termination-log
terminationMessagePolicy: FallbackToLogsOnError
wait: true
flags:
install:
- --timeout=3m
- --debug
- --dependency-update
upgrade:
- --timeout=3m
- --install
- --force
- --debug
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
- name: kind-debug
patches:
- op: replace
path: /deploy/helm/releases/0/setValues/repository
value: ""
- op: replace
path: /deploy/helm/releases/0/setValues/routerServiceType
value: NodePort
- op: replace
path: /deploy/helm/releases/0/setValues/debugEnv
value: true
- op: replace
path: /deploy/helm/releases/0/setValues/pprof.enabled
value: true
- name: kind-ci
patches:
- op: replace
path: /deploy/helm/releases/0/setValues/repository
value: ""
- op: replace
path: /deploy/helm/releases/0/setValues/pruneInterval
value: 1
- op: replace
path: /deploy/helm/releases/0/setValues/routerServiceType
value: NodePort
- op: replace
path: /deploy/helm/releases/0/setValues/prometheus.enabled
value: true
- op: replace
path: /deploy/helm/releases/0/setValues/influxdb.enabled
value: true
- op: replace
path: /deploy/helm/releases/0/setValues/canaryDeployment.enabled
value: true
- name: kind-opentelemetry
patches:
- op: replace
path: /deploy/helm/releases/0/setValues/repository
value: ""
- op: replace
path: /deploy/helm/releases/0/setValues/routerServiceType
value: NodePort
- op: replace
path: /deploy/helm/releases/0/setValues/pprof.enabled
value: true
- op: replace
path: /deploy/helm/releases/0/setValues/openTelemetry.otlpCollectorEndpoint
value: "otel-collector.opentelemetry-operator-system.svc:4317"