From ebf1efe07e813cef7a3e57358922e0cc13c00b2f Mon Sep 17 00:00:00 2001 From: Giuseppe Iannello Date: Tue, 13 Nov 2018 14:51:48 +0100 Subject: [PATCH] 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. --- pkg/gvk/gvk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gvk/gvk.go b/pkg/gvk/gvk.go index d9e3d44246..d4cab2f035 100644 --- a/pkg/gvk/gvk.go +++ b/pkg/gvk/gvk.go @@ -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",