Skip to content

feat: prepare operator, system and generator for scoped kubeconfigs#494

Merged
simontesar merged 33 commits intomainfrom
feat/prepare-for-scoped-kubeconfigs
May 7, 2026
Merged

feat: prepare operator, system and generator for scoped kubeconfigs#494
simontesar merged 33 commits intomainfrom
feat/prepare-for-scoped-kubeconfigs

Conversation

@simontesar
Copy link
Copy Markdown
Contributor

@simontesar simontesar commented Apr 21, 2026

  • Introduces a series of interfaces like KCPClientGetter to support configuring different ways of retrieving clients for subroutines shared between pods/operators
  • Configures the appropriate ways of retrieving clients for those five components of the security-operator
  • Prepares system, generator and operator for scoped kubeconfigs

On-behalf-of: @SAP <simon@simt.io>
On-behalf-of: @SAP <simon@simt.io>
On-behalf-of: @SAP <simon@simt.io>
@github-actions github-actions Bot added the fix label Apr 22, 2026
@simontesar simontesar changed the title Feat/prepare for scoped kubeconfigs feat: prepare operator, system and generator for scoped kubeconfigs Apr 22, 2026
@simontesar simontesar marked this pull request as ready for review April 24, 2026 04:06
@simontesar simontesar requested review from a team as code owners April 24, 2026 04:06
On-behalf-of: @SAP <simon@simontesar.com>
@simontesar
Copy link
Copy Markdown
Contributor Author

(Will hold merging until after the release was tagged)

On-behalf-of: @SAP <simon@simontesar.com>
On-behalf-of: @SAP <simon@simontesar.com>
philtk79
philtk79 previously approved these changes Apr 29, 2026
Copy link
Copy Markdown

@philtk79 philtk79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

makdeniss
makdeniss previously approved these changes May 6, 2026
@simontesar simontesar enabled auto-merge (squash) May 6, 2026 07:19
Comment thread cmd/initializer.go
mgrOpts.LeaderElectionConfig = inClusterCfg
}

provider, err := initializingworkspaces.New(restCfg, initializerCfg.WorkspaceTypeName,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please say which problem pathaware provider for initializer solves ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It solves the same problem the path-aware provider solves for the apiexport provider: it enables getting a cluster via the manager by path instead only by ID.

@simontesar simontesar merged commit e338aa8 into main May 7, 2026
14 checks passed
@simontesar simontesar deleted the feat/prepare-for-scoped-kubeconfigs branch May 7, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prepare for scoped kubeconfigs

4 participants