Add StorageClass to the list of ordered objects

StorageClasses can be configured as `default`, so that PVCs can use them without an explicit reference.
This change adds StorageClasses close to the beginning of the compiled output.
This commit is contained in:
Giuseppe Iannello
2018-11-13 14:51:48 +01:00
committed by GitHub
parent 83bc67c8ad
commit ebf1efe07e

View File

@@ -70,6 +70,7 @@ func (x Gvk) Equals(o Gvk) bool {
// In some cases order just specified to provide determinism.
var order = []string{
"Namespace",
"StorageClass",
"CustomResourceDefinition",
"ServiceAccount",
"Role",