-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
53 lines (53 loc) · 1.3 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
# https://developers.redhat.com/articles/2021/12/13/remote-debugging-kubernetes-using-vs-code
# https://skaffold.dev/docs/workflows/debug/
# https://skaffold.dev/docs/tutorials/skaffold-resource-selector/
# https://skaffold.dev/docs/references/yaml/
apiVersion: skaffold/v4beta6
kind: Config
metadata:
name: voyager
build:
artifacts:
- image: voyager-dev
runtimeType: 'python'
docker:
dockerfile: 'services/Dockerfile'
#cacheFrom:
# - voyager:latest
context: .
sync:
manual:
- src: "/Voyager/voyager/"
dest: "."
strip: "/Voyager/voyager"
#auto: true
# - image: mineflayer
# runtimeType: 'nodejs'
# docker:
# dockerfile: 'services/mineflayer.Dockerfile'
# #cacheFrom:
# # - mineflayer:latest
# context: .
# sync:
# manual:
# - src: "Voyager/voyager/env/mineflayer/"
# dest: "."
# strip: "Voyager/voyager/env/mineflayer"
local:
push: true
manifests:
rawYaml:
- k8s/*.yaml
deploy:
kubectl:
defaultNamespace: "minecraft"
#portForward:
#- namespace: voyager
# resourceType: Service
# resourceName: voyager-service
# port: 5678
resourceSelector:
allow:
- groupKind: "Deployment.apps"
image: [".*"]
labels: [".*"]