-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
116 lines (114 loc) · 2.47 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
apiVersion: skaffold/v1beta16
kind: Config
profiles:
- name: ci
activation:
- env: CI=[^\s]+
deploy:
kubeContext: eks_dev
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/ci
- name: alpha
activation:
- env: ALPHA=[^\s]+
deploy:
kubeContext: eks_dev
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/alpha
flags:
global:
- -n=alpha
- name: a
activation:
- env: NAMESPACE=\b(^a$)\b
deploy:
kubeContext: eks_dev
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/a
flags:
global:
- -n=a
- name: b
activation:
- env: NAMESPACE=\b(^b$)\b
deploy:
kubeContext: eks_dev
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/b
flags:
global:
- -n=b
- name: c
activation:
- env: NAMESPACE=\b(^c$)\b
deploy:
kubeContext: eks_dev
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/c
flags:
global:
- -n=c
- name: d
activation:
- env: NAMESPACE=\b(^d$)\b
deploy:
kubeContext: eks_dev
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/d
flags:
global:
- -n=d
- name: staging
activation:
- kubeContext: eks_staging
deploy:
kubeContext: eks_staging
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/staging
flags:
global:
- -n=staging
- name: aws
activation:
- kubeContext: aws
deploy:
kubeContext: aws
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/aws
flags:
global:
- -n=default
- name: aks
activation:
- kubeContext: aks
deploy:
kubeContext: aks
kustomize:
buildArgs: ['--enable_alpha_plugins']
path: kustomize/overlays/azure
flags:
global:
- -n=default
build:
tagPolicy:
gitCommit:
variant: abbrevcommitsha
artifacts:
- image: lena/quaroke
local:
useBuildkit: true
deploy:
kubeContext: docker-for-desktop
kustomize:
path: "kustomize/base"
flags:
global:
- -n=default