* fix: prevent bootstrap cluster pods getting IPs from kind CIDR
Signed-off-by: Patrick Christopher <pchristopher@nvidia.com>
* fix: resolve coderabbit comments
Signed-off-by: Patrick Christopher <pchristopher@nvidia.com>
* fix: nerdctl bridge check
Signed-off-by: Patrick Christopher <pchristopher@nvidia.com>
* fix: prevent nerdctl networking from getting into the site node networking
Signed-off-by: Patrick Christopher <pchristopher@nvidia.com>
* fix: local agent review
Signed-off-by: Patrick Christopher <pchristopher@nvidia.com>
* fix: prevent env var being set to cause networking being forced into nerdctl that gets shared to cluster
Signed-off-by: Patrick Christopher <pchristopher@nvidia.com>
---------
Signed-off-by: Patrick Christopher <pchristopher@nvidia.com>
* chore: move test doubles, examples and stale references to the new name
What the name check still reported outside the Tier 2 identifiers:
synthetic names in tests (nke-site, nke-old, nke-injected, nke-role,
nke-key-1 and friends), registry and path examples in documents and
flag help (registry.example.com/nke, ghcr.io/my-org/nke, ~/dev/nke),
development defaults (DEV_NAME, kind contexts, the promtail job, the
mutagen example), stale references to packages renamed earlier
(internal/nke, nke.NewClient, nkecli, nkeutils), the `nke#1399` issue
shorthand, the CI image tag nke/capd-reboot-controller, the prune
script's package names, and a few comments and messages. The
UpdateNKERBAC rpc's errors now start with the rpc name, which no caller
parses.
Kept: the two synthetic fixture profiles' image URLs, because
osprofiles-to-crs refuses to change a published MachineImage spec; the
salt of the bring-up VMs' default password hash; the legacy installer
path the kubeadm-distro test asserts is absent; the fleet names existing
sites carry. The postgresql chart's description changes with a patch
bump.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* ci: give the name check its launch allowlist
hack/name-check-allowlist.txt grows from two entries to 48, each with
its reason: the Tier 2 identifiers that stay until the post-launch
release (PR4 Kubernetes, PR5 node, PR6 OS image and packages), the
permanent keeps (migration names and texts, the NKEAuth magic and its
package, fleet release and profile names, the identity of existing
sites), the settings-coupled names (the old NGC token secret, the
CODEOWNERS team slugs, the S3 and apt names, the old CLI name), and the
files that keep the bare word (the agent version line the updater
parses, the OIDC upstream CA subject, the Keycloak lab, the two NVCR
workflows whose NGC organisation is named NKE).
With it, NAME_CHECK_MODE=fail make name-check passes on this tree:
5,908 hits, all allowed, every entry in use. The make target keeps
report mode until the launch flips it (W4).
Closes#1483
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
---------
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The binary, its directory, its config directory and its environment
variables take the new name. For one release the previous names still
work: every NVKECTL_* setting is also read under its NKECTL_* name with a
deprecation warning (the NKECTL_CWE_* names of the generation before are
no longer read), a config file left under nkectl/ is read and copied to
nvkectl/ once, and releases publish both nvkectl-<os>-<arch> and
nkectl-<os>-<arch>, to GitHub and to S3 under the existing prefix.
The e2e helper package, the e2e test, the smoke and fetch scripts and
the bootstrap e2e workflow follow the binary; the fetch script accepts a
release that carries only the old asset name. The CLI's own documents
and the two installation documents that print the download URLs change
with it.
Kept on purpose: the NVCR repository name until an nvkectl repository
exists in the NGC org, the S3 prefix the publishing role's policy names,
and the prose in the other documents.
BREAKING CHANGE: the CLI is installed and invoked as nvkectl. The
previous binary name, environment variable names and config directory
are honoured for one release, as described above.
Closes#1455
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Six packages exist only for `bootstrap site`: bootstrapengine, cwedeploy,
sitespec, sitecluster, etcdkey and spireentrydump. They move under
cli/internal/bootstrap/, so cli/internal separates what serves the
bootstrap from what serves the site-controller client. bootstrapengine
becomes bootstrap/engine and is imported under its former name; the
others keep theirs.
A pure move: import paths, the paths in cli/Makefile, the root Makefile,
controller/Makefile.dev, hack/mirror-bootstrap-images.sh, the capd-e2e
push glob and the e2e-pr-path-filter regex that must stay in step with
it, docs and comments, and one relative path in a test. No code changes.
Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Lia Campbell <liac@nvidia.com>