Skip to content

Commit 7d716a4

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 94a9516 commit 7d716a4

39 files changed

+24784
-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)