-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathaws-efs-csi-driver.yaml
65 lines (56 loc) · 1.8 KB
/
aws-efs-csi-driver.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package:
name: aws-efs-csi-driver
version: 1.7.6
epoch: 0
description: CSI driver for Amazon EFS.
copyright:
- license: Apache-2.0
dependencies:
runtime:
# Ref: https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/Dockerfile#L61-L78
- efs-utils # pull in nfs-utils & busybox
- mount
- openssl
- py3-botocore # required for cross account mount: https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/Dockerfile#L52
- tcpdump
- umount
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
- wolfi-baselayout
pipeline:
# We can't use go/install because this requires specific ldflags to set the version
- uses: git-checkout
with:
repository: https://github.com/kubernetes-sigs/aws-efs-csi-driver
tag: v${{package.version}}
expected-commit: 7d87370ef6568d7e35e5645e775e0267ef92889a
- uses: go/bump
with:
deps: k8s.io/[email protected]
- runs: |
# Our global LDFLAGS conflict with a Makefile parameter
unset LDFLAGS
# Mitigate CVE-2023-5528
go mod edit -replace=k8s.io/apiserver=k8s.io/[email protected]
go mod tidy
go mod vendor
make ARCH=$(go env GOARCH)
install -Dm755 bin/aws-efs-csi-driver ${{targets.destdir}}/usr/bin/aws-efs-csi-driver
mkdir -p ${{targets.destdir}}/etc/amazon/efs
cp THIRD-PARTY ${{targets.destdir}}/
# Ref: https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/Dockerfile#L86
mkdir -p ${{targets.destdir}}/etc/amazon/efs-static-files
- uses: strip
update:
enabled: true
ignore-regex-patterns:
- helm-chart-aws-efs-csi-driver
github:
identifier: kubernetes-sigs/aws-efs-csi-driver
strip-prefix: v
tag-filter: v