summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--restic-crd/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/restic-crd/src/lib.rs b/restic-crd/src/lib.rs
index 2da87b4..d6305ef 100644
--- a/restic-crd/src/lib.rs
+++ b/restic-crd/src/lib.rs
@@ -18,6 +18,8 @@ use serde::{Deserialize, Serialize};
plural = "scheduled-backups",
derive = "PartialEq",
status = "ScheduledBackupStatus",
+ shortname = "rsb",
+ category = "restic",
printcolumn = r#"{"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}"#,
// printcolumn = r#"{"name": "Phase", "type": "string", "jsonPath": ".status.phase"}"#,
namespaced
@@ -60,6 +62,8 @@ pub struct ScheduledBackupStatus {
plural = "backups",
derive = "PartialEq",
status = "BackupStatus",
+ shortname = "rb",
+ category = "restic",
printcolumn = r#"{"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}"#,
printcolumn = r#"{"name": "Phase", "type": "string", "jsonPath": ".status.phase"}"#,
namespaced