mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
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:
committed by
GitHub
parent
83bc67c8ad
commit
ebf1efe07e
@@ -70,6 +70,7 @@ func (x Gvk) Equals(o Gvk) bool {
|
|||||||
// In some cases order just specified to provide determinism.
|
// In some cases order just specified to provide determinism.
|
||||||
var order = []string{
|
var order = []string{
|
||||||
"Namespace",
|
"Namespace",
|
||||||
|
"StorageClass",
|
||||||
"CustomResourceDefinition",
|
"CustomResourceDefinition",
|
||||||
"ServiceAccount",
|
"ServiceAccount",
|
||||||
"Role",
|
"Role",
|
||||||
|
|||||||
Reference in New Issue
Block a user