Skip to content

Commit

Permalink
Merge pull request #135 from cardano-scaling/feat/add-snapshot-col
Browse files Browse the repository at this point in the history
feat: add snapshot col to k8s
  • Loading branch information
scarmuega authored Dec 8, 2024
2 parents bf523f7 + 5be2aba commit d12d6a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bootstrap/stage1/crd.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ resource "kubernetes_manifest" "customresourcedefinition_hydradoomnodes_hydra_do
"name" = "Game State"
"type" = "string"
},
{
"jsonPath" = ".spec.snapshot"
"name" = "Snapshot"
"type" = "string"
},
{
"jsonPath" = ".status.localUrl"
"name" = "Local URI"
Expand Down
1 change: 1 addition & 0 deletions crates/operator/src/custom_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ impl From<Resources> for ResourceRequirements {
#[kube(printcolumn = r#"
{"name": "Node State", "jsonPath":".status.nodeState", "type": "string"},
{"name": "Game State", "jsonPath":".status.gameState", "type": "string"},
{"name": "Snapshot", "jsonPath":".spec.snapshot", "type": "string"},
{"name": "Local URI", "jsonPath":".status.localUrl", "type": "string"},
{"name": "External URI", "jsonPath": ".status.externalUrl", "type": "string"}
"#)]
Expand Down

0 comments on commit d12d6a5

Please sign in to comment.