-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathskaffold.app.yaml
More file actions
41 lines (41 loc) · 1.06 KB
/
skaffold.app.yaml
File metadata and controls
41 lines (41 loc) · 1.06 KB
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
---
apiVersion: skaffold/v2beta22
kind: Config
metadata:
requires:
- configs: ["app"]
---
apiVersion: skaffold/v2beta22
kind: Config
metadata:
name: app
build:
artifacts:
- image: ghcr.io/kzmake/skeleton/api-gateway
docker: { dockerfile: Dockerfile.golang, network: host, buildArgs: { SERVICE_NAME: api/gateway } }
- image: ghcr.io/kzmake/skeleton/svc-greeter
docker: { dockerfile: Dockerfile.golang, network: host, buildArgs: { SERVICE_NAME: svc/greeter } }
- image: ghcr.io/kzmake/skeleton/svc-echo
docker: { dockerfile: Dockerfile.golang, network: host, buildArgs: { SERVICE_NAME: svc/echo } }
deploy:
kustomize:
paths:
- manifests/overlays/localhost
portForward:
- resourceType: service
resourceName: api-gateway
namespace: default
port: 8080
localPort: 58080
- resourceType: service
resourceName: api-gateway-dapr
namespace: default
port: 50001
localPort: 50001
profiles:
- name: localhost
- name: production
deploy:
kustomize:
paths:
- manifests/overlays/production