From f7435ae03f1fe33a12181c655dd9129b902cb8c7 Mon Sep 17 00:00:00 2001 From: Bruno Salzano Date: Wed, 10 Dec 2025 23:30:08 +0100 Subject: [PATCH 1/2] fix(kind): use registry.config_path instead of deprecated configs property Replace the deprecated `configs` field in the KIND cluster containerd configuration with the new `config_path` option to ensure compatibility with newer containerd versions and remove deprecation warnings. --- setup/docker/kind.yaml | 8 +------- setup/docker/opsfile.yml | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/setup/docker/kind.yaml b/setup/docker/kind.yaml index 5f985718..cc9d71c7 100644 --- a/setup/docker/kind.yaml +++ b/setup/docker/kind.yaml @@ -20,13 +20,7 @@ apiVersion: kind.x-k8s.io/v1alpha4 containerdConfigPatches: - |- [plugins."io.containerd.grpc.v1.cri".registry] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors."127.0.0.1:32000"] - endpoint = ["http://127.0.0.1:32000"] - - [plugins."io.containerd.grpc.v1.cri".registry.configs] - [plugins."io.containerd.grpc.v1.cri".registry.configs."127.0.0.1:32000".tls] - insecure_skip_verify = true + config_path = "/etc/containerd/certs.d" nodes: - role: control-plane diff --git a/setup/docker/opsfile.yml b/setup/docker/opsfile.yml index 7a37e632..4850a1d0 100644 --- a/setup/docker/opsfile.yml +++ b/setup/docker/opsfile.yml @@ -64,11 +64,21 @@ tasks: cmds: - mkdir -p "$DATADIR" "$OPS_HOME/workspace" - envsubst -i kind.yaml -o _kind.yaml - - > - kind create cluster - --kubeconfig="$OPS_TMP/kubeconfig" - --wait=1m --name=nuvolaris + - > + kind create cluster + --kubeconfig="$OPS_TMP/kubeconfig" + --wait=1m --name=nuvolaris --config=_kind.yaml + - | + docker exec nuvolaris-control-plane mkdir -p /etc/containerd/certs.d/127.0.0.1:32000 + docker exec nuvolaris-control-plane sh -c 'cat > /etc/containerd/certs.d/127.0.0.1:32000/hosts.toml << EOF + server = "http://127.0.0.1:32000" + + [host."http://127.0.0.1:32000"] + capabilities = ["pull", "resolve", "push"] + skip_verify = true + EOF' + docker exec nuvolaris-control-plane systemctl restart containerd ingress: silent: true From e909ebfe458756c9c04fa60c943a5aba696f2c1d Mon Sep 17 00:00:00 2001 From: Bruno Salzano Date: Wed, 10 Dec 2025 23:37:16 +0100 Subject: [PATCH 2/2] chore: update admin api update the admin api to 0.1.0-incubating.2512101357 --- opsroot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opsroot.json b/opsroot.json index ffff0706..a4231c89 100644 --- a/opsroot.json +++ b/opsroot.json @@ -9,7 +9,7 @@ "controller": "ghcr.io/nuvolaris/openwhisk-controller:3.1.0-mastrogpt.2402101445", "invoker": "ghcr.io/nuvolaris/openwhisk-invoker:3.1.0-mastrogpt.2402101445", "streamer": "registry.hub.docker.com/apache/openserverless-streamer:0.1.0-incubating.2505031325", - "systemapi": "registry.hub.docker.com/apache/openserverless-admin-api:0.1.0-incubating.2509280912" + "systemapi": "registry.hub.docker.com/apache/openserverless-admin-api:0.1.0-incubating.2512101357" } } }