Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Apply CRDs before custom resources #1429

Merged
merged 1 commit into from Oct 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion cluster/kubernetes/sync.go
Expand Up @@ -80,7 +80,7 @@ func rankOfKind(kind string) int {
case "Namespace":
return 0
// These don't go in namespaces; or do, but don't depend on anything else
case "ServiceAccount", "ClusterRole", "Role", "PersistentVolume", "Service":
case "CustomResourceDefinition", "ServiceAccount", "ClusterRole", "Role", "PersistentVolume", "Service":
return 1
// These depend on something above, but not each other
case "ResourceQuota", "LimitRange", "Secret", "ConfigMap", "RoleBinding", "ClusterRoleBinding", "PersistentVolumeClaim", "Ingress":
Expand Down