-
Notifications
You must be signed in to change notification settings - Fork 102
/
skipper.yaml
47 lines (39 loc) · 1.46 KB
/
skipper.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
registry: quay.io
build-container-image: assisted-test-infra
build-container-tag: latest
volumes:
# programs
- $(which oc --skip-alias || echo /usr/local/bin/oc):/usr/local/bin/oc
- $(which kubectl --skip-alias || echo /usr/local/bin/kubectl):/usr/bin/kubectl
- $(which minikube --skip-alias || echo /usr/local/bin/minikube):/usr/bin/minikube
- $MINIKUBE_HOME:$MINIKUBE_HOME
# config
- $HOME/.kube/:$HOME/.kube/
- $HOME/.minikube/:$HOME/.minikube/
- $HOME/.ssh/:$HOME/.ssh/
- $HOME/.oci/:$HOME/.oci/
- $HOME/custom_manifests/:$HOME/custom_manifests/
# logs
- /var/log:/var/log
- /run/log/journal:/run/log/journal
- /var/ai-logs:/var/ai-logs # using this when downloading triage logs
# sockets
- $HOME/.test-infra/etc/nginx/conf.d:/etc/nginx/conf.d
# cache
- $HOME/.cache/go-build/:/go/pkg/mod/
- $HOME/.cache/libvirt/:$HOME/.cache/libvirt/
# etc
- /var/lib/libvirt/:/var/lib/libvirt/
- /var/run/libvirt/:/var/run/libvirt/
- /var/lib/libvirt/dnsmasq/:/var/lib/libvirt/dnsmasq/
- /tmp:/tmp/
- /dev/:/dev
- /run/udev:/run/udev
# podman - sharing the podman.socket between the host and the skipper container
- $XDG_RUNTIME_DIR/podman/podman.sock:/run/podman/podman.sock
# Network manager dnsmasq. Mounted to allow the container to write dnsmasq config files to HOST Network Manager
- /etc/NetworkManager/dnsmasq.d:/etc/NetworkManager/dnsmasq.d
env_file:
- skipper.env
env:
CONTAINER_HOST: unix://run/podman/podman.sock