mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
github.com/kubernetes-sigs/aws-iam-authenticator
This commit is contained in:
parent
54966524a5
commit
0e71d27a8d
1 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
distributable:
|
||||
url: https://github.com/kubernetes-sigs/aws-iam-authenticator/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
versions:
|
||||
github: kubernetes-sigs/aws-iam-authenticator
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: '*'
|
||||
script:
|
||||
- go build $GO_ARGS -ldflags="$LDFLAGS" ./cmd/aws-iam-authenticator
|
||||
env:
|
||||
GO_ARGS:
|
||||
- -v
|
||||
- -trimpath
|
||||
- -o="{{prefix}}/bin/aws-iam-authenticator"
|
||||
LDFLAGS:
|
||||
- -s
|
||||
- -w
|
||||
- "-X sigs.k8s.io/aws-iam-authenticator/pkg.Version={{version}}"
|
||||
provides:
|
||||
- bin/aws-iam-authenticator
|
||||
test:
|
||||
script:
|
||||
- aws-iam-authenticator version | grep {{version}}
|
||||
- aws-iam-authenticator init -i test
|
||||
- cat key.pem | grep "BEGIN RSA PRIVATE KEY"
|
||||
- cat cert.pem | grep "BEGIN CERTIFICATE"
|
Loading…
Reference in a new issue