chore: add Makefile with check gate, golangci-lint config, dockerignore

- make check runs lint + vet + test-short; lint is pinned to the go.mod
  toolchain so it works when the host Go is newer than golangci-lint's
- gofumpt main.go and patch.go; drop unused gatewayGroup/gatewayKind vars

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 20:32:53 +02:00
co-authored by Claude Opus 5.5
parent 2be69b9aac
commit 0eb588e8bd
7 changed files with 122 additions and 13 deletions
+3 -5
View File
@@ -10,11 +10,9 @@ import (
)
var (
defaultPort gwapiv1.PortNumber = 443
tlsModeTerminate = gwapiv1.TLSModeTerminate
namespacesFromAll gwapiv1.FromNamespaces = gwapiv1.NamespacesFromAll
gatewayGroup gwapiv1.Group = gwapiv1.GroupName
gatewayKind gwapiv1.Kind = "Gateway"
defaultPort gwapiv1.PortNumber = 443
tlsModeTerminate = gwapiv1.TLSModeTerminate
namespacesFromAll gwapiv1.FromNamespaces = gwapiv1.NamespacesFromAll
)
// BuildListenersFromCertificates creates the desired set of managed listeners