gosec: ignore G101
as this is not a secret, only a name.
@@ -61,7 +61,7 @@ var (
validatingWebhookName = "metallb-webhook-configuration"
addresspoolConvertingWebhookCRD = "addresspools.metallb.io"
bgppeerConvertingWebhookCRD = "bgppeers.metallb.io"
- webhookSecretName = "webhook-server-cert"
+ webhookSecretName = "webhook-server-cert" //#nosec G101
)
func init() {
@@ -118,6 +118,7 @@ type Config struct {
//
// The client uses processName to identify itself to the cluster
// (e.g. when logging events).
+//
//nolint:godot
func New(cfg *Config) (*Client, error) {
namespaceSelector := cache.ObjectSelector{
