Skip to content

feat: add initContainers support to RisingWaveNodePodTemplateSpec#988

Open
stex-docto wants to merge 1 commit intorisingwavelabs:mainfrom
stex-docto:feat/add-init-containers-support
Open

feat: add initContainers support to RisingWaveNodePodTemplateSpec#988
stex-docto wants to merge 1 commit intorisingwavelabs:mainfrom
stex-docto:feat/add-init-containers-support

Conversation

@stex-docto
Copy link

What's changed and what's your intention?

This PR adds standard Kubernetes initContainers support to RisingWaveNodePodTemplateSpec.

Summary:

  • Add InitContainers []corev1.Container field to RisingWaveNodePodTemplateSpec struct
  • Wire the field through to the PodSpec in the object factory
  • Regenerate deepcopy functions, CRD manifests, and API documentation

How it works:

  • Follows the exact same pattern as the existing AdditionalContainers field
  • Uses standard corev1.Container type from Kubernetes API
  • Init containers are passed directly to the PodSpec's InitContainers field

Why it's needed:

  • Init containers are a standard Kubernetes feature for running setup tasks before main containers start
  • Common use cases: waiting for dependencies, initializing volumes, running migrations, etc.

Checklist

  • I have written the necessary docs and comments
  • I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

N/A

@stex-docto stex-docto requested a review from a team as a code owner February 25, 2026 09:40
@stex-docto stex-docto force-pushed the feat/add-init-containers-support branch from 37b764e to 8824070 Compare February 25, 2026 13:02
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