-
Notifications
You must be signed in to change notification settings - Fork 358
Expand file tree
/
Copy pathskaffold.yaml
More file actions
77 lines (77 loc) · 2.56 KB
/
skaffold.yaml
File metadata and controls
77 lines (77 loc) · 2.56 KB
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
apiVersion: skaffold/v4beta13
kind: Config
metadata:
name: kuma
build:
local:
push: false
tagPolicy:
envTemplate:
# Get a tag similar to what we have in regular builds
template: '{{cmd "bash" "-c" "make build/info | grep version | cut -d= -f2" }}'
artifacts:
- image: kumahq/kuma-cp
runtimeType: go
custom:
buildCommand: |
platform=${PLATFORMS:+$(echo $PLATFORMS | cut -d'/' -f2)}
platform=${platform:-$(go env GOARCH)}
GOTRACEBACK=all DEBUG=true EXTRA_GOFLAGS='-gcflags="all=-N -l"' make image/kuma-cp/$platform docker/tag/kuma-cp
dependencies:
paths:
- app/kuma-cp
- pkg
- image: kumahq/kuma-dp
custom:
buildCommand: |
platform=${PLATFORMS:+$(echo $PLATFORMS | cut -d'/' -f2)}
platform=${platform:-$(go env GOARCH)}
make image/kuma-dp/$platform docker/tag/kuma-dp
dependencies:
paths:
- app/kuma-dp
- pkg/transparentproxy
- image: kumahq/kumactl
custom:
buildCommand: |
platform=${PLATFORMS:+$(echo $PLATFORMS | cut -d'/' -f2)}
platform=${platform:-$(go env GOARCH)}
make image/kumactl/$platform docker/tag/kumactl
dependencies:
paths:
- app/kumactl
- pkg/transparentproxy
- image: kumahq/kuma-init
custom:
buildCommand: |
platform=${PLATFORMS:+$(echo $PLATFORMS | cut -d'/' -f2)}
platform=${platform:-$(go env GOARCH)}
make image/kuma-init/$platform docker/tag/kuma-init
dependencies:
paths:
- app/kumactl
- pkg/transparentproxy
deploy:
helm:
releases:
- name: kuma
chartPath: deployments/charts/kuma
namespace: kuma-system
createNamespace: true
valuesFiles:
- deployments/charts/kuma/values.yaml
setValueTemplates:
global.image.registry: "kumahq"
controlPlane.image.tag: "{{.IMAGE_TAG_kumahq_kuma_cp}}"
dataPlane.image.tag: "{{.IMAGE_TAG_kumahq_kuma_dp}}"
dataPlane.initImage.tag: "{{.IMAGE_TAG_kumahq_kuma_init}}"
kumactl.image.tag: "{{.IMAGE_TAG_kumahq_kumactl}}"
controlPlane.resources.limits.memory: "1Gi"
controlPlane.podSecurityContext.runAsNonRoot: "false"
installCrdsOnUpgrade.enabled: "false"
setValues:
controlPlane.podAnnotations:
"debug\\.cloud\\.google\\.com/probe-timeouts": "skip"
manifests:
rawYaml:
- ./build/k8s/001-with-mtls.yaml