Skip to content

Draft: user kubeconfig server & cluster ca dynamic fact - #2

Closed
simu wants to merge 34 commits into
masterfrom
tmp/user-kubeconfig
Closed

simu wants to merge 34 commits into
masterfrom
tmp/user-kubeconfig

Conversation

@simu

@simu simu commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

TODO

  • move this to capi-core component?
  • figure out how to suppress the diff in the user-kubeconfig deployment for the config hash annotation managed by Espejote (can we just switch to SSA?)

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Update the documentation.
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

simu added 22 commits June 18, 2026 16:28
Also adjust machinetemplate reference for v1beta1

Needs siderolabs/cluster-api-control-plane-provider-talos#251 or equivalent.
Update component defaults and rewrite non-prefixed versions.
TODO: figture out if/how we want to allow users to adjust the patches.
This field is required for Tuppr to be able to perform upgrades.
We default to patch version `0` for `install.image` in the
MachineConfig. This should be unproblematic since the field only needs
to be present in order for Tuppr to be able to determine the base image
for upgrades and the whole `install` section has no effect on machines
created from the OpenStack raw base image.
…figuration`

Tested that this config works on Talos 1.13. Note that on Talos 1.14 we
should get a real MachineConfiguration field for
`AuthenticationConfiguration`.

We can't write to one of the already mounted directories of the K8s API
server pods, so we write our config file to
`/var/config/kubernetes/kube-apiserver` and mount that directory in the
API server pods.
@simu
simu force-pushed the tmp/user-kubeconfig branch 7 times, most recently from af95a87 to b90b635 Compare August 12, 2026 11:55
CAPI auto-generates the selector and when switching to server-side apply
we can't have an explicit `matchLabels: null` anymore.
@simu
simu force-pushed the tmp/user-kubeconfig branch from 70d7541 to 300fcf3 Compare August 13, 2026 07:09
@simu
simu force-pushed the initial-implementation branch from ccb535c to 8c94468 Compare August 13, 2026 07:19
@simu
simu force-pushed the tmp/user-kubeconfig branch 4 times, most recently from d3d9192 to b75da31 Compare August 14, 2026 11:39
@simu
simu force-pushed the tmp/user-kubeconfig branch from b75da31 to 84dd5f7 Compare August 14, 2026 11:40
@simu

simu commented Sep 16, 2026

Copy link
Copy Markdown
Member Author

user-kubeconfig server moved to capi-core. TBD what we do with the CA dynamic fact.

Base automatically changed from initial-implementation to master September 17, 2026 18:24
@simu

simu commented Sep 29, 2026

Copy link
Copy Markdown
Member Author

CA dynfact now in projectsyn/component-capi-provider-talos#12 so we don't need this draft PR anymore.

@simu simu closed this Sep 29, 2026
@simu
simu deleted the tmp/user-kubeconfig branch September 29, 2026 13:30
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