Skip to content

deploy/k8s: kind and kind-ci share moca-settings, so kind keeps the kind-ci placeholder client id #429

Closed

Description

@pdettori

Follow-up from #427, P6 on Kubernetes slice 1 (#423).

The problem: --target kind and --target kind-ci share one Kind cluster (KIND_CLUSTER=moca, deploy/k8s/setup.sh) and one moca-settings ConfigMap. Settings are sticky across re-runs since #427, which causes this sequence:

  1. A --target kind-ci run stores the placeholder client id Iv1.k8s-smoke-unused.
  2. A later --target kind re-run without SH_GITHUB_CLIENT_ID keeps that placeholder.
  3. The control plane runs at 1 replica with an id that cannot log anyone in, instead of staying at 0 replicas with the "no client id" warning.

Workaround: pass SH_GITHUB_CLIENT_ID= (empty, which clears it) or a real id.

Possible fixes:

  • Never persist the kind-ci placeholder. Apply it at render time only, when nothing is stored.
  • Or give kind-ci its own cluster name.

Activity

  1. added
    bug
    on Oct 4, 2026
  2. added a commit that references this issue on Oct 30, 2026
    3d5fed6
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions