rik-org / rik

RIK is an experimental workload orchestrator that allows you to deploy your cloud applications, written in Rust.
https://rik-org.github.io/rik/
Apache License 2.0
68 stars 11 forks source link

[BUG]: no longer possible to launch workloads examples #102

Closed JeremyLARDENOIS closed 1 year ago

JeremyLARDENOIS commented 1 year ago

Description of the bug

It's no longer possible to launch workloads examples. Indeed, api_version has been replaced by apiVersion

Steps To Reproduce

  1. Launch rik
  2. Launch the workload with rikctl like in documentation

Expected behavior

The command should be a success

Actual behavior

# RIKCONFIG=docs/src/examples/config.json cargo run   --bin rikctl -- create workloads   --file docs/src/examples/workloads/workload-1.json
    Finished dev [unoptimized + debuginfo] target(s) in 0.24s
     Running `target/debug/rikctl create workloads --file docs/src/examples/workloads/workload-1.json`
Error: Failed to deserialize the workload. Details : missing field `apiVersion` at line 14 column 1

Additional Information

Please verify why there was this regression.