mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Order PersistentVolume before Deployment
Solves issue https://github.com/kubernetes-sigs/kustomize/issues/202 Ordering is not being maintained for "PersistentVolume" and "PersistentVolumeClaim" which leads to the creation of "Deployment" before persistent volume leading to container crashes.
This commit is contained in:
@@ -95,6 +95,8 @@ var orderFirst = []string{
|
|||||||
"Service",
|
"Service",
|
||||||
"LimitRange",
|
"LimitRange",
|
||||||
"PriorityClass",
|
"PriorityClass",
|
||||||
|
"PersistentVolume",
|
||||||
|
"PersistentVolumeClaim",
|
||||||
"Deployment",
|
"Deployment",
|
||||||
"StatefulSet",
|
"StatefulSet",
|
||||||
"CronJob",
|
"CronJob",
|
||||||
|
|||||||
Reference in New Issue
Block a user