claim-migrator

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

claim-migrator

This utility is EXPERIMENTAL. Use with Caution.

Migrate Crossplane Claims from one namespace to another.

Usage

Let's say we have a claim in the src-ns namespace:

$ kubectl get claim  -A
NAMESPACE   NAME                               SYNCED   READY   CONNECTION-SECRET   AGE
src-ns      tenant.k8s.example.com/dev-teams   True     True                        10s

To migrate this claim to dest-ns run:

./claim-migrator migrate -n src-ns --dest-namespace dest-ns tenant.k8s.example.com/dev-teams

Confirm the Claim has been migrated:

kubectl get claim -A
NAMESPACE   NAME                               SYNCED   READY   CONNECTION-SECRET   AGE
dest-ns     tenant.k8s.example.com/dev-teams   True     True                        36s

Building

go build

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL