Skip to content

Commit

Permalink
Apply VolumeClaimTemplates to changed STSs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Bethke authored and stefanbethke committed Jul 17, 2024
1 parent 4b34f55 commit 52e5285
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public void reconcile(KubernetesClient kubernetesClient, String namespace, HasMe
new StatefulSetBuilder(r).editOrNewSpec()
.withMinReadySeconds(spec.getMinReadySeconds())
// .withPersistentVolumeClaimRetentionPolicy(spec.getPersistentVolumeClaimRetentionPolicy()) // do not use because of feature gate?
.withVolumeClaimTemplates(spec.getVolumeClaimTemplates())
.withReplicas(spec.getReplicas())
.withTemplate(spec.getTemplate())
.withUpdateStrategy(spec.getUpdateStrategy())
Expand Down

0 comments on commit 52e5285

Please sign in to comment.