Skip to content

Commit 04aca76

Browse files
add thanos-operator
Signed-off-by: Batuhan Apaydin <batuhan.apaydin@chainguard.dev> Co-authored-by: Furkan Turkal <furkan.turkal@chainguard.dev> Signed-off-by: Batuhan Apaydin <batuhan.apaydin@chainguard.dev>
1 parent eee66ae commit 04aca76

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

haproxy-ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ subpackages:
4949
description: "Compatibility package to place binaries in the location expected by upstream start.sh script"
5050
pipeline:
5151
- runs: |
52-
# The helm chart expects the kiam binaries to be in / instead of /usr/bin
52+
# The helm chart expects the haproxy-ingress-compat binaries to be in / instead of /usr/bin
5353
mkdir -p "${{targets.subpkgdir}}"
5454
ln -sf /usr/bin/haproxy-ingress-controller ${{targets.subpkgdir}}/haproxy-ingress-controller
5555

packages.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ lua-cjson
742742
lmdb
743743
libsrt
744744
yajl
745+
thanos-operator
745746
crun
746747
modsecurity
747748
ingress-nginx

thanos-operator.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
package:
2+
name: thanos-operator
3+
version: 0.3.7
4+
epoch: 0
5+
description: Kubernetes operator for deploying Thanos
6+
copyright:
7+
- license: Apache-2.0
8+
9+
environment:
10+
contents:
11+
packages:
12+
- busybox
13+
- ca-certificates-bundle
14+
- go
15+
16+
pipeline:
17+
- uses: git-checkout
18+
with:
19+
repository: https://github.com/banzaicloud/thanos-operator
20+
tag: ${{package.version}}
21+
expected-commit: 7b87b4f89dee6454ae46e9579b9a98d6d7a5e550
22+
23+
- runs: |
24+
# Address CVE-2022-21698 GHSA-69ch-w2m2-3vjp GHSA-69cg-p879-7622
25+
go get github.com/prometheus/client_golang@v1.11.1
26+
go get golang.org/x/text@v0.3.8
27+
go get golang.org/x/net@v0.7.0
28+
29+
go mod tidy
30+
31+
go build -o bin/manager main.go
32+
mkdir -p ${{targets.destdir}}/usr/bin
33+
install -Dm755 ./bin/manager ${{targets.destdir}}/usr/bin/manager
34+
35+
- uses: strip
36+
37+
subpackages:
38+
- name: "thanos-operator-compat"
39+
description: "Compatibility package to place binaries in the location expected by upstream helm charts"
40+
pipeline:
41+
- runs: |
42+
# The helm chart expects the thanos-operator binaries to be in / instead of /usr/bin
43+
mkdir -p "${{targets.subpkgdir}}"
44+
ln -sf /usr/bin/manager ${{targets.subpkgdir}}/manager
45+
- uses: strip
46+
47+
update:
48+
enabled: true
49+
ignore-regex-patterns:
50+
- "pkg/sdk/*"
51+
github:
52+
identifier: banzaicloud/thanos-operator

0 commit comments

Comments
 (0)