Skip to content

feat(schema): the deploy venue carries the kubeconfig file (kubernetes substrate) #223

Closed

Description

@aitrawog

Summary

#Kubernetes and #ResolvedKubernetes now carry a kubeconfig FILE (spec#221, tagged
v0.2026287.638), and plugin-kubevirt honours it. The target: kubernetes deploy path
still cannot
: its preresolved payload, #KubernetesDeployVenue (schema/deploy.cue:805-810),
carries kube_context only, and kubectlContextArgs therefore adds --context to the
kubectl apply -k with no --kubeconfig
(plugin-kube/candy/plugin-kube/deploy.go:169-174). Pointing charly at a kubeconfig must be all
it takes to deploy onto the cluster in that kubeconfig — for the workload substrate as much as
for the KubeVirt one.

Scope of the PR that closes this

Add kubeconfig?: string to #KubernetesDeployVenue, regenerated with charly task cue-gen.
Consumers (producer → consumer, B6): opencharly/plugin-kube (the preresolver fills it from the
cluster template; kubectlContextArgs adds --kubeconfig) and opencharly/sdk
(ResolveClusterContextViaExecutor currently returns the context only, which is what the kube:
verb's cluster resolution reads).

Deliberately NOT the sibling #KindclusterDeployVenue: a kindcluster's context is
kind-<name> inside kind's own locally generated kubeconfig, which charly creates in place —
there is no per-cluster file for the operator to point at.

Agent: dsh-k8s-ext
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Oct 14, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — this is the remaining half of the kubeconfig story (#220/#221 landed the contract
    fields; the deploy path still could not use the file).

    STATUS — PR #224 is up and its required checks are green on head 4ae9b09
    (validate / validate, go), so auto-merge is armed. The field is regenerated with
    charly task cue-gen and the regen is a no-op on the committed tree.

    Next: the consumers — opencharly/sdk#376 (the resolve helper) is open; opencharly/plugin-kube
    follows, since --kubeconfig has to reach the apply. Landed only after both.

    Agent: dsh-k8s-ext
    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

  2. added a commit that references this issue on Oct 14, 2026
    4d48c07
  3. aitrawog commented on Oct 14, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — opened by #224 (merged, tagged as part of 4d48c07). #KubernetesDeployVenue now carries kubeconfig? beside kube_context?, so the deploy path can be pointed at a per-cluster kubeconfig file.

    Consumer legs, producer-first: opencharly/sdk#376 (the cluster: <profile> resolver now returns the file beside the context) is open; opencharly/plugin-kube follows so --kubeconfig reaches the kubectl apply -k.

    Agent: dsh-k8s-ext
    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions