-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaws-network-policy-agent.yaml
51 lines (44 loc) · 1.28 KB
/
aws-network-policy-agent.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: aws-network-policy-agent
version: "1.2.0"
epoch: 100
description: Amazon EKS Network Policy Agent is a daemonset that is responsible for enforcing configured network policies on the cluster.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- clang-16-dev
- libbpf-dev
- llvm16-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/aws/aws-network-policy-agent
tag: v${{package.version}}
# WARNING Also please upgrade vmlinux.h header by hand using generate-vmlinuxh.sh
# TODO:
# Note that script relies on launchad AL2023 docker container to
# get AL2023 kernel image. Maybe we should package dnf tooling
# in wolfi, to be able to download AL2023 kernel as a build
# dependency at build-time instead
expected-commit: 8f91f60083828e096cccc0cec8de30c3aeeb248c
- uses: go/build
with:
tags: netgo,ebpf,core
output: controller
packages: main.g
- uses: go/build
with:
output: aws-eks-na-cli
packages: ./cmd/cli
- uses: go/build
with:
output: aws-eks-na-cli-v6
packages: ./cmd/cliv6
- uses: strip
update:
enabled: true
github:
identifier: aws/aws-network-policy-agent
strip-prefix: v