Skip to content

Commit

Permalink
feat(crd): allow adding custom init containers to dragonfly sts (#248)
Browse files Browse the repository at this point in the history
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
  • Loading branch information
gdsoumya authored Dec 11, 2024
1 parent 4012589 commit fb7040a
Show file tree
Hide file tree
Showing 4 changed files with 1,444 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/v1alpha1/dragonfly_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,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
7 changes: 7 additions & 0 deletions 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 fb7040a

Please sign in to comment.