Skip to content

Commit

Permalink
Configure version in 'coredb install'
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmiller609 committed Jan 23, 2023
1 parent 4c8e9d0 commit c50f04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coredb-cli/src/commands/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c50f04b

Please sign in to comment.