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:
Tom Wieczorek
2021-10-20 11:01:26 +02:00
committed by GitHub
co-authored by Sandro
parent b862ed9107
commit 12ec5a1f4e
@@ -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";