Commit Graph

4 Commits

Author SHA1 Message Date
Roman Bednar
731068288e correct storage class selection message
The function does not necessarily choose class based on the creation
timestamp but can also pick alphabetically first if the timestamps are
equal. The info message should not say it's choosing the newest because
it is misleading.
2023-04-03 11:27:59 +02:00
danishprakash
f10f4d372c
pv_controller: update tests for multiple storageclasses
Signed-off-by: danishprakash <grafitykoncept@gmail.com>
2022-10-19 09:33:44 +05:30
danishprakash
f12325add3
pkg/admission/storageclass: pick random storageclass if >1 present
Signed-off-by: danishprakash <grafitykoncept@gmail.com>
2022-10-19 09:30:48 +05:30
Roman Bednar
42b24b7baf move storage class helpers to utils 2022-08-02 20:52:04 +02:00