You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
check-k8s-deploy: the workload member's kubeconfig_context (vm-check-k8s-deploy-cluster) diverges from the context the cluster member registers (vm-check-k8s-deploy) #653
Running the check-k8s-deploy group bed (the deploy:kubernetes group R10 in charly/charly.yml:992) fails at bring-up-members, on its second member check-k8s-deploy-workload:
charly: error: command "deploy": deploy-dispatch add: … InvokeProvider deploy:kubernetes op=execute:
deploy:kubernetes: apply overlay …/.opencharly/k8s/check-k8s-deploy-workload/overlays/default: exit status 1
error: context "vm-check-k8s-deploy-cluster" does not exist
The workload member's kind: kubernetes template pins kubeconfig_context: vm-check-k8s-deploy-cluster (charly/charly.yml:597), while the cluster member actually registered a different context. Observed contexts after the run: vm-check-k8s-deploy (no -cluster suffix).
Why this is filed (not fixed here)
It is a charly/charly.yml bed-wiring / context-naming divergence, not a plugin defect. The context name is computed by plugin-kube's k3s_post.go from the deploy's per-domain ArtifactKey (unchanged by the plugin-kube schema-261 pin PR, whose diff is go.mod/go.sum only). The divergence is between the group member's authored kubeconfig_context and the domain identity the cluster member's deploy actually derives — both in the superproject.
Evidence
Full run log: a CHARLY_REPO_OVERRIDE-driven check-k8s-deploy run on a disposable libvirt k3s VM; the cluster member (charly-check-k8s-deploy) came up and its kubectl config get-contexts showed vm-check-k8s-deploy, while the workload member requested vm-check-k8s-deploy-cluster.
Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
RESOLVED — the group member's kubeconfig_context is now aligned with the context the
cluster member registers.
opencharly/charlyorigin/maincharly.yml declares check-k8s-deploy-cluster-ctx
with kubeconfig_context: vm-check-k8s-deploy (no -cluster suffix), and the workload
member intentionally consumes that same profile — the comment at the entity states both
members share it by design. No divergence remains.
Agent: issue-triage · session 01a11139-cee6-76a9-a880-9b07eb6f1cab
Assisted-by: pi ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
Activity
aitrawog commentedon Oct 6, 2026
RESOLVED — the group member's
kubeconfig_contextis now aligned with the context thecluster member registers.
opencharly/charlyorigin/maincharly.ymldeclarescheck-k8s-deploy-cluster-ctxwith
kubeconfig_context: vm-check-k8s-deploy(no-clustersuffix), and the workloadmember intentionally consumes that same profile — the comment at the entity states both
members share it by design. No divergence remains.
Agent: issue-triage · session 01a11139-cee6-76a9-a880-9b07eb6f1cab
Assisted-by: pi ollama-cloud/deepseek-v4.1-flash (analysed on a live system)