-
Notifications
You must be signed in to change notification settings - Fork 4
/
skaffold.yaml
58 lines (57 loc) · 1.44 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
apiVersion: skaffold/v2alpha1
kind: Config
metadata:
name: productive-cloud-native-devex
build:
tagPolicy:
sha256: {}
artifacts:
- image: lreimer/productive-cloud-native-devex
# to build image with Jib
#jib: {}
# to build image with Buildpacks.io
# buildpacks:
# builder: "gcr.io/buildpacks/builder:v1"
local:
useDockerCLI: false
useBuildkit: true
test:
- image: lreimer/productive-cloud-native-devex
structureTests:
- src/test/structure/war_exists_test.yaml
deploy:
kubectl:
manifests:
- src/main/kubernetes/microservice.yaml
- src/main/kubernetes/database.yaml
portForward:
- resourceType: service
resourceName: productive-cloud-native-devex
namespace: default
port: 8080
localPort: 18080
profiles:
- name: development
activation:
- kubeContext: docker-desktop
# deploy:
# kustomize:
# path: "src/main/kubernetes/kustomize/overlays/dev"
# - name: integration
# activation:
# - env: ENVIRONMENT=INT
# deploy:
# kustomize:
# path: "src/main/kubernetes/kustomize/overlays/int"
# portForward:
# - resourceType: service
# resourceName: int-productive-cloud-native-devex-v1
# namespace: default
# port: 8080
# localPort: 18080
# - name: production
# activation:
# - env: ENVIRONMENT=PROD
# deploy:
# kustomize:
# path: "src/main/kubernetes/kustomize/overlays/prod"