add pvc storage to LimitRange

This commit is contained in:
markturansky
2016-08-15 10:19:15 -04:00
parent bd3664cbef
commit 0d40104c1d
8 changed files with 289 additions and 117 deletions

View File

@@ -123,6 +123,7 @@ func IsStandardContainerResourceName(str string) bool {
var standardLimitRangeTypes = sets.NewString(
string(LimitTypePod),
string(LimitTypeContainer),
string(LimitTypePersistentVolumeClaim),
)
// IsStandardLimitRangeType returns true if the type is Pod or Container