From c50f04b6d024340a8f3bec0e0619fdfc6685602d Mon Sep 17 00:00:00 2001 From: Steven Miller Date: Mon, 23 Jan 2023 12:41:04 -0500 Subject: [PATCH] Configure version in 'coredb install' --- coredb-cli/src/commands/install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coredb-cli/src/commands/install.rs b/coredb-cli/src/commands/install.rs index d60c50991..15dc3b5c8 100644 --- a/coredb-cli/src/commands/install.rs +++ b/coredb-cli/src/commands/install.rs @@ -10,14 +10,14 @@ impl SubCommand for InstallCommand { let output = Command::new("kubectl") .arg("apply") .arg("-f") - .arg("https://raw.githubusercontent.com/CoreDB-io/coredb/main/coredb-operator/yaml/crd.yaml") + .arg("https://raw.githubusercontent.com/CoreDB-io/coredb/release/2023.01.23/coredb-operator/yaml/crd.yaml") .output() .expect("Failed to execute 'kubectl' command."); println!("{}", String::from_utf8_lossy(&output.stdout)); let output = Command::new("kubectl") .arg("apply") .arg("-f") - .arg("https://raw.githubusercontent.com/CoreDB-io/coredb/main/coredb-operator/yaml/install.yaml") + .arg("https://raw.githubusercontent.com/CoreDB-io/coredb/release/2023.01.23/coredb-operator/yaml/install.yaml") .output() .expect("Failed to execute 'kubectl' command."); println!("{}", String::from_utf8_lossy(&output.stdout));