Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(new package):add spire-controller-manager #38303

Merged
merged 2 commits into from
Dec 24, 2024
Merged
Changes from 1 commit
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
57 changes: 57 additions & 0 deletions spire-controller-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package:
name: spire-controller-manager
version: 0.6.0
epoch: 0
description: A Kubernetes Controller manager which facilitates the registration of workloads and establishment of federation relationships.
copyright:
- license: Apache-2.0

environment:
YashPimple marked this conversation as resolved.
Show resolved Hide resolved
environment:
CGO_ENABLED: 0
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle

pipeline:
- uses: git-checkout
with:
repository: https://github.com/spiffe/spire-controller-manager.git
expected-commit: b605fd9ad3ff1adacbca5f7ab76b55f705b6de8f
tag: v${{package.version}}

- uses: go/bump
with:
deps: golang.org/x/crypto@v0.31.0 golang.org/x/net@v0.33.0

- uses: go/build
with:
packages: "./cmd/main.go"
output: spire-controller-manager

- uses: strip
YashPimple marked this conversation as resolved.
Show resolved Hide resolved

subpackages:
- name: ${{package.name}}-compat
description: Compatibility package for spire-controller-manager
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/
ln -sf /usr/bin/spire-controller-manager "${{targets.subpkgdir}}"/spire-controller-manager
test:
pipeline:
- name: stat on symlink
runs: stat /spire-controller-manager

update:
enabled: true
github:
identifier: spiffe/spire-controller-manager
strip-prefix: v

test:
pipeline:
- runs: |
spire-controller-manager --help