Skip to content

move command incorrectly relocates resources when a 'cluster' scope CRD is added. #877

@danjmccay

Description

@danjmccay

We deployed crossplane with aws provisioner to our jenkins X cluster. This added some custom resource definitions including:

  • deployments.apigatewayv2.aws.crossplane.io
  • secrets.secretsmanager.aws.crossplane.io
    The scope of these CRDs is 'Cluster'

During the next bootjob, the 'move' command relocated all deployments and secrets from config-root/namespaces to config-root/cluster then started pruning deployments including ingress-nginx, chartmuseum, etc.

Manually deleting the CRDs and rerunning the bootjobs restored the deployments.

Expected behaviour:
The move command should not be confused by the unrelated CRD and relocate resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions