From 9eb1ca8bebe6cfc5d33a905e610ea8a908381740 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 31 Jan 2025 11:58:44 -0500 Subject: [PATCH] fix(deps): update open-feature/flagd (#736) Signed-off-by: Todd Baert Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Todd Baert --- api/go.mod | 2 +- api/go.sum | 1 + chart/open-feature-operator/README.md | 8 ++++---- chart/open-feature-operator/values.yaml | 6 +++--- go.mod | 2 +- go.sum | 2 ++ internal/common/types/envconfig.go | 6 +++--- internal/controller/core/featureflagsource/controller.go | 2 +- test/e2e/chainsaw/flagd-with-custom-ports/00-assert.yaml | 2 +- test/e2e/chainsaw/flagd-with-gateway-api/00-assert.yaml | 2 +- .../flagd-with-ingress-custom-paths/00-assert.yaml | 2 +- .../flagd-with-ingress-default-paths/00-assert.yaml | 2 +- test/e2e/chainsaw/fsconfig-file-sync/00-assert.yaml | 2 +- .../e2e/chainsaw/fsconfig-flagd-proxy-sync/00-assert.yaml | 2 +- test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml | 2 +- 15 files changed, 23 insertions(+), 20 deletions(-) diff --git a/api/go.mod b/api/go.mod index 301b58ec0..9838aa4ca 100644 --- a/api/go.mod +++ b/api/go.mod @@ -5,7 +5,7 @@ go 1.23.0 toolchain go1.23.3 require ( - github.com/open-feature/flagd-schemas v0.2.9-0.20240708163558-2aa89b314322 + github.com/open-feature/flagd-schemas v0.2.9-0.20250127221449-bb763438abc5 github.com/stretchr/testify v1.10.0 github.com/xeipuuv/gojsonschema v1.2.0 k8s.io/api v0.32.1 diff --git a/api/go.sum b/api/go.sum index ef79eb467..171960566 100644 --- a/api/go.sum +++ b/api/go.sum @@ -75,6 +75,7 @@ github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4= github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog= github.com/open-feature/flagd-schemas v0.2.9-0.20240708163558-2aa89b314322 h1:5zbNHqcZAc9jlhSrC0onuVL2RPpvYcDaNvW2wOZBfUY= github.com/open-feature/flagd-schemas v0.2.9-0.20240708163558-2aa89b314322/go.mod h1:WKtwo1eW9/K6D+4HfgTXWBqCDzpvMhDa5eRxW7R5B2U= +github.com/open-feature/flagd-schemas v0.2.9-0.20250127221449-bb763438abc5/go.mod h1:WKtwo1eW9/K6D+4HfgTXWBqCDzpvMhDa5eRxW7R5B2U= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= diff --git a/chart/open-feature-operator/README.md b/chart/open-feature-operator/README.md index 9050bcdb1..e1ad91eee 100644 --- a/chart/open-feature-operator/README.md +++ b/chart/open-feature-operator/README.md @@ -123,7 +123,7 @@ The command removes all the Kubernetes components associated with the chart and | `sidecarConfiguration.managementPort` | Sets the value of the `XXX_MANAGEMENT_PORT` environment variable for the injected sidecar. | `8014` | | `sidecarConfiguration.socketPath` | Sets the value of the `XXX_SOCKET_PATH` environment variable for the injected sidecar. | `""` | | `sidecarConfiguration.image.repository` | Sets the image for the injected sidecar. | `ghcr.io/open-feature/flagd` | -| `sidecarConfiguration.image.tag` | Sets the version tag for the injected sidecar. | `v0.11.1` | +| `sidecarConfiguration.image.tag` | Sets the version tag for the injected sidecar. | `v0.12.0` | | `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`. | `""` | | `sidecarConfiguration.envVarPrefix` | Sets the prefix for all environment variables set in the injected sidecar. | `FLAGD` | | `sidecarConfiguration.defaultSyncProvider` | Sets the value of the `XXX_SYNC_PROVIDER` environment variable for the injected sidecar container. There are 4 valid sync providers: `kubernetes`, `grpc`, `file` and `http`. | `kubernetes` | @@ -159,7 +159,7 @@ The command removes all the Kubernetes components associated with the chart and | `flagdProxyConfiguration.port` | Sets the port to expose the sync API on. | `8015` | | `flagdProxyConfiguration.managementPort` | Sets the port to expose the management API on. | `8016` | | `flagdProxyConfiguration.image.repository` | Sets the image for the flagd-proxy deployment. | `ghcr.io/open-feature/flagd-proxy` | -| `flagdProxyConfiguration.image.tag` | Sets the tag for the flagd-proxy deployment. | `v0.6.4` | +| `flagdProxyConfiguration.image.tag` | Sets the tag for the flagd-proxy deployment. | `v0.7.0` | | `flagdProxyConfiguration.debugLogging` | Controls the addition of the `--debug` flag to the container startup arguments. | `false` | ### Flagd configuration @@ -171,7 +171,7 @@ The command removes all the Kubernetes components associated with the chart and | `flagdConfiguration.syncPort` | Sets the port to expose the sync API on. | `8015` | | `flagdConfiguration.managementPort` | Sets the port to expose the management API on. | `8014` | | `flagdConfiguration.image.repository` | Sets the image for the flagd deployment. | `ghcr.io/open-feature/flagd` | -| `flagdConfiguration.image.tag` | Sets the tag for the flagd deployment. | `v0.11.1` | +| `flagdConfiguration.image.tag` | Sets the tag for the flagd deployment. | `v0.12.0` | | `flagdConfiguration.debugLogging` | Controls the addition of the `--debug` flag to the container startup arguments. | `false` | ### Operator resource configuration @@ -185,7 +185,7 @@ The command removes all the Kubernetes components associated with the chart and | `controllerManager.kubeRbacProxy.resources.requests.cpu` | Sets cpu resource requests for kube-rbac-proxy. | `5m` | | `controllerManager.kubeRbacProxy.resources.requests.memory` | Sets memory resource requests for kube-rbac-proxy. | `64Mi` | | `controllerManager.manager.image.repository` | Sets the image for the operator. | `ghcr.io/open-feature/open-feature-operator` | -| `controllerManager.manager.image.tag` | Sets the version tag for the operator. | `v0.8.1` | +| `controllerManager.manager.image.tag` | Sets the version tag for the operator. | `v0.8.4` | | `controllerManager.manager.resources.limits.cpu` | Sets cpu resource limits for operator. | `500m` | | `controllerManager.manager.resources.limits.memory` | Sets memory resource limits for operator. | `128Mi` | | `controllerManager.manager.resources.requests.cpu` | Sets cpu resource requests for operator. | `10m` | diff --git a/chart/open-feature-operator/values.yaml b/chart/open-feature-operator/values.yaml index 3e021ca3d..d967dc2bc 100644 --- a/chart/open-feature-operator/values.yaml +++ b/chart/open-feature-operator/values.yaml @@ -37,7 +37,7 @@ sidecarConfiguration: ## @param sidecarConfiguration.image.repository Sets the image for the injected sidecar. repository: "ghcr.io/open-feature/flagd" ## @param sidecarConfiguration.image.tag Sets the version tag for the injected sidecar. - tag: v0.11.1 + tag: v0.12.0 ## @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`. providerArgs: "" ## @param sidecarConfiguration.envVarPrefix Sets the prefix for all environment variables set in the injected sidecar. @@ -100,7 +100,7 @@ flagdProxyConfiguration: ## @param flagdProxyConfiguration.image.repository Sets the image for the flagd-proxy deployment. repository: "ghcr.io/open-feature/flagd-proxy" ## @param flagdProxyConfiguration.image.tag Sets the tag for the flagd-proxy deployment. - tag: v0.6.4 + tag: v0.7.0 ## @param flagdProxyConfiguration.debugLogging Controls the addition of the `--debug` flag to the container startup arguments. debugLogging: false @@ -118,7 +118,7 @@ flagdConfiguration: ## @param flagdConfiguration.image.repository Sets the image for the flagd deployment. repository: "ghcr.io/open-feature/flagd" ## @param flagdConfiguration.image.tag Sets the tag for the flagd deployment. - tag: v0.11.1 + tag: v0.12.0 ## @param flagdConfiguration.debugLogging Controls the addition of the `--debug` flag to the container startup arguments. debugLogging: false diff --git a/go.mod b/go.mod index 806bbff69..08ab5a5ab 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/go-logr/logr v1.4.2 github.com/golang/mock v1.6.0 github.com/kelseyhightower/envconfig v1.4.0 - github.com/open-feature/flagd-schemas v0.2.9-0.20240708163558-2aa89b314322 + github.com/open-feature/flagd-schemas v0.2.9-0.20250127221449-bb763438abc5 github.com/open-feature/open-feature-operator/apis v0.2.45 github.com/stretchr/testify v1.10.0 github.com/xeipuuv/gojsonschema v1.2.0 diff --git a/go.sum b/go.sum index 95face8ca..1b81fd0a8 100644 --- a/go.sum +++ b/go.sum @@ -101,6 +101,8 @@ github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4= github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog= github.com/open-feature/flagd-schemas v0.2.9-0.20240708163558-2aa89b314322 h1:5zbNHqcZAc9jlhSrC0onuVL2RPpvYcDaNvW2wOZBfUY= github.com/open-feature/flagd-schemas v0.2.9-0.20240708163558-2aa89b314322/go.mod h1:WKtwo1eW9/K6D+4HfgTXWBqCDzpvMhDa5eRxW7R5B2U= +github.com/open-feature/flagd-schemas v0.2.9-0.20250127221449-bb763438abc5 h1:0RKCLYeQpvSsKR95kc894tm8GAZmq7bcG48v0KJ0HCs= +github.com/open-feature/flagd-schemas v0.2.9-0.20250127221449-bb763438abc5/go.mod h1:WKtwo1eW9/K6D+4HfgTXWBqCDzpvMhDa5eRxW7R5B2U= github.com/open-feature/open-feature-operator/apis v0.2.45 h1:URnUf22ZoAx7/W8ek8dXCBYgY8FmnFEuEOSDLROQafY= github.com/open-feature/open-feature-operator/apis v0.2.45/go.mod h1:PYh/Hfyna1lZYZUeu/8LM0qh0ZgpH7kKEXRLYaaRhGs= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= diff --git a/internal/common/types/envconfig.go b/internal/common/types/envconfig.go index c2c4231fa..f9b5be51b 100644 --- a/internal/common/types/envconfig.go +++ b/internal/common/types/envconfig.go @@ -6,14 +6,14 @@ type EnvConfig struct { FlagsValidationEnabled bool `envconfig:"FLAGS_VALIDATION_ENABLED" default:"true"` FlagdProxyReplicaCount int `envconfig:"FLAGD_PROXY_REPLICA_COUNT" default:"1"` // renovate: datasource=github-tags depName=open-feature/flagd/flagd-proxy - FlagdProxyTag string `envconfig:"FLAGD_PROXY_TAG" default:"v0.6.4"` + FlagdProxyTag string `envconfig:"FLAGD_PROXY_TAG" default:"v0.7.0"` FlagdProxyPort int `envconfig:"FLAGD_PROXY_PORT" default:"8015"` FlagdProxyManagementPort int `envconfig:"FLAGD_PROXY_MANAGEMENT_PORT" default:"8016"` FlagdProxyDebugLogging bool `envconfig:"FLAGD_PROXY_DEBUG_LOGGING" default:"false"` FlagdImage string `envconfig:"FLAGD_IMAGE" default:"ghcr.io/open-feature/flagd"` // renovate: datasource=github-tags depName=open-feature/flagd/flagd - FlagdTag string `envconfig:"FLAGD_TAG" default:"v0.11.1"` + FlagdTag string `envconfig:"FLAGD_TAG" default:"v0.12.0"` FlagdPort int `envconfig:"FLAGD_PORT" default:"8013"` FlagdOFREPPort int `envconfig:"FLAGD_OFREP_PORT" default:"8016"` FlagdSyncPort int `envconfig:"FLAGD_SYNC_PORT" default:"8015"` @@ -25,7 +25,7 @@ type EnvConfig struct { SidecarPort int `envconfig:"SIDECAR_PORT" default:"8013"` SidecarImage string `envconfig:"SIDECAR_IMAGE" default:"ghcr.io/open-feature/flagd"` // renovate: datasource=github-tags depName=open-feature/flagd/flagd - SidecarTag string `envconfig:"SIDECAR_TAG" default:"v0.11.1"` + SidecarTag string `envconfig:"SIDECAR_TAG" default:"v0.12.0"` SidecarSocketPath string `envconfig:"SIDECAR_SOCKET_PATH" default:""` SidecarEvaluator string `envconfig:"SIDECAR_EVALUATOR" default:"json"` SidecarProviderArgs string `envconfig:"SIDECAR_PROVIDER_ARGS" default:""` diff --git a/internal/controller/core/featureflagsource/controller.go b/internal/controller/core/featureflagsource/controller.go index 13be51fc1..a3b54248e 100644 --- a/internal/controller/core/featureflagsource/controller.go +++ b/internal/controller/core/featureflagsource/controller.go @@ -50,7 +50,7 @@ type FeatureFlagSourceReconciler struct { } // renovate: datasource=github-tags depName=open-feature/flagd/flagd-proxy -const flagdProxyTag = "v0.6.4" +const flagdProxyTag = "v0.7.0" //+kubebuilder:rbac:groups=core.openfeature.dev,resources=featureflagsources,verbs=get;list;watch;create;update;patch;delete //+kubebuilder:rbac:groups=core.openfeature.dev,resources=featureflagsources/status,verbs=get;update;patch diff --git a/test/e2e/chainsaw/flagd-with-custom-ports/00-assert.yaml b/test/e2e/chainsaw/flagd-with-custom-ports/00-assert.yaml index be38eaf0e..cec9b7078 100644 --- a/test/e2e/chainsaw/flagd-with-custom-ports/00-assert.yaml +++ b/test/e2e/chainsaw/flagd-with-custom-ports/00-assert.yaml @@ -26,7 +26,7 @@ spec: containers: - name: flagd # renovate: datasource=github-tags depName=open-feature/flagd/flagd - image: ghcr.io/open-feature/flagd:v0.11.1 + image: ghcr.io/open-feature/flagd:v0.12.0 ports: - containerPort: 8014 name: management diff --git a/test/e2e/chainsaw/flagd-with-gateway-api/00-assert.yaml b/test/e2e/chainsaw/flagd-with-gateway-api/00-assert.yaml index 9666ff885..0d183a2a6 100644 --- a/test/e2e/chainsaw/flagd-with-gateway-api/00-assert.yaml +++ b/test/e2e/chainsaw/flagd-with-gateway-api/00-assert.yaml @@ -26,7 +26,7 @@ spec: containers: - name: flagd # renovate: datasource=github-tags depName=open-feature/flagd/flagd - image: ghcr.io/open-feature/flagd:v0.11.1 + image: ghcr.io/open-feature/flagd:v0.12.0 ports: - containerPort: 8014 name: management diff --git a/test/e2e/chainsaw/flagd-with-ingress-custom-paths/00-assert.yaml b/test/e2e/chainsaw/flagd-with-ingress-custom-paths/00-assert.yaml index 643c2e8b0..634def380 100644 --- a/test/e2e/chainsaw/flagd-with-ingress-custom-paths/00-assert.yaml +++ b/test/e2e/chainsaw/flagd-with-ingress-custom-paths/00-assert.yaml @@ -26,7 +26,7 @@ spec: containers: - name: flagd # renovate: datasource=github-tags depName=open-feature/flagd/flagd - image: ghcr.io/open-feature/flagd:v0.11.1 + image: ghcr.io/open-feature/flagd:v0.12.0 ports: - containerPort: 8014 name: management diff --git a/test/e2e/chainsaw/flagd-with-ingress-default-paths/00-assert.yaml b/test/e2e/chainsaw/flagd-with-ingress-default-paths/00-assert.yaml index 5dadf2e8b..4e43b0dee 100644 --- a/test/e2e/chainsaw/flagd-with-ingress-default-paths/00-assert.yaml +++ b/test/e2e/chainsaw/flagd-with-ingress-default-paths/00-assert.yaml @@ -26,7 +26,7 @@ spec: containers: - name: flagd # renovate: datasource=github-tags depName=open-feature/flagd/flagd - image: ghcr.io/open-feature/flagd:v0.11.1 + image: ghcr.io/open-feature/flagd:v0.12.0 ports: - containerPort: 8014 name: management diff --git a/test/e2e/chainsaw/fsconfig-file-sync/00-assert.yaml b/test/e2e/chainsaw/fsconfig-file-sync/00-assert.yaml index e2157feba..f0c5463bc 100644 --- a/test/e2e/chainsaw/fsconfig-file-sync/00-assert.yaml +++ b/test/e2e/chainsaw/fsconfig-file-sync/00-assert.yaml @@ -13,4 +13,4 @@ spec: - name: open-feature-e2e-test image: nginx:stable-alpine - name: flagd # this part verifies flagd injection happened - image: ghcr.io/open-feature/flagd:v0.11.1 + image: ghcr.io/open-feature/flagd:v0.12.0 diff --git a/test/e2e/chainsaw/fsconfig-flagd-proxy-sync/00-assert.yaml b/test/e2e/chainsaw/fsconfig-flagd-proxy-sync/00-assert.yaml index e2157feba..f0c5463bc 100644 --- a/test/e2e/chainsaw/fsconfig-flagd-proxy-sync/00-assert.yaml +++ b/test/e2e/chainsaw/fsconfig-flagd-proxy-sync/00-assert.yaml @@ -13,4 +13,4 @@ spec: - name: open-feature-e2e-test image: nginx:stable-alpine - name: flagd # this part verifies flagd injection happened - image: ghcr.io/open-feature/flagd:v0.11.1 + image: ghcr.io/open-feature/flagd:v0.12.0 diff --git a/test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml b/test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml index d567b37a3..89241873f 100644 --- a/test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml +++ b/test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml @@ -14,4 +14,4 @@ spec: - name: open-feature-e2e-test image: nginx:stable-alpine - name: flagd # this part verifies flagd injection happened - image: ghcr.io/open-feature/flagd:v0.11.1 + image: ghcr.io/open-feature/flagd:v0.12.0