Skip to content

Extend API to Bootstrap Containers inside Switch - #177

Merged
hardikdr merged 4 commits into
ironcore-dev:mainfrom
hardikdr:feat/bootstrap-credentials-switch
Sep 28, 2026
Merged

hardikdr merged 4 commits into
ironcore-dev:mainfrom
hardikdr:feat/bootstrap-credentials-switch

Conversation

@hardikdr

@hardikdr hardikdr commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Proposed Changes

  • add a generated ZTP mode that renders bootstrap configuration from the Switch spec
  • support hostname, boot mode, containers, volumes, and control kubeconfig injection
  • render the generated ZTP script using an embedded Go template
  • keep existing template and ConfigMap ZTP modes unchanged

Fixes #

Signed-off-by: Hardik Dodiya <hardik.dodiya@sap.com>
Signed-off-by: Hardik Dodiya <hardik.dodiya@sap.com>
@github-actions github-actions Bot added api-change documentation Improvements or additions to documentation labels Sep 15, 2026
@hardikdr hardikdr linked an issue Sep 15, 2026 that may be closed by this pull request
@hardikdr hardikdr moved this from Todo to In Progress in Fabric Automation Sep 15, 2026
@hardikdr hardikdr self-assigned this Sep 15, 2026
@hardikdr hardikdr moved this from In Progress to Needs Review in Fabric Automation Sep 15, 2026
@hardikdr
hardikdr marked this pull request as ready for review September 15, 2026 10:27
@hardikdr
hardikdr requested a review from a team as a code owner September 15, 2026 10:27
Signed-off-by: Hardik Dodiya <hardik.dodiya@sap.com>
@hardikdr
hardikdr force-pushed the feat/bootstrap-credentials-switch branch from 3f09fb0 to 1e0b1d1 Compare September 15, 2026 12:31
@hardikdr hardikdr added the area/switch-automation Automation processes for network switch management and operations. label Sep 15, 2026
@hardikdr hardikdr linked an issue Sep 16, 2026 that may be closed by this pull request
@hardikdr
hardikdr requested a review from byteocean September 17, 2026 10:50
@hardikdr hardikdr assigned Giluerre and unassigned Giluerre Sep 17, 2026
@hardikdr
hardikdr requested a review from Giluerre September 17, 2026 10:51
Comment thread api/v1alpha1/switch_types.go Resolved
Comment thread internal/ztp/generated_mode.go Resolved
Signed-off-by: Hardik Dodiya <hardik.dodiya@sap.com>

@byteocean byteocean left a comment

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.

LGTM, Thanks

@hardikdr
hardikdr merged commit 96b3088 into ironcore-dev:main Sep 28, 2026
10 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Roadmap Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-change area/switch-automation Automation processes for network switch management and operations. documentation Improvements or additions to documentation

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

Support Generating ZTP from Switch Spec Enhance switch agent to reboot into ONIE install mode

3 participants