```const rancherCluster = new rancher2.Cluster(nam...
# typescript
i
Copy code
const rancherCluster = new rancher2.Cluster(name, {
    name: name,
    description: "Imported Cluster for Airflow (" + name + ")",
    driver: "imported",
    enableClusterAlerting: true,
    enableClusterIstio: true,
    enableClusterMonitoring: true,
});

const rancherClusterImport = new k8s.yaml.ConfigFile(name + "-import", {
        file: rancherCluster.clusterRegistrationToken.manifestUrl,
    }, {
        provider: cluster.provider,
        dependsOn: [cluster, rancherCluster]
    });
});