From a265dc5f4fc2ac12a9ebaaf52bed43a43146cc71 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 29 Nov 2023 12:52:32 -0500 Subject: [PATCH] fix(aws-iam-authenticator) closes #4261 --- .../kubernetes-sigs/aws-iam-authenticator/package.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/projects/github.com/kubernetes-sigs/aws-iam-authenticator/package.yml b/projects/github.com/kubernetes-sigs/aws-iam-authenticator/package.yml index d83cf729..8b4fbb44 100644 --- a/projects/github.com/kubernetes-sigs/aws-iam-authenticator/package.yml +++ b/projects/github.com/kubernetes-sigs/aws-iam-authenticator/package.yml @@ -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" \ No newline at end of file + - cat cert.pem | grep "BEGIN CERTIFICATE"