Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateStorage (0.24 sec)

  1. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    	updateStorage(set, pod)
    	if !storageMatches(set, pod) {
    		t.Error("updateStorage failed to recreate volumes")
    	}
    	pod = newStatefulSetPod(set, 1)
    	for i := range pod.Spec.Volumes {
    		pod.Spec.Volumes[i].PersistentVolumeClaim = nil
    	}
    	if storageMatches(set, pod) {
    		t.Error("Pod with invalid Volumes claim valid storage")
    	}
    	updateStorage(set, pod)
    	if !storageMatches(set, pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
Back to top