Skip to content

Commit

Permalink
fix(manifests): Move metacontroller to the top in kustmization.yaml (#…
Browse files Browse the repository at this point in the history
…10669)

This is a noop for most people as they use legacy sorting in kustomize.
If however, people use fifo sorting via sortOptions in the root
kustomization.yaml, the order of resources becomes important so that
the CompositeController CRDs are deployed before the CRs.

Signed-off-by: Alexander Block <ablock84@gmail.com>
  • Loading branch information
codablock authored Jun 5, 2024
1 parent 24424ba commit 4e9fe75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../third-party/metacontroller/base
- ../../base/installs/multi-user
- ../../base/metadata/overlays/db
- ../../base/metadata/options/istio
Expand All @@ -10,7 +11,6 @@ resources:
- ../../third-party/mysql/options/istio
- ../../third-party/minio/base
- ../../third-party/minio/options/istio
- ../../third-party/metacontroller/base

# Identifier for application manager to apply ownerReference.
# The ownerReference ensures the resources get garbage collected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../third-party/metacontroller/base
- ../../base/installs/multi-user
- ../../base/metadata/base
- ../../base/metadata/options/istio
Expand All @@ -10,7 +11,6 @@ resources:
- ../../third-party/mysql/options/istio
- ../../third-party/minio/base
- ../../third-party/minio/options/istio
- ../../third-party/metacontroller/base

# Identifier for application manager to apply ownerReference.
# The ownerReference ensures the resources get garbage collected
Expand Down

0 comments on commit 4e9fe75

Please sign in to comment.