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
deploy/k8s: kind and kind-ci share moca-settings, so kind keeps the kind-ci placeholder client id #429
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:
A --target kind-ci run stores the placeholder client id Iv1.k8s-smoke-unused.
A later --target kind re-run without SH_GITHUB_CLIENT_ID keeps that placeholder.
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.
Activity
fix(k8s): do not let kind inherit the kind-ci placeholder client id