Skip to content

Commit a5a009b

Browse files
authored
docs: improve getting started guide (#288)
1 parent 40f5c0e commit a5a009b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/getting_started.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
variants:
2020
"bar": "BAR"
2121
"baz": "BAZ"
22-
defaultVariant: "bar",
22+
defaultVariant: "bar"
2323
targeting: {}
2424
```
2525
@@ -32,9 +32,6 @@ apiVersion: apps/v1
3232
kind: Deployment
3333
metadata:
3434
name: busybox-curl
35-
annotations:
36-
openfeature.dev/enabled: "true"
37-
openfeature.dev/featureflagconfiguration: "default/featureflagconfiguration-sample"
3835
spec:
3936
replicas: 1
4037
selector:
@@ -43,7 +40,10 @@ spec:
4340
template:
4441
metadata:
4542
labels:
46-
app: my-busybox-cur-app
43+
app: my-busybox-curl-app
44+
annotations:
45+
openfeature.dev/enabled: "true"
46+
openfeature.dev/featureflagconfiguration: "default/featureflagconfiguration-sample"
4747
spec:
4848
containers:
4949
- name: busybox
@@ -72,12 +72,12 @@ kubectl describe pod busybox-curl-7bd5767999-spf7v
7272
```
7373
```yaml
7474
flagd:
75-
Image: ghcr.io/open-feature/flagd:v0.2.5
75+
Image: ghcr.io/open-feature/flagd:v0.2.7
7676
Port: 8014/TCP
7777
Host Port: 0/TCP
7878
Args:
7979
start
80-
--uri/
80+
--uri
8181
core.openfeature.dev/default/featureflagconfiguration-sample
8282
Environment:
8383
FLAGD_METRICS_PORT: 8014
@@ -93,5 +93,5 @@ curl -X POST "localhost:8013/schema.v1.Service/ResolveString" -d '{"flagKey":"fo
9393
```
9494
output:
9595
```sh
96-
{"value":"BAR","reason":"DEFAULT","variant":"bar"}
97-
```
96+
{"value":"BAR","reason":"STATIC","variant":"bar"}
97+
```

0 commit comments

Comments
 (0)