Skip to content

Commit 3c0d596

Browse files
Damian SeredynDamian Seredyn
authored andcommitted
Add volumes and volumeMounts support
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. Update chart versions. Signed-off-by: Damian Seredyn <[email protected]>
1 parent f9808ec commit 3c0d596

40 files changed

+24792
-9912
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)