-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathskaffold.yaml
More file actions
39 lines (39 loc) · 947 Bytes
/
Copy pathskaffold.yaml
File metadata and controls
39 lines (39 loc) · 947 Bytes
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
---
apiVersion: skaffold/v3
kind: Config
metadata:
name: todo-app
build:
artifacts:
- image: rminz/todo-app # TODO: Replace it with your own image registry
platforms:
- linux/amd64
- linux/arm64
docker:
dockerfile: Dockerfile
manifests:
helm:
releases:
- name: "{{.TIER}}"
chartPath: kubernetes/charts/todo-app
valuesFiles:
- kubernetes/deployment-values/{{.TIER}}/values.yaml
setValueTemplates:
tier: "{{.TIER}}"
version: "{{.GIT_REV}}"
preview.PRNumber: "{{.GIT_PR_NUMBER}}"
preview.commitID: "{{.GIT_REV}}"
image.repository: "{{.IMAGE_REPO}}"
image.tag: "{{.GIT_REV}}"
profiles:
- name: ci
activation:
- env: CI=true
build:
tagPolicy:
envTemplate:
template: "{{.GIT_REV}}"
local:
push: true
concurrency: 1
useBuildkit: true