Deliver Kubernetes Credentials to Fabriclet Container
@hardikdr ci sta già lavorando.
Dal 15/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
Following the proposal to deploy Wirelet inside a switch through the Switch object, we need a way to provide Wirelet with Kubernetes API credentials during ZTP provisioning.
Wirelet needs a kubeconfig, token, or equivalent credential inside the SONiC OS so it can register and reconcile Wire resources against the Kubernetes API.
Basic example
One possible API direction is to reuse the new Pod-style volumes and volumeMounts model:
apiVersion: sonic.networking.metal.ironcore.dev/v1alpha1
kind: Switch
metadata:
name: leaf-1
spec:
volumes:
- name: wire-control-kubeconfig
secret:
secretName: wire-control-kubeconfig
containers:
- name: wirelet
image: ghcr.io/giluerre/wirelet-sonic:latest
env:
- name: KUBECONFIG
value: /var/run/wire/kubeconfig
volumeMounts:
- name: wire-control-kubeconfig
mountPath: /var/run/wire
readOnly: true
The generated ZTP script would materialize the Secret on the switch and bind-mount it read-only into the requested container.
Another possible approach
Operator-level shared kubeconfig
Mount one restricted control-cluster kubeconfig into sonic-operator. A container explicitly opts in, and the generated ZTP script writes and mounts that credential on the switch.
This is simple for the initial lab setup, but creates a shared identity across switches.
Motivation
The motivation of this issue is to agree on the preferred credential-delivery model and define a minimal, generic API that does not make the Switch CR aware of Wirelet specifically.
- Lingua principale
- Go
- Stelle
- 5
- Fork
- 200
- Merge medio
- 1g 11h
- PR unite (30g)
- 9
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ironcore-dev/sonic-operator
-
Persist Switch Identity After ZTP InitialisationForse già presa @hardikdr l’ha presa 11 giorni fa. Apertaarea/switch-automation triage/needed
ironcore-dev/sonic-operator#194 · 1 assegnatario ·
-
area/switch-automation enhancement triage/needed
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
ironcore-dev/sonic-operator#175 ·
-
area/switch-automation enhancement triage/needed
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ironcore-dev/sonic-operator#174 · 1 commento ·
-
Validate the status of config_db.json after Redis modificationForse di nuovo libera @byteocean l’ha presa 276 giorni fa e non c’è nessuna pull request aperta. Apertaarea/switch-automation question triage/needed
ironcore-dev/sonic-operator#57 · 1 assegnatario ·
-
area/switch-automation enhancement triage/accepted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di ironcore-dev/sonic-operator
Issue simili
-
Query cache: a failed cache page read leaves the set request's read lock held, so the scan hangsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
turbot/steampipe-plugin-sdk#986 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
router-for-me/CLIProxyAPI#7307 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
betterleaks/betterleaks#460 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
openmcp-project/service-provider-crossplane#330 ·
I maintainer di solito rispondono entro 1 giorno