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:
Pranjal Paliwal
2020-08-04 01:09:35 +05:30
committed by GitHub
parent 17f935452f
commit 8f4e7e8072

View File

@@ -95,6 +95,8 @@ var orderFirst = []string{
"Service",
"LimitRange",
"PriorityClass",
"PersistentVolume",
"PersistentVolumeClaim",
"Deployment",
"StatefulSet",
"CronJob",