-
Notifications
You must be signed in to change notification settings - Fork 216
/
skipper.yaml
35 lines (30 loc) · 1.08 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
registry: quay.io
build-container-image: assisted-service-build
containers:
assisted-service-build: Dockerfile.assisted-service-build
volumes:
# programs
- $(which minikube || echo /usr/local/bin/minikube):/usr/local/bin/minikube
# config
- $MINIKUBE_HOME:$MINIKUBE_HOME
- $HOME/.minikube:$HOME/.minikube
- $HOME/.kube/:$HOME/.kube
- $KUBECONFIG:$KUBECONFIG
- /etc/subuid:/etc/subuid
- /etc/subgid:/etc/subgid
- /run/lock/lockdev:/run/lock/lockdev
# cache
- $HOME/.cache/go-build:/go/pkg/mod
- $HOME/.cache/golangci-lint:$HOME/.cache/golangci-lint
# libvirt
- /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock
- /var/lib/libvirt/:/var/lib/libvirt/
- /etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt
- $(podman info --format "{{.Host.RemoteSocket.Path}}" 2> /dev/null || echo "$XDG_RUNTIME_DIR/podman/podman.sock"):/run/podman/podman.sock
env_file:
- skipper.env
env:
GOCACHE: "/go/pkg/mod"
KUBECONFIG: $KUBECONFIG
# a podman-remote env variable: the podman socket url to use
CONTAINER_HOST: unix://run/podman/podman.sock