Skip to content

Commit 559cddc

Browse files
json to yaml
Signed-off-by: James Milligan <[email protected]>
1 parent 4585a4e commit 559cddc

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

docs/feature_flag_configuration.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@ spec:
1313
- name: FLAGD_PORT
1414
value: "8080"
1515
featureFlagSpec:
16-
"flags": {
17-
"foo": {
18-
"state": "ENABLED",
19-
"variants": {
20-
"bar": "BAR",
21-
"baz": "BAZ"
22-
},
23-
"defaultVariant": "bar"
24-
}
25-
}
16+
flags:
17+
foo:
18+
state: "ENABLED"
19+
variants:
20+
bar: "BAR"
21+
baz: "BAZ"
22+
defaultVariant: "bar"
2623
```
2724
2825
Within the CRD there are 2 main objects, namely the `flagDSpec` and the `featureFlagSpec`, both offering a different set of configuration for the injected `flagd` sidecars.

0 commit comments

Comments
 (0)