-
Notifications
You must be signed in to change notification settings - Fork 315
/
Copy pathkubernetes-csi-livenessprobe.yaml
51 lines (45 loc) · 1.26 KB
/
kubernetes-csi-livenessprobe.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
package:
name: kubernetes-csi-livenessprobe
version: 2.15.0
epoch: 4
description: A sidecar container that can be included in a CSI plugin pod to enable integration with Kubernetes Liveness Probe.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes-csi/livenessprobe
tag: v${{package.version}}
expected-commit: 5022ba7d587840cd84abd3706c610754ccdb3d4d
- uses: go/bump
with:
deps: golang.org/x/net@v0.36.0
- uses: go/build
with:
packages: ./cmd/livenessprobe
ldflags: "-w -X main.version=v${{package.version}} -extldflags '-static'"
output: livenessprobe
update:
enabled: true
github:
identifier: kubernetes-csi/livenessprobe
strip-prefix: v
test:
environment:
contents:
packages:
- curl
- kubernetes-csi-driver-hostpath
pipeline:
- uses: test/kwok/cluster
- runs: |
mkdir -p /csi
hostpathplugin --v=5 --endpoint="unix:///csi/csi.sock" --nodeid="node-000000" & sleep 5
livenessprobe --csi-address /csi/csi.sock --health-port 8080 & sleep 10
curl -Lk localhost:8080/healthz