Skip to content

Commit

Permalink
feat(config): standardize boolean value with YAML tags. Fixes numapro…
Browse files Browse the repository at this point in the history
…j#1742 (numaproj#1749)

Signed-off-by: charans29 <[email protected]>
  • Loading branch information
charans29 authored Jun 5, 2024
1 parent 71bc030 commit b26008e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/development/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
- name: out
sink:
log: {}
Expand All @@ -46,7 +46,7 @@ spec:
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
```

## Profiling
Expand Down
6 changes: 3 additions & 3 deletions examples/7-reduce-sliding-window.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ spec:
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
source:
http: {}
- name: map
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
scale:
min: 1
max: 1
Expand All @@ -44,7 +44,7 @@ spec:
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
- name: sink
scale:
min: 1
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/testdata/watermark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
- name: cat1
partitions: 2
udf:
Expand All @@ -24,15 +24,15 @@ spec:
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
- name: cat2
udf:
builtin:
name: cat # A builtin UDF which simply cats the message
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
- name: cat3
partitions: 3
udf:
Expand All @@ -41,7 +41,7 @@ spec:
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
value: !!str "true"
- name: output1
sink:
# A simple log printing sink
Expand Down
2 changes: 1 addition & 1 deletion test/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ patches:
path: /spec/template/spec/containers/0/env/-
value:
name: NUMAFLOW_DEBUG
value: "true"
value: !!str "true"
target:
kind: Deployment
name: numaflow-controller
Expand Down

0 comments on commit b26008e

Please sign in to comment.