forked from dask/dask-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
56 lines (53 loc) · 1.48 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
# "skaffold" is a command line tool we can use to rebuild images for a Helm
# chart and even do some "live reload" of parts of an installation of a Helm
# chart.
#
# skaffolds purpose in this project is to be of assistance for local
# development, while we use the tool "chartpress" for testing and publishing of
# the Helm chart in our GitHub Workflows.
#
# Skaffold configuration reference: https://skaffold.dev/docs/references/yaml/
#
# FIXME:
# - Add notes on how to use skaffold
# - Update the skaffold/v2alpha3 configuration to a modern one
#
apiVersion: skaffold/v2alpha3
kind: Config
build:
local:
push: false
useBuildkit: true
artifacts:
- image: ghcr.io/dask/dask-gateway-server
context: ./dask-gateway-server
docker:
dockerfile: Dockerfile
- image: ghcr.io/dask/dask-gateway
context: ./dask-gateway
docker:
dockerfile: Dockerfile
deploy:
helm:
releases:
- name: dask-gateway
chartPath: resources/helm/dask-gateway/
namespace: default
imageStrategy:
helm: {}
values:
gateway.image: ghcr.io/dask/dask-gateway-server
gateway.backend.image: ghcr.io/dask/dask-gateway
controller.image: ghcr.io/dask/dask-gateway-server
valuesFiles:
- resources/helm/testing/skaffold.yaml
flags:
upgrade:
- --install
profiles:
- name: local-controller
patches:
- op: add
path: /deploy/helm/releases/0/setValues
value:
controller.enabled: false