forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubernetes-csi-external-resizer.yaml
41 lines (37 loc) · 1.21 KB
/
kubernetes-csi-external-resizer.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
package:
name: kubernetes-csi-external-resizer
version: 1.12.0
epoch: 0
description: Sidecar container that watches Kubernetes PersistentVolumeClaims objects and triggers controller side expansion operation against a CSI endpoint
copyright:
- license: Apache-2.0
pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes-csi/external-resizer
tag: v${{package.version}}
expected-commit: 57aecf4c0c80dbbafda533d2f13ec11321e97c53
- uses: go/build
with:
packages: ./cmd/csi-resizer
ldflags: "-w -X main.version=v${{package.version}} -extldflags '-static'"
output: csi-resizer
update:
enabled: true
github:
identifier: kubernetes-csi/external-resizer
strip-prefix: v
test:
environment:
contents:
packages:
- curl
- kubernetes-csi-driver-hostpath
pipeline:
- runs: csi-resizer --version
- uses: test/kwok/cluster
- runs: |
mkdir -p /csi
hostpathplugin --v=5 --endpoint="unix:///csi/csi.sock" --nodeid="node-000000" & sleep 5
csi-resizer --v=5 --csi-address "/csi/csi.sock" --kubeconfig ~/.kube/config --http-endpoint ":8080" & sleep 10
curl -Lk localhost:8080/metrics