Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion haproxy-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ subpackages:
description: "Compatibility package to place binaries in the location expected by upstream start.sh script"
pipeline:
- runs: |
# The helm chart expects the kiam binaries to be in / instead of /usr/bin
# The helm chart expects the haproxy-ingress-compat binaries to be in / instead of /usr/bin
mkdir -p "${{targets.subpkgdir}}"
ln -sf /usr/bin/haproxy-ingress-controller ${{targets.subpkgdir}}/haproxy-ingress-controller

Expand Down
1 change: 1 addition & 0 deletions packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ lua-cjson
lmdb
libsrt
yajl
thanos-operator
crun
modsecurity
ingress-nginx
Expand Down
52 changes: 52 additions & 0 deletions thanos-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package:
name: thanos-operator
version: 0.3.7
epoch: 0
description: Kubernetes operator for deploying Thanos
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go

pipeline:
- uses: git-checkout
with:
repository: https://github.com/banzaicloud/thanos-operator
tag: ${{package.version}}
expected-commit: 7b87b4f89dee6454ae46e9579b9a98d6d7a5e550

- runs: |
# Address CVE-2022-21698 GHSA-69ch-w2m2-3vjp GHSA-69cg-p879-7622
go get github.com/prometheus/client_golang@v1.11.1
go get golang.org/x/text@v0.3.8
go get golang.org/x/net@v0.7.0

go mod tidy

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: "thanos-operator-compat"
description: "Compatibility package to place binaries in the location expected by upstream helm charts"
pipeline:
- runs: |
# The helm chart expects the thanos-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
ignore-regex-patterns:
- "pkg/sdk/*"
github:
identifier: banzaicloud/thanos-operator