Skip to content

Commit 07799bf

Browse files
Damian SeredynDamian Seredyn
authored andcommitted
feat: Add support for volumes and volumeMounts
Add support for volumes and volumeMounts. Cover the changes with the tests. Update helm charts with the Volumes and VolumeMounts options. Add missing helm chart support for persistentVolumeClaimRetentionPolicy. Signed-off-by: Damian Seredyn <[email protected]>
1 parent 66eaa2d commit 07799bf

38 files changed

+24840
-9902
lines changed

api/common/v1beta2/common_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ type KubernetesConfig struct {
1515
ImagePullSecrets *[]corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
1616
UpdateStrategy appsv1.StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"`
1717
PersistentVolumeClaimRetentionPolicy *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy `json:"persistentVolumeClaimRetentionPolicy,omitempty"`
18+
AdditionalVolumes []corev1.Volume `json:"additionalVolumes,omitempty"`
19+
AdditionalVolumeMounts []corev1.VolumeMount `json:"additionalVolumeMounts,omitempty"`
1820
Service *ServiceConfig `json:"service,omitempty"`
1921
IgnoreAnnotations []string `json:"ignoreAnnotations,omitempty"`
2022
MinReadySeconds *int32 `json:"minReadySeconds,omitempty"`

0 commit comments

Comments
 (0)