-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
65 lines (64 loc) · 1.68 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
apiVersion: skaffold/v2beta4
kind: Config
metadata:
name: pluck
profiles:
- name: dev
activation:
- env: RAILS_ENV=development
command: dev
build:
tagPolicy:
gitCommit:
prefix: dev-
local:
useBuildkit: true
artifacts:
- image: localhost/pluck
docker:
dockerfile: Dockerfile.app
target: finaldev
buildArgs:
RAILS_ENV: '{{.RAILS_ENV}}'
TARGET_ENV: 'dev'
sync:
# infer:
# - '**'
manual:
- src: "*/**"
dest: .
deploy:
helm:
flags:
install:
- --create-namespace
upgrade:
- --install
- --create-namespace
releases:
- name: pluck-web
useHelmSecrets: true
namespace: pluck
chartPath: ../layerkeep-infra/charts/pluck/pluck-web
wait: true
artifactOverrides:
image: localhost/pluck
# image: localhost/pluck:5baa5553
# values:
# image: layerkeep
# setValues:
# image.repository: layerkeep
# image: registry.digitalocean.com/frenzylabs/pluck:5baa5553
valuesFiles:
- ../layerkeep-infra/charts/pluck/pluck-web/values.yaml
- ../layerkeep-infra/charts/pluck/pluck-web/values.local.yaml
- ./values.local.yaml
- ../layerkeep-infra/secrets/secrets.local.yaml
imageStrategy:
helm: {}
portForward:
- resourceType: service
namespace: pluck
resourceName: pluck-web
port: 80
localPort: 3001