Skip to content

chore(ci): improve generate kubeconfig for nested cluster#2397

Merged
universal-itengineer merged 1 commit into
mainfrom
chore/ci/e2e-nested-improve-gen-kubeconfig
May 22, 2026
Merged

chore(ci): improve generate kubeconfig for nested cluster#2397
universal-itengineer merged 1 commit into
mainfrom
chore/ci/e2e-nested-improve-gen-kubeconfig

Conversation

@universal-itengineer
Copy link
Copy Markdown
Member

@universal-itengineer universal-itengineer commented May 22, 2026

Description

Update gen-kubeconfig.sh to search for the kubernetes-api ingress in kube-system as a fallback after d8-user-authn.

Why do we need it, and what problem does it solve?

In Deckhouse 1.76, the kubernetes-api ingress moved to the kube-system namespace. Without the fallback, kubeconfig generation for nested clusters fails on newer Deckhouse versions.

What is the expected result?

gen-kubeconfig.sh successfully generates kubeconfig on clusters where kubernetes-api ingress is located either in d8-user-authn or in kube-system.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: ci
type: chore
summary: Support Kubernetes API ingress lookup in kube-system during nested cluster kubeconfig generation.
impact_level: low

@universal-itengineer universal-itengineer added this to the v1.9.0 milestone May 22, 2026
@universal-itengineer universal-itengineer marked this pull request as ready for review May 22, 2026 13:54
@universal-itengineer universal-itengineer merged commit 79f37d4 into main May 22, 2026
31 of 34 checks passed
@universal-itengineer universal-itengineer deleted the chore/ci/e2e-nested-improve-gen-kubeconfig branch May 22, 2026 13:58
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.

2 participants