-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathskaffold.frontend.yaml
47 lines (47 loc) · 1.18 KB
/
skaffold.frontend.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
apiVersion: skaffold/v2beta26
kind: Config
requires:
- path: ./skaffold.base.yaml
build:
local:
concurrency: 4
useBuildkit: true
push: false
artifacts:
- image: web-evidence.dev
context: .
requires:
- image: solomon_base
alias: SOLOMON_BASE
sync:
manual:
- src: 'apps/web-evidence/src/**/*'
dest: '/usr/src'
- src: 'libs/shared/*/src/**/*'
dest: '/usr/src'
- src: 'libs/web/*/src/**/*'
dest: '/usr/src'
docker:
dockerfile: apps/web-evidence/Dockerfile
target: dev
deploy:
kubeContext: docker-desktop
helm:
releases:
- name: nginx-ingress
repo: https://kubernetes.github.io/ingress-nginx
remoteChart: ingress-nginx
version: 4.0.13
# https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/values.yaml
overrides:
controller:
admissionWebhooks:
enabled: false
kubectl:
manifests:
- tools/k8s/dev/frontend/*.yaml
portForward:
# Enable live reload for the web app
- resourceType: deployment
resourceName: web-evidence
port: 8000