-
Notifications
You must be signed in to change notification settings - Fork 1
/
skaffold.yaml
37 lines (37 loc) · 1.06 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
apiVersion: skaffold/v2alpha1
kind: Config
build:
artifacts:
- image: docker.io/benmarsden/gol-backend-prod
context: config_service
- image: docker.io/benmarsden/gol-frontend-prod
context: app
deploy:
kubectl:
manifests:
- ./app/app.yml
- ./config_service/config_service.yml
- ./ingress-controller/controller.yml
- ./ingress-controller/controller-service.yml
- ./application-ingress.yml
profiles:
- name: production
## This profile builds and pushes both frontend and backend
build:
local:
push: true
artifacts:
- image: docker.io/benmarsden/gol-backend-prod
context: config_service
- image: docker.io/benmarsden/gol-frontend-prod
context: app
deploy: {} #flux will take care of this
- name: demo
## This profile builds and pushes only backend, designed for demo use
build:
local:
push: true
artifacts:
- image: docker.io/benmarsden/gol-backend-prod
context: config_service
deploy: {} #flux will take care of this