You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several[annotations](./annotations.md) to control how OFO works on your workload.
37
+
There are two[annotations](./annotations.md) to control how OFO works on your workload.
37
38
38
39
With the upgrade to `v1beta1`, we no longer support deprecated `openfeature.dev/featureflagconfiguration` annotation.
39
40
Workloads which require feature flagging now need to use `openfeature.dev/featureflagsource` annotation, referring a [FeatureFlagSource](./feature_flag_source.md) CRD.
41
+
This is the CRD previously named `FlagSourceConfiguration`.
40
42
41
43
```diff
42
44
annotations:
@@ -48,9 +50,11 @@ Workloads which require feature flagging now need to use `openfeature.dev/featur
48
50
`FeatureFlagSource` provide more flexibility by allowing users to configure the injected flag with many options.
49
51
Consider below example for a `FeatureFlagSource` where flagd is instructed to use `FeatureFlag` custom resource named `end-to-end` as its flag source
50
52
51
-
```yaml
52
-
apiVersion: core.openfeature.dev/v1beta1
53
-
kind: FeatureFlagSource
53
+
```diff
54
+
- apiVersion: core.openfeature.dev/v1alpha3
55
+
- kind: FlagSourceConfiguration
56
+
+ apiVersion: core.openfeature.dev/v1beta1
57
+
+ kind: FeatureFlagSource
54
58
metadata:
55
59
name: end-to-end
56
60
labels:
@@ -60,3 +64,17 @@ spec:
60
64
- source: end-to-end
61
65
provider: kubernetes
62
66
```
67
+
68
+
## Migration on helm
69
+
70
+
The new operator no longer support older API versions. Because of this, you need to plan your upgrade carefully.
71
+
72
+
We recommend following migration steps,
73
+
74
+
1. Remove all the old custom resources while running the older version of the operator
75
+
2. Update the operator to the latest version
76
+
3. Install upgraded custom resources
77
+
4. Update annotation of your workloads to the latest supported version
78
+
79
+
If you have used `flagd-proxy` provider, then you have to upgrade the image used by the `flagd-proxy` deployment.
80
+
For this, please edit the deployment of `flagd-proxy` to version [v0.3.1](https://github.com/open-feature/flagd/pkgs/container/flagd-proxy/152333134?tag=v0.3.1) or above.
0 commit comments