Skip to content

Commit

Permalink
Fix in patch op
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>
  • Loading branch information
duckhawk committed Aug 9, 2024
1 parent fae6b75 commit 8e6fc46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/webhooks/src/handlers/lscValidator.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func LSCValidate(ctx context.Context, _ *model.AdmissionReview, obj metav1.Objec
klog.Info("Enabling thin pools support")
patchBytes, err := json.Marshal(map[string]interface{}{
"spec": map[string]interface{}{
"version": 1,
"settings": map[string]interface{}{
"enableThinProvisioning": true,
},
Expand Down

0 comments on commit 8e6fc46

Please sign in to comment.