fix(aws-iam-authenticator)

closes #4261
This commit is contained in:
Jacob Heider 2023-11-29 12:52:32 -05:00
parent 33451da01b
commit a265dc5f4f
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -16,12 +16,16 @@ build:
LDFLAGS:
- -s
- -w
- "-X sigs.k8s.io/aws-iam-authenticator/pkg.Version={{version}}"
- '-X sigs.k8s.io/aws-iam-authenticator/pkg.Version={{version}}'
linux:
LDFLAGS:
- -buildmode=pie
provides:
- bin/aws-iam-authenticator
test:
script:
- aws-iam-authenticator version
- 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"
- cat cert.pem | grep "BEGIN CERTIFICATE"