kubecfg: add -s and -w to ldflags
This turns of debug symbols and the symbol table. Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user