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: 2 additions & 0 deletions examples/rpms/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ RUN --mount=type=secret,id=gpg \
rpmbuild -ba spire-server-attestor-tpm.spec && \
spectool -g -R spire-credentialcomposer-cel.spec && \
rpmbuild -ba spire-credentialcomposer-cel.spec && \
spectool -g -R k8s-image-cred-spire-identity-exchange.spec && \
rpmbuild -ba k8s-image-cred-spire-identity-exchange.spec && \
spectool -g -R aws-spiffe-workload-helper.spec && \
rpmbuild -ba aws-spiffe-workload-helper.spec && \
if [ "$(uname -m)" == "x86_64" ]; then \
Expand Down
54 changes: 54 additions & 0 deletions examples/rpms/k8s-image-cred-spire-identity-exchange.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
##############################################################################
#
# To you, dear reader:
#
# If you are a normal user, we recommend not reading further. Its probably not
# the file your looking for.
#
# If you are looking at using this file as a base for your own work, please
# don't. It is a horrible example. Please look elsewhere.
#
# If you are a package maintainer, please read on. We recognize this spec file
# is blasphemous, a terrible abomination, a crime against nature, and more. We
# regret needing to produce it, but had to in order to attract enough users to
# find you. We beseech thee, kind and generous package maintainer, please help
# us mend our wicked ways by joining us and help us produce proper packaging.
# You are our only hope.
#
##############################################################################

%define ARCH %(echo %{_arch} | sed s/aarch64/arm64/)

Summary: Kubernetes Image Credential Plugin SPIRE Identity Exchange
Name: k8s-image-cred-spire-identity-exchange
Version: 0.3.0
Release: 1
Group: Applications/Internet
License: Apache-2.0
URL: https://spiffe.io
Source0: https://github.com/spiffe/spire-identity-exchange/releases/download/v%{version}/k8s-image-cred-spire-identity-exchange_Linux_%{ARCH}.tar.gz

%global __strip /bin/true

%description
Kubernetes Image Credential Plugin SPIRE Identity Exchange

%global _missing_build_ids_terminate_build 0
%global debug_package %{nil}

%prep

%setup -c

%build

%install
mkdir -p "%{buildroot}/usr/libexec/kubelet-credential-providers"
cp -a k8s-image-cred-spire-identity-exchange %{buildroot}/usr/libexec/kubelet-credential-providers

%clean
rm -rf %{buildroot}

%files
/usr/libexec/kubelet-credential-providers/k8s-image-cred-spire-identity-exchange

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

Summary: SPIRE Credential Composer Identity Exchange
Name: spire-credentialcomposer-identity-exchange
Version: 0.1.0
Version: 0.3.0
Release: 1
Group: Applications/Internet
License: Apache-2.0
Expand Down
2 changes: 1 addition & 1 deletion examples/rpms/spire-identity-exchange-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

Summary: SPIRE Identity Exchange Server
Name: spire-identity-exchange-server
Version: 0.2.0
Version: 0.3.0
Release: 1
Group: Applications/Internet
License: Apache-2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

Summary: SPIRE Server Attestor SPIFFE Workload API
Name: spire-server-attestor-spiffe-workload-api
Version: 0.1.0
Version: 0.3.0
Release: 1
Group: Applications/Internet
License: Apache-2.0
Expand Down
Loading