Skip to content
Merged
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
31 changes: 30 additions & 1 deletion configmap-reload.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: configmap-reload
version: "0.15.0"
epoch: 5 # CVE-2025-61725
epoch: 7
description: Simple binary to trigger a reload when a Kubernetes ConfigMap is updated
copyright:
- license: Apache-2.0
Expand All @@ -16,6 +16,12 @@ environment:
- ca-certificates-bundle
- go

var-transforms:
- from: ${{package.version}}
match: ^(\d+)\.\d+\.\d+$
replace: "$1"
to: major-version

pipeline:
- uses: git-checkout
with:
Expand All @@ -29,6 +35,29 @@ pipeline:
output: configmap-reload
ldflags: -extldflags '-static'

subpackages:
- name: ${{package.name}}-iamguarded-compat
options:
no-provides: true
pipeline:
- uses: iamguarded/build-compat
with:
package: configmap-reload
version: ${{vars.major-version}}
- runs: |
mkdir -p "/opt/iamguarded/configmap-reload/bin/"
ln -s "/usr/bin/configmap-reload" "/opt/iamguarded/configmap-reload/bin/configmap-reload"
- uses: iamguarded/finalize-compat
with:
package: configmap-reload
version: ${{vars.major-version}}
test:
pipeline:
- uses: iamguarded/test-compat
with:
package: configmap-reload
version: ${{vars.major-version}}

update:
enabled: true
github:
Expand Down
Loading