Skip to content

Commit

Permalink
kuberesource: use only PVC wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Jan 23, 2025
1 parent 3e0afcb commit 83d3208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/kuberesource/parts.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ func Coordinator(namespace string) *CoordinatorConfig {
),
),
).
WithVolumeClaimTemplates(applycorev1.PersistentVolumeClaim("state-device", namespace).
WithVolumeClaimTemplates(PersistentVolumeClaim("state-device", namespace).
WithSpec(applycorev1.PersistentVolumeClaimSpec().
WithVolumeMode(corev1.PersistentVolumeBlock).
WithAccessModes(corev1.ReadWriteOnce).
Expand Down
2 changes: 1 addition & 1 deletion internal/kuberesource/sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func VolumeStatefulSet() []any {
),
),
).
WithVolumeClaimTemplates(applycorev1.PersistentVolumeClaim("state", "").
WithVolumeClaimTemplates(PersistentVolumeClaim("state", "").
WithSpec(applycorev1.PersistentVolumeClaimSpec().
WithVolumeMode(corev1.PersistentVolumeBlock).
WithAccessModes(corev1.ReadWriteOnce).
Expand Down

0 comments on commit 83d3208

Please sign in to comment.