4 Commits
Author SHA1 Message Date
dependabot[bot] 28f9c31337 build: bump the docker-images group across 4 directories with 3 updates (#1985)
Bumps the docker-images group with 1 update in the /controller directory: [spiffe/k8s-spiffe-workload-jwt-exec-auth](https://github.com/chainguard-images/images).
Bumps the docker-images group with 1 update in the /controller/deploy/k8s/capi-spiffe-exec-auth directory: alpine.
Bumps the docker-images group with 1 update in the /controller/hack directory: [spiffe/k8s-spiffe-workload-jwt-exec-auth](https://github.com/chainguard-images/images).
Bumps the docker-images group with 1 update in the /management-engine directory: distroless/static.


Updates `spiffe/k8s-spiffe-workload-jwt-exec-auth` from 1.0.0 to 1.0.1
- [Commits](https://github.com/chainguard-images/images/commits)

Updates `spiffe/k8s-spiffe-workload-jwt-exec-auth` from 1.0.0 to 1.0.1
- [Commits](https://github.com/chainguard-images/images/commits)

Updates `alpine` from 3.24.2 to 3.24.3

Updates `spiffe/k8s-spiffe-workload-jwt-exec-auth` from 1.0.0 to 1.0.1
- [Commits](https://github.com/chainguard-images/images/commits)

Updates `spiffe/k8s-spiffe-workload-jwt-exec-auth` from 1.0.0 to 1.0.1
- [Commits](https://github.com/chainguard-images/images/commits)

Updates `distroless/static` from `e2e927e` to `18f4cc2`

---
updated-dependencies:
- dependency-name: spiffe/k8s-spiffe-workload-jwt-exec-auth
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker-images
- dependency-name: spiffe/k8s-spiffe-workload-jwt-exec-auth
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker-images
- dependency-name: alpine
  dependency-version: 3.24.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker-images
- dependency-name: spiffe/k8s-spiffe-workload-jwt-exec-auth
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker-images
- dependency-name: spiffe/k8s-spiffe-workload-jwt-exec-auth
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker-images
- dependency-name: distroless/static
  dependency-version: nonroot
  dependency-type: direct:production
  dependency-group: docker-images
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-28 10:41:46 -06:00
Abhay Krishna 8c6e47fc1e feat(controller)!: read settings only from nke-controller-config (#1527)
The controller now takes the 61 settings nke-controller-config carries
from the mounted file only. Each config.Config field that moved trades
its env tag for a controllerconfig tag naming its config.yaml key, and
controllerconfig.LoadStartupConfig fills them at startup from the file
CONTROLLER_CONFIG_PATH names, which is now required. The chart stops
setting the 61 variables, and config.Validate checks only what the
environment still supplies; the file validates the rest when it loads.

With no tracing.endpoint in the file, the controller falls back to the
OTEL_EXPORTER_OTLP_* variables the OpenTelemetry Operator injects, as
it did before. The exporter gets the endpoint as a URL whose scheme
carries the resolved transport, so an injected http:// endpoint cannot
downgrade a secure tracing.endpoint, and an https:// one stays secure.

Host-local runs and the gofail e2e worker start from
hack/local-controller-config.yaml. The e2e helpers that toggled OIDC
and permissive mode on the Deployment now edit nke-controller-config
and restart the controller.

Rolling back across this change needs the chart and the image rolled
back together: an older image under this chart runs on Go defaults for
every setting the chart no longer passes.

Signed-off-by: Abhay Krishna Arunachalam <abhaykrishna@nvidia.com>
2026-10-12 15:17:34 -07:00
dependabot[bot] 428b74a882 build: bump the docker-images group across 2 directories with 1 update (#1557)
Bumps the docker-images group with 1 update in the /controller directory: [spiffe/k8s-spiffe-workload-jwt-exec-auth](https://github.com/chainguard-images/images).
Bumps the docker-images group with 1 update in the /controller/hack directory: [spiffe/k8s-spiffe-workload-jwt-exec-auth](https://github.com/chainguard-images/images).


Updates `spiffe/k8s-spiffe-workload-jwt-exec-auth` from 0.3.0 to 1.0.0
- [Commits](https://github.com/chainguard-images/images/commits)

Updates `spiffe/k8s-spiffe-workload-jwt-exec-auth` from 0.3.0 to 1.0.0
- [Commits](https://github.com/chainguard-images/images/commits)

---
updated-dependencies:
- dependency-name: spiffe/k8s-spiffe-workload-jwt-exec-auth
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docker-images
- dependency-name: spiffe/k8s-spiffe-workload-jwt-exec-auth
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docker-images
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-12 11:15:29 -06:00
Aaron Patten 03cba1060d feat(dev): run Tilt and the e2e deploy paths with the nke-controller greenfield profile (#1271)
* feat(dev): run Tilt and the e2e deploy paths with the nke-controller greenfield profile

Tilt and the capd-e2e, capnico-e2e and nke-sbom deploy paths install the
controller the way a greenfield site does: release, namespace, Deployment,
Service and ServiceAccount nke-controller; SPIFFE ID
/nke-service/nke-controller; Temporal namespace nke-controller and queue
nke-controller-tasks; database nke-controller; and the field-manager,
managed-by and Teleport label/prefix values in nke-controller form.
backend-e2e.sh no longer branches on Tilt versus deploy path.

The e2e harness package internal/cwe is now internal/controller and
defaults to nke-controller. The CWE_* settings the dev loop, CI scripts
and e2e suite read are renamed NKE_CONTROLLER_*; the old names are still
read for one release, including when the new name is set but empty.
hack/nke-token.sh and hack/nke-auth-demo.sh find the controller in
nke-controller, then cloud-workflow-engine, as nkectl does.
The Tilt values file, Dockerfile, kind config and CAPD RBAC manifest are
renamed to say controller. The host-debug .env.local.example and README
example point at the nke-controller database, Temporal namespace and
queue, and the NKTP kind-validation doc queries the controller's metrics,
logs and traces under nke-controller.

Tilt stops with a recreate-the-cluster message on a cluster that still
runs the old release cwe in cloud-workflow-engine. The kind cluster name
cwe-capi and the nico-vms bridge cwebr0 are unchanged; renaming them would
force every developer to recreate their cluster or leave a stale bridge.

Chart defaults are unchanged, so existing sites keep their names.
The nke-sbom path now installs on a fresh cluster only, and its README
says so: nothing migrates an install from an earlier revision.

Signed-off-by: Aaron Patten <apatten@nvidia.com>

* fix(dev): name the controller's local SPIFFE ID and auth doc examples nke-controller

scripts/dev-env-spire.sh registers the host-run controller under the
ServiceAccount the cluster runs it as: nke-controller when that
ServiceAccount exists in namespace nke-controller, else
cloud-workflow-engine. The kubectl examples in
docs/authenticating-to-the-api.md use Tilt's names and say what to use on a
site that still runs the old name.

The comments at the cwe-capi and cwebr0 defaults describe the deferred
rename without an internal tracker reference, which docs-check rejects.

Signed-off-by: Aaron Patten <apatten@nvidia.com>

---------

Signed-off-by: Aaron Patten <apatten@nvidia.com>
2026-10-08 16:58:11 +00:00