Skip to content

Commit 6dd7543

Browse files
Damian Seredynnaimadswdn
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. Update chart versions. Signed-off-by: Damian Seredyn <[email protected]>
1 parent e23140a commit 6dd7543

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

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