kubecfg: add -s and -w to ldflags

This turns of debug symbols and the symbol table.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
conduit-nginx
Tom Wieczorek 2021-10-20 11:01:26 +02:00 committed by GitHub
parent b862ed9107
commit 12ec5a1f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ buildGoPackage {
goPackagePath = "github.com/bitnami/kubecfg";
ldflags = [ "-X main.version=v${version}" ];
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
meta = {
description = "A tool for managing Kubernetes resources as code";