-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskaffold.yaml
36 lines (36 loc) · 923 Bytes
/
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
apiVersion: skaffold/v4beta6
kind: Config
metadata:
name: k3s-wireguard-mgr
build:
artifacts:
- image: ghcr.io/bryopsida/k8s-wireguard-mgr
docker:
dockerfile: Dockerfile
local:
push: false
manifests:
rawYaml:
- tests/k8s/job.yaml
verify:
- name: verify-secret-created
container:
name: verify-secret-created
image: ghcr.io/curium-rocks/wg-kubectl:main
command:
- kubectl
- get
- secret
- test-wg-secret
executionMode:
kubernetesCluster:
jobManifestPath: tests/k8s/verify-secret-created.yaml
- name: verify-secret-works
container:
name: verify-secret-works
image: ghcr.io/curium-rocks/wg-kubectl:main
command: ["/bin/sh"]
args: ["-c", "cat /wg/privatekey | tee | wg pubkey"]
executionMode:
kubernetesCluster:
jobManifestPath: tests/k8s/verify-secret-works-with-wg.yaml