mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-06 20:32:49 +08:00
* refactor(controller): reduce the kubernetes_version migration to its schema change The backfill populated existing node pools and node sets from OS profile metadata on disk. It is no longer needed: every database with rows to populate applied this migration long ago, and the only database that still runs it is a new one, which has no node pools or node sets. Dropping it removes the last production caller of internal/utils/osprofiles.go. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> * refactor(controller): drop the filesystem OS profile path OS images and releases are resolved from MachineImage, ClusterRelease and NodePoolRelease custom resources. The filesystem tree they replaced had no reader left, so it goes along with the tool that converted it: - hack/osprofiles-to-crs and its make target, fixture-releases - internal/utils/osprofiles.go - the osProfiles trees under test/fixtures/profiles and profiles/example PROFILES_DIR stays. It still carries config profiles and the runbooks their hooks reference, which have no custom-resource equivalent. test/fixtures/releases is now maintained by hand. The converter's --check test was what held it to the profile tree; with no tree to compare against, the remaining cover is go test ./internal/clients/nico, which renders bootstrap user-data from the nodepoolrelease manifests. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> --------- Signed-off-by: Miancheng Lin <mianchengl@nvidia.com>
64 lines
884 B
Plaintext
64 lines
884 B
Plaintext
# Binaries for programs and plugins.
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
bin
|
|
testbin/*
|
|
Dockerfile.cross
|
|
|
|
# Test binary, build with `go test -c`.
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE.
|
|
*.out
|
|
|
|
|
|
# editor and IDE paraphernalia.
|
|
.vscode/*
|
|
!.vscode/launch.json
|
|
!.vscode/tasks.json
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
go.work
|
|
go.work.sum
|
|
*.code-workspace
|
|
|
|
# goreleaser output folder.
|
|
dist/
|
|
|
|
# Generated CAPD workload kubeconfigs (hack/fetch-capd-kubeconfig.sh).
|
|
workload-*.kubeconfig
|
|
*.kubeconfig.local
|
|
|
|
# Local development scripts, notes and other personal assets.
|
|
.local/
|
|
.env.local
|
|
.env.tilt
|
|
tilt.d/*
|
|
!tilt.d/README.md
|
|
.claude/settings.local.json
|
|
CLAUDE.local.md
|
|
e2e-config.yaml
|
|
.cache/
|
|
|
|
|
|
# Local cache of binary tools.
|
|
bin/
|
|
.go/
|
|
|
|
# Coverage reports.
|
|
coverage.txt
|
|
cover.html
|
|
|
|
# gitlab-ci-local
|
|
.gitlab-ci-local/
|
|
.claude
|
|
tilt_config.json
|
|
.codex
|
|
.zed
|
|
docs/superpowers/
|