diff --git a/Cargo.lock b/Cargo.lock index a6e21e8..1ea7651 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1477,7 +1477,7 @@ dependencies = [ [[package]] name = "operator" -version = "0.1.0" +version = "0.1.1" dependencies = [ "actix-web", "argon2", diff --git a/operator/Cargo.toml b/operator/Cargo.toml index dff25ec..f71487d 100644 --- a/operator/Cargo.toml +++ b/operator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "operator" -version = "0.1.0" +version = "0.1.1" edition = "2021" default-run = "controller" diff --git a/operator/src/controller.rs b/operator/src/controller.rs index bbba041..d345962 100644 --- a/operator/src/controller.rs +++ b/operator/src/controller.rs @@ -29,11 +29,14 @@ pub static OGMIOS_PORT_FINALIZER: &str = "ogmiosports.demeter.run"; {"name": "Endpoint URL", "jsonPath": ".status.endpointUrl", "type": "string"}, {"name": "Authenticated Endpoint URL", "jsonPath": ".status.authenticatedEndpointUrl", "type": "string"}, {"name": "Auth Token", "jsonPath": ".status.authToken", "type": "string"} + {"name": "Throughput Tier", "jsonPath":".spec.throughputTier", "type": "string"}, "#)] #[serde(rename_all = "camelCase")] pub struct OgmiosPortSpec { pub network: Network, pub version: u8, + // throughput should be 0, 1, 2 + pub throughput_tier: String, } #[derive(Deserialize, Serialize, Clone, Default, Debug, JsonSchema)]