-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
59 lines (55 loc) · 1.09 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
apiVersion: skaffold/v1
kind: Config
metadata:
name: auth
build:
tagPolicy:
gitCommit: {}
artifacts:
- image: cr.yandex/secured/auth
deploy:
kustomize:
path: ./k8s/base
profiles:
- name: dev
build:
local:
push: true
useBuildkit: true
artifacts:
- image: registry.local:5000/auth
activation:
- env: DEPLOY_ENV=dev
- command: dev
deploy:
kubeContext: k3s-default
kustomize:
path: ./k8s/overlays/dev
- name: debug
build:
local:
push: true
useBuildkit: true
artifacts:
- image: registry.local:5000/auth
docker:
buildArgs:
devArgs: "all=-N -l"
deploy:
kubeContext: k3s-default
kustomize:
path: ./k8s/overlays/dev
activation:
- command: debug
- name: staging
activation:
- env: DEPLOY_ENV=staging
deploy:
kustomize:
path: ./k8s/overlays/stg
- name: production
activation:
- env: DEPLOY_ENV=production
deploy:
kustomize:
path: ./k8s/overlays/prod