-
Notifications
You must be signed in to change notification settings - Fork 289
/
Copy pathkube-logging-operator.yaml
43 lines (37 loc) · 1.14 KB
/
kube-logging-operator.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
package:
name: kube-logging-operator
version: 4.6.0
epoch: 0
description: Logging operator for Kubernetes
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/kube-logging/logging-operator
tag: ${{package.version}}
expected-commit: 421fefebc813cb78d0ce26edd767ada97923519b
- runs: |
CGO_ENABLED=0 GO111MODULE=on go build -o bin/manager main.go
mkdir -p ${{targets.destdir}}/usr/bin
install -Dm755 ./bin/manager ${{targets.destdir}}/usr/bin/manager
- uses: strip
subpackages:
- name: "kube-logging-operator-compat"
description: "Compatibility package to place binaries in the location expected by upstream helm charts"
pipeline:
- runs: |
# The helm chart expects the logging-operator binaries to be in / instead of /usr/bin
mkdir -p "${{targets.subpkgdir}}"
ln -sf /usr/bin/manager ${{targets.subpkgdir}}/manager
- uses: strip
update:
enabled: true
github:
identifier: kube-logging/logging-operator