Skip to content

Commit

Permalink
Add StorageClass to the list of ordered objects
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
giannello committed Nov 13, 2018
1 parent 83bc67c commit ebf1efe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gvk/gvk.go
Expand Up @@ -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",
Expand Down

0 comments on commit ebf1efe

Please sign in to comment.