-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathkyverno-policy-reporter.yaml
55 lines (48 loc) · 1.35 KB
/
kyverno-policy-reporter.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
package:
name: kyverno-policy-reporter
version: 2.18.1
epoch: 0
description: Monitoring and Observability Tool for the PolicyReport CRD with an optional UI.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/kyverno/policy-reporter
tag: v${{package.version}}
expected-commit: c29580016126a4d47af16377df310d511d9c66ef
- uses: go/build
with:
packages: .
output: policyreporter
ldflags: -w -linkmode external -extldflags "-static"
tags: sqlite_unlock_notify
- runs: |
mkdir -p ${{targets.destdir}}/app/templates
cp -R ./templates ${{targets.destdir}}/app/templates
- uses: strip
subpackages:
- name: kyverno-policy-reporter-compat
description: compatibility symlinks package for policyreporter Dockerfile
pipeline:
- runs: |
# Symlink the binary from usr/bin to /app/
mkdir -p ${{targets.subpkgdir}}/app
ln -sf /usr/bin/policyreporter ${{targets.subpkgdir}}/app/policyreporter
update:
enabled: true
ignore-regex-patterns:
- '-RC*'
- 'dev'
github:
identifier: kyverno/policy-reporter
use-tag: true
strip-prefix: v
tag-filter: v # Avoid Helm chart tags