Skip to content

Commit 83fbb00

Browse files
chore(deps): update open-feature/flagd (#499)
Signed-off-by: Michael Beemer <[email protected]>
1 parent ffd3e0a commit 83fbb00

File tree

15 files changed

+24
-24
lines changed

15 files changed

+24
-24
lines changed

apis/core/v1alpha1/flagsourceconfiguration_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const (
4949
defaultEvaluator string = "json"
5050
defaultImage string = "ghcr.io/open-feature/flagd"
5151
// renovate: datasource=github-tags depName=open-feature/flagd/flagd
52-
defaultTag string = "v0.5.4"
52+
defaultTag string = "v0.6.2"
5353
defaultLogFormat string = "json"
5454
defaultProbesEnabled bool = true
5555
SyncProviderKubernetes SyncProviderType = "kubernetes"

chart/open-feature-operator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The command removes all the Kubernetes components associated with the chart and
9898
| `sidecarConfiguration.metricsPort` | Sets the value of the `XXX_METRICS_PORT` environment variable for the injected sidecar. | `8014` |
9999
| `sidecarConfiguration.socketPath` | Sets the value of the `XXX_SOCKET_PATH` environment variable for the injected sidecar. | `""` |
100100
| `sidecarConfiguration.image.repository` | Sets the image for the injected sidecar. | `ghcr.io/open-feature/flagd` |
101-
| `sidecarConfiguration.image.tag` | Sets the version tag for the injected sidecar. | `v0.5.4` |
101+
| `sidecarConfiguration.image.tag` | Sets the version tag for the injected sidecar. | `v0.6.2` |
102102
| `sidecarConfiguration.providerArgs` | Used to append arguments to the sidecar startup command. This value is a comma separated string of key values separated by '=', e.g. `key=value,key2=value2` results in the appending of `--sync-provider-args key=value --sync-provider-args key2=value2`. | `""` |
103103
| `sidecarConfiguration.envVarPrefix` | Sets the prefix for all environment variables set in the injected sidecar. | `FLAGD` |
104104
| `sidecarConfiguration.defaultSyncProvider` | Sets the value of the `XXX_SYNC_PROVIDER` environment variable for the injected sidecar container. There are 3 valid sync providers: `kubernetes`, `filepath` and `http`. | `kubernetes` |
@@ -114,7 +114,7 @@ The command removes all the Kubernetes components associated with the chart and
114114
| `flagdProxyConfiguration.port` | Sets the port to expose the sync API on. | `8015` |
115115
| `flagdProxyConfiguration.metricsPort` | Sets the port to expose the metrics API on. | `8016` |
116116
| `flagdProxyConfiguration.image.repository` | Sets the image for the flagd-proxy deployment. | `ghcr.io/open-feature/flagd-proxy` |
117-
| `flagdProxyConfiguration.image.tag` | Sets the tag for the flagd-proxy deployment. | `v0.2.4` |
117+
| `flagdProxyConfiguration.image.tag` | Sets the tag for the flagd-proxy deployment. | `v0.2.7` |
118118
| `flagdProxyConfiguration.debugLogging` | Controls the addition of the `--debug` flag to the container startup arguments. | `false` |
119119

120120
### Operator resource configuration

chart/open-feature-operator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sidecarConfiguration:
1616
## @param sidecarConfiguration.image.repository Sets the image for the injected sidecar.
1717
repository: "ghcr.io/open-feature/flagd"
1818
## @param sidecarConfiguration.image.tag Sets the version tag for the injected sidecar.
19-
tag: v0.5.4
19+
tag: v0.6.2
2020
## @param sidecarConfiguration.providerArgs Used to append arguments to the sidecar startup command. This value is a comma separated string of key values separated by '=', e.g. `key=value,key2=value2` results in the appending of `--sync-provider-args key=value --sync-provider-args key2=value2`.
2121
providerArgs: ""
2222
## @param sidecarConfiguration.envVarPrefix Sets the prefix for all environment variables set in the injected sidecar.
@@ -42,7 +42,7 @@ flagdProxyConfiguration:
4242
## @param flagdProxyConfiguration.image.repository Sets the image for the flagd-proxy deployment.
4343
repository: "ghcr.io/open-feature/flagd-proxy"
4444
## @param flagdProxyConfiguration.image.tag Sets the tag for the flagd-proxy deployment.
45-
tag: v0.2.4
45+
tag: v0.2.7
4646
## @param flagdProxyConfiguration.debugLogging Controls the addition of the `--debug` flag to the container startup arguments.
4747
debugLogging: false
4848

controllers/common/flagd-proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222
FlagdProxyServiceAccountName = "open-feature-operator-flagd-proxy"
2323
FlagdProxyServiceName = "flagd-proxy-svc"
2424
// renovate: datasource=github-tags depName=open-feature/flagd/flagd-proxy
25-
DefaultFlagdProxyTag = "v0.2.2"
25+
DefaultFlagdProxyTag = "v0.2.7"
2626
DefaultFlagdProxyImage = "ghcr.io/open-feature/flagd-proxy"
2727
DefaultFlagdProxyPort = 8015
2828
DefaultFlagdProxyMetricsPort = 8016

test/e2e/flag-evaluation.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
FLAG_KEY="$1"
4-
EXPECTED_RESPONSE="$2"
4+
EXPECTED_RESPONSE_CONTAIN="$2"
55

66
# attempt up to 5 times
77
MAX_ATTEMPTS=5
@@ -23,12 +23,12 @@ do
2323
RESPONSE=$(curl -s -X POST "localhost:30000/schema.v1.Service/ResolveBoolean" -d "{\"flagKey\":\"$FLAG_KEY\",\"context\":{}}" -H "Content-Type: application/json")
2424
RESPONSE="${RESPONSE//[[:space:]]/}" # strip whitespace from response
2525

26-
if [ "$RESPONSE" == "$EXPECTED_RESPONSE" ]
26+
if [[ "$RESPONSE" == *"$EXPECTED_RESPONSE_CONTAIN"* ]]
2727
then
2828
exit 0
2929
fi
3030

31-
echo "Expected response for flag $FLAG_KEY: $EXPECTED_RESPONSE"
31+
echo "Expected response for flag $FLAG_KEY to contain: EXPECTED_RESPONSE_CONTAIN"
3232
echo "Got response for flag $FLAG_KEY: $RESPONSE"
3333
echo "Retrying in ${RETRY_INTERVAL} seconds"
3434
sleep "${RETRY_INTERVAL}"

test/e2e/kuttl/assets/manifests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ spec:
9797
- /bin/sh
9898
- -ec
9999
- |
100-
EXPECTED_RESPONSE='{"value":true,"reason":"STATIC","variant":"on"}'
100+
EXPECTED_RESPONSE_CONTAIN='"value":true,"reason":"STATIC","variant":"on"'
101101
RESPONSE=$(curl -s -X POST "open-feature-e2e-test-service:30000/schema.v1.Service/ResolveBoolean" -d '{"flagKey":"simple-flag","context":{}}' -H "Content-Type: application/json")
102102
RESPONSE="${RESPONSE//[[:space:]]/}" # strip whitespace from response
103103
104-
if [ "$RESPONSE" == "$EXPECTED_RESPONSE" ]
104+
if [[ "$RESPONSE" == *"$EXPECTED_RESPONSE_CONTAIN"* ]]
105105
then
106106
exit 0
107107
fi
108108
109-
echo "Expected response: $EXPECTED_RESPONSE"
109+
echo "Expected response to contain: $EXPECTED_RESPONSE_CONTAIN"
110110
echo "Got response: $RESPONSE"
111111
exit 1
112112
restartPolicy: OnFailure

test/e2e/kuttl/fsconfig-file-sync/00-install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
evaluator: json
99
defaultSyncProvider: filepath
1010
# renovate: datasource=github-tags depName=open-feature/flagd/flagd
11-
tag: v0.5.4
11+
tag: v0.6.2
1212
sources:
1313
- source: end-to-end-test
1414
provider: filepath

test/e2e/kuttl/fsconfig-file-sync/01-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ spec:
1313
- name: open-feature-e2e-test
1414
image: nginx:stable-alpine
1515
- name: flagd # this part verifies flagd injection happened
16-
image: ghcr.io/open-feature/flagd:v0.5.4
16+
image: ghcr.io/open-feature/flagd:v0.6.2

test/e2e/kuttl/fsconfig-flagd-proxy-sync/00-install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
evaluator: json
99
defaultSyncProvider: flagd-proxy
1010
# renovate: datasource=github-tags depName=open-feature/flagd/flagd
11-
tag: v0.5.4
11+
tag: v0.6.2
1212
sources:
1313
- source: end-to-end-test
1414
provider: flagd-proxy

test/e2e/kuttl/fsconfig-flagd-proxy-sync/01-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ spec:
1313
- name: open-feature-e2e-test
1414
image: nginx:stable-alpine
1515
- name: flagd # this part verifies flagd injection happened
16-
image: ghcr.io/open-feature/flagd:v0.5.4
16+
image: ghcr.io/open-feature/flagd:v0.6.2

0 commit comments

Comments
 (0)