Skip to content

Commit ad04934

Browse files
committed
Fix values file example
1 parent 77e65c3 commit ad04934

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

rust/stackablectl/src/args/file.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ Example values file:
6060
- key: \"example\"
6161
operator: \"Exists\"
6262
effect: \"NoSchedule\"
63-
replicas: 2
63+
podAnnotations:
64+
example.com/team: \"data-engineering\"
6465
zookeeper-operator:
6566
tolerations: *default-tolerations
66-
replicas: 3
67+
podAnnotations:
68+
example.com/team: \"platform\"
6769
6870
Use \"stackablectl [OPTIONS] <COMMAND> -f path/to/values.yaml\" to provide a
6971
values file."

rust/stackablectl/src/utils.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ pub fn use_colored_output(use_color: bool) -> bool {
6767
/// - key: "example"
6868
/// operator: "Exists"
6969
/// effect: "NoSchedule"
70-
/// replicas: 2
70+
/// podAnnotations:
71+
/// example.com/team: "data-engineering"
7172
/// zookeeper-operator:
7273
/// tolerations: *default-tolerations
73-
/// replicas: 3
74+
/// podAnnotations:
75+
/// example.com/team: "platform"
7476
/// ```
7577
pub async fn load_operator_values(
7678
values_file: Option<&PathOrUrl>,

0 commit comments

Comments
 (0)