Skip to content

Commit

Permalink
fix: operatorVersion is now option
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Aug 12, 2024
1 parent 0d21946 commit 50d1dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap/crds/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ resource "kubernetes_manifest" "customresourcedefinition_utxorpcports_demeter_ru
"type" = "string"
}
"operatorVersion" = {
"nullable" = true
"type" = "string"
}
"throughputTier" = {
Expand All @@ -76,7 +77,6 @@ resource "kubernetes_manifest" "customresourcedefinition_utxorpcports_demeter_ru
}
"required" = [
"network",
"operatorVersion",
]
"type" = "object"
}
Expand Down
2 changes: 1 addition & 1 deletion operator/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Context {
"#)]
#[serde(rename_all = "camelCase")]
pub struct UtxoRpcPortSpec {
pub operator_version: String,
pub operator_version: Option<String>,
pub network: String,
pub throughput_tier: Option<String>,
pub utxorpc_version: Option<String>,
Expand Down

0 comments on commit 50d1dd7

Please sign in to comment.