Skip to content

Commit

Permalink
feat: add support for extra volume mounts for redis sentinel
Browse files Browse the repository at this point in the history
Signed-off-by: laurentiusoica <[email protected]>
  • Loading branch information
laurentiusoica committed Jun 17, 2024
1 parent 2838af4 commit fa71834
Show file tree
Hide file tree
Showing 6 changed files with 3,518 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1beta2/redissentinel_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type RedisSentinelSpec struct {
ServiceAccountName *string `json:"serviceAccountName,omitempty"`
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty" protobuf:"varint,4,opt,name=terminationGracePeriodSeconds"`
EnvVars *[]corev1.EnvVar `json:"env,omitempty"`
VolumeMount *common.AdditionalVolume `json:"volumeMount,omitempty"`
}

func (cr *RedisSentinelSpec) GetSentinelCounts(t string) int32 {
Expand Down
5 changes: 5 additions & 0 deletions api/v1beta2/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 fa71834

Please sign in to comment.