Skip to content

Commit

Permalink
feat: allow adding custom init containers to dragonfly sts
Browse files Browse the repository at this point in the history
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
  • Loading branch information
gdsoumya committed Oct 11, 2024
1 parent a738101 commit 59df81d
Show file tree
Hide file tree
Showing 6 changed files with 4,301 additions and 1 deletion.
5 changes: 5 additions & 0 deletions api/v1alpha1/dragonfly_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ type DragonflySpec struct {
// +optional
// +kubebuilder:validation:Optional
ServiceSpec *ServiceSpec `json:"serviceSpec,omitempty"`

// (Optional) Dragonfly pod init containers
// +optional
// +kubebuilder:validation:Optional
InitContainers []corev1.Container `json:"initContainers,omitempty"`
}

type ServiceSpec struct {
Expand Down
9 changes: 8 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 59df81d

Please sign in to comment.