Skip to content

IA-2848 Fix OTC CCE kubeconfig fetch and release versioning - #2

Merged
starek4 merged 1 commit into
masterfrom
bugfix/IA-2848/fix-cce-kubeconfig-parsing
Jul 10, 2026
Merged

starek4 merged 1 commit into
masterfrom
bugfix/IA-2848/fix-cce-kubeconfig-parsing

Conversation

@starek4

@starek4 starek4 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Bump gophertelekomcloud to v0.9.8-0.20260703083050-9dec68a8dcf7, which drops the Status.Conditions field. OTC's CCE API now returns status.conditions as an array, which the old SDK modelled as a single object, breaking cluster list parsing. That failure was printed to stdout and surfaced to kcon as the misleading "externalCluster not found".

  • services/sfs: adapt to the new shares.List signature ([]Turbo, error).
  • cmd/cce config: use RunE so failures exit non-zero and go to stderr, keeping stdout reserved for the kubeconfig payload.
  • .github/workflows: fix the version ldflags package path (otc-cli/cmd.Version -> github.com/ysoftdevs/otc-cli/cmd.Version) so tagged release builds report their real version instead of "dev".

Bump gophertelekomcloud to v0.9.8-0.20260703083050-9dec68a8dcf7, which drops
the Status.Conditions field. OTC's CCE API now returns status.conditions as an
array, which the old SDK modelled as a single object, breaking cluster list
parsing. That failure was printed to stdout and surfaced to kcon as the
misleading "externalCluster not found".

- services/sfs: adapt to the new shares.List signature ([]Turbo, error).
- cmd/cce config: use RunE so failures exit non-zero and go to stderr, keeping
  stdout reserved for the kubeconfig payload.
- .github/workflows: fix the version ldflags package path
  (otc-cli/cmd.Version -> github.com/ysoftdevs/otc-cli/cmd.Version) so tagged
  release builds report their real version instead of "dev".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@starek4
starek4 requested a review from xRodney July 10, 2026 12:28
@starek4
starek4 merged commit bc54f9f into master Jul 10, 2026
7 checks passed
@starek4
starek4 deleted the bugfix/IA-2848/fix-cce-kubeconfig-parsing branch July 10, 2026 12:33
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