-
Notifications
You must be signed in to change notification settings - Fork 1
/
skaffold.yaml
50 lines (46 loc) · 1.06 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
apiVersion: skaffold/v2beta27
kind: Config
build:
tagPolicy:
sha256: {}
artifacts:
- image: ptp
docker:
dockerfile: Dockerfile
noCache: true
context: ./ptp/
sync:
infer:
- '**/**/*.py'
- '**/**/*.html'
- '**/**/*.css'
- '**/**/*.js'
- '**/**/*.json'
- '**/**/*.yaml'
- '**/**/*.txt'
- '**/**/*.sh'
- '**/**/*.conf'
- '**/**/*.env'
#- image: ptp
# docker:
# dockerfile: Dockerfile
# noCache: true
# context: ./ptp/
local:
push: true
insecureRegistries: ["localhost:32000","192.168.65.9:32000"]
deploy:
helm:
releases:
- name: ptp
chartPath: charts/ptp
#namespace: dev
#wait: true
valuesFiles:
- helm-skaffold-k8s.yaml
overrides:
ptp.image.repository: "{{.IMAGE_REPO_ptp}}"
ptp.image.tag: "{{.IMAGE_TAG_ptp}}@{{.IMAGE_DIGEST_ptp}}"
setValueTemplates:
ptp.image.repository: "{{.IMAGE_REPO_ptp}}"
ptp.image.tag: "{{.IMAGE_TAG_ptp}}@{{.IMAGE_DIGEST_ptp}}"