c97571c4c4
kubebuilder init --domain ryuvia.com --repo git.ryuvia.com/niklas/terdut-operator (--license none, no per-file header boilerplate -- terdut-server's source carries none either). Go 1.26.0/controller-runtime v0.25.0/controller-tools v0.22.0, whatever the current kubebuilder CLI (v4.16.0) scaffolds -- not pinned back to terdut-server's go 1.25.9, since this is a separate module with its own toolchain. Verified locally: build, vet, fmt all clean; `make lint` (golangci-lint, fetched into bin/) 0 issues; `make test` (controller-gen + setup-envtest, fetched into bin/, downloads real envtest binaries from storage.googleapis.com) passes. Dropped kubebuilder's default .github/workflows/* -- this org runs on Gitea, not GitHub; ci.yaml (next commit) is the only CI this repo gets.
15 lines
424 B
Plaintext
15 lines
424 B
Plaintext
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
|
|
# Ignore everything by default and re-include only needed files
|
|
**
|
|
|
|
# Re-include Go source files (but not *_test.go)
|
|
# If you use Podman, re-include your source directories by name,
|
|
# such as !cmd, !api, and !internal.
|
|
# See https://github.com/containers/buildah/issues/6417
|
|
!**/*.go
|
|
**/*_test.go
|
|
|
|
# Re-include Go module files
|
|
!go.mod
|
|
!go.sum
|