We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b84d99d + d58b97d commit a905f3cCopy full SHA for a905f3c
pkg/patterns/declarative/sort.go
@@ -36,6 +36,9 @@ func DefaultObjectOrder(ctx context.Context) func(o *manifest.Object) int {
36
case "apiextensions.k8s.io/CustomResourceDefinition":
37
return -1000
38
39
+ // Namespaces need to be created before any other resources
40
+ case "/Namespace":
41
+ return 0
42
// We need to create ServiceAccounts, Roles before we bind them with a RoleBinding
43
case "/ServiceAccount", "rbac.authorization.k8s.io/ClusterRole":
44
return 1
0 commit comments