Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danjmccay opened this issue Aug 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@danjmccay
Copy link

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.

@ashiskumarnaik
Copy link

Hi, @danjmccay can you add the file url where the changes needed to be made , It will help me proceeding through the issue.

@msvticket msvticket added the bug Something isn't working label Oct 6, 2022
@danjmccay
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants