Skip to content

Commit

Permalink
Support printing cluster name where the box is
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Sep 5, 2022
1 parent 6d21b9e commit 15fe747
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kiss/api/src/box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,18 @@ use strum::{Display, EnumString};
"description":"power address of the box",
"jsonPath":".spec.power.address"
}"#,
printcolumn = r#"{
"name": "Cluster",
"type": "string",
"description":"cluster name where the box is located",
"jsonPath":".spec.cluster"
}"#,
printcolumn = r#"{
"name": "State",
"type": "string",
"description":"state of the box",
"jsonPath":".status.state"
}"#,
}"#
)]
#[serde(rename_all = "camelCase")]
pub struct BoxSpec {
Expand Down

0 comments on commit 15fe747

Please sign in to comment.