Skip to content

feat(sync): simplify sync UX and add exec-plugin bootstrap support - #91

Merged
onuryilmaz merged 3 commits into
mainfrom
feat/sync-simplify-79
Nov 20, 2026
Merged

onuryilmaz merged 3 commits into
mainfrom
feat/sync-simplify-79

Conversation

@onuryilmaz

Copy link
Copy Markdown
Contributor

Summary

  • Bootstrap: adds --auth-type=exec-plugin (default) / auth-provider (legacy) support; converts OIDC auth-provider entries to exec stanzas when --data blob is used with exec-plugin; extracts defaultOIDCTokenCacheDir() helper shared between bootstrap and sync
  • Sync: zero-flag usage via kubeconfig context auto-detection; connection header with kubeconfig source, context, and namespace; full KUBECONFIG source list when multiple files are active; skipped (not-ready) clusters no longer shown in issues table; replaced summary sentence with a progress bar + inline annotation (N clusters skipped (not ready — run with --include-not-ready to force))
  • Fix: preserve existing authinfo/cluster entries for skipped and missing-authinfo contexts; fix token-cache-dir always emitted in buildKubeloginArgs

Test plan

  • make test passes
  • make e2e passes (sync and cluster-version paths)
  • Bootstrap with --auth-type=exec-plugin writes exec stanza (no auth-provider)
  • Bootstrap with --auth-type=auth-provider writes legacy format
  • Sync output shows progress bar with skipped annotation when not-ready clusters exist
  • cloudctl sync with no flags uses current kubeconfig context automatically

@onuryilmaz
onuryilmaz requested review from a team as code owners November 19, 2026 14:20
The goreleaser config produces .tar.gz archives, not bare binaries.
Update the curl command to match the actual asset naming convention
(underscores, .tar.gz) and extract via tar.

Signed-off-by: onuryilmaz <onur.yilmaz@sap.com>
Skipped (not-ready) clusters no longer appear in the issues table —
they are an expected operational state, not an error. Only failed
clusters are listed. Summary wording changes from "skipped" to
"not ready" and uses faint styling instead of yellow to avoid
a warning tone.

Signed-off-by: onuryilmaz <onur.yilmaz@sap.com>
Show sync results as a progress bar with an inline annotation instead of
a separate summary sentence. Not-ready clusters are described with a full
hint: "N clusters skipped (not ready — run with --include-not-ready to force)".

Signed-off-by: onuryilmaz <onur.yilmaz@sap.com>
@onuryilmaz
onuryilmaz force-pushed the feat/sync-simplify-79 branch from 358d56c to c51bfe8 Compare November 20, 2026 23:39
@onuryilmaz
onuryilmaz merged commit 4c9c522 into main Nov 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant