-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
72 lines (69 loc) · 1.51 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
apiVersion: skaffold/v2beta14
kind: Config
build:
artifacts:
- image: ghcr.io/shipperizer/furry-train-web-app
sync:
infer:
- "cmd/web/main.go"
- "go.mod"
- "go.sum"
custom:
buildCommand: APP_NAME=web ./buildx.sh
dependencies:
dockerfile:
path: Dockerfile
- image: ghcr.io/shipperizer/furry-train-grpc-app
sync:
infer:
- "cmd/grpc/main.go"
- "go.mod"
- "go.sum"
custom:
buildCommand: APP_NAME=grpc ./buildx.sh
dependencies:
dockerfile:
path: Dockerfile
- image: ghcr.io/shipperizer/furry-train-proxy-app
sync:
infer:
- "cmd/proxy/main.go"
- "go.mod"
- "go.sum"
custom:
buildCommand: APP_NAME=proxy ./buildx.sh
dependencies:
dockerfile:
path: Dockerfile
local:
push: true
deploy:
kubectl:
manifests:
- "argocd.yaml"
kustomize:
paths:
- "deployments/kustomize"
profiles:
- name: kaniko
build:
artifacts:
- image: ghcr.io/shipperizer/furry-train-web-app
kaniko:
image: gcr.io/kaniko-project/executor:arm64
initImage: docker.io/busybox:stable
buildArgs:
TARGETOS: linux
TARGETARCH: arm64
cluster:
randomDockerConfigSecret: true
dockerConfig:
secretName: regcred-github-kaniko
- name: cert-manager
patches:
- op: remove
path: /deploy/kustomize
deploy:
kubectl:
manifests:
- "deployments/deps/cert-manager/*.yaml"