From 2b6db2058df0366f28790c194d532f1864f1a75b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 20:03:50 +0000 Subject: [PATCH 1/2] chore(deps): update open-feature/flagd --- apis/go.mod | 2 +- apis/go.sum | 2 ++ chart/open-feature-operator/values.yaml | 6 +++--- common/types/envconfig.go | 6 +++--- controllers/core/featureflagsource/controller.go | 2 +- .../chainsaw/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 +- test/e2e/chainsaw/fsconfig-flagd-proxy-sync/00-assert.yaml | 2 +- test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml | 2 +- 10 files changed, 15 insertions(+), 13 deletions(-) diff --git a/apis/go.mod b/apis/go.mod index 5872d6c25..954c9cecf 100644 --- a/apis/go.mod +++ b/apis/go.mod @@ -3,7 +3,7 @@ module github.com/open-feature/open-feature-operator/apis go 1.21 require ( - github.com/open-feature/flagd-schemas v0.2.9-0.20240527214546-61523e5efe3e + github.com/open-feature/flagd-schemas v0.2.9-0.20240708163558-2aa89b314322 github.com/stretchr/testify v1.9.0 github.com/xeipuuv/gojsonschema v1.2.0 k8s.io/api v0.28.10 diff --git a/apis/go.sum b/apis/go.sum index db9a9daab..dd456df3e 100644 --- a/apis/go.sum +++ b/apis/go.sum @@ -81,6 +81,8 @@ github.com/open-feature/flagd-schemas v0.2.9-0.20240408192555-ea4f119d2bd7 h1:oP github.com/open-feature/flagd-schemas v0.2.9-0.20240408192555-ea4f119d2bd7/go.mod h1:WKtwo1eW9/K6D+4HfgTXWBqCDzpvMhDa5eRxW7R5B2U= github.com/open-feature/flagd-schemas v0.2.9-0.20240527214546-61523e5efe3e h1:j1xFE8kIrFXf4fZtJUsR457rEG4mxsq2YCVyy92I0HU= github.com/open-feature/flagd-schemas v0.2.9-0.20240527214546-61523e5efe3e/go.mod h1:WKtwo1eW9/K6D+4HfgTXWBqCDzpvMhDa5eRxW7R5B2U= +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/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/chart/open-feature-operator/values.yaml b/chart/open-feature-operator/values.yaml index 8a6ef4002..499fe3ea0 100644 --- a/chart/open-feature-operator/values.yaml +++ b/chart/open-feature-operator/values.yaml @@ -22,7 +22,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.10.3 + tag: v0.11.1 ## @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. @@ -83,7 +83,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.2 + tag: v0.6.4 ## @param flagdProxyConfiguration.debugLogging Controls the addition of the `--debug` flag to the container startup arguments. debugLogging: false @@ -101,7 +101,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.10.3 + tag: v0.11.1 ## @param flagdConfiguration.debugLogging Controls the addition of the `--debug` flag to the container startup arguments. debugLogging: false diff --git a/common/types/envconfig.go b/common/types/envconfig.go index 2c7dae19f..09aa88ffa 100644 --- a/common/types/envconfig.go +++ b/common/types/envconfig.go @@ -5,14 +5,14 @@ type EnvConfig struct { FlagdProxyImage string `envconfig:"FLAGD_PROXY_IMAGE" default:"ghcr.io/open-feature/flagd-proxy"` FlagsValidationEnabled bool `envconfig:"FLAGS_VALIDATION_ENABLED" default:"true"` // renovate: datasource=github-tags depName=open-feature/flagd/flagd-proxy - FlagdProxyTag string `envconfig:"FLAGD_PROXY_TAG" default:"v0.6.2"` + FlagdProxyTag string `envconfig:"FLAGD_PROXY_TAG" default:"v0.6.4"` 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.10.3"` + FlagdTag string `envconfig:"FLAGD_TAG" default:"v0.11.1"` FlagdPort int `envconfig:"FLAGD_PORT" default:"8013"` FlagdOFREPPort int `envconfig:"FLAGD_OFREP_PORT" default:"8016"` FlagdSyncPort int `envconfig:"FLAGD_SYNC_PORT" default:"8015"` @@ -24,7 +24,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.10.3"` + SidecarTag string `envconfig:"SIDECAR_TAG" default:"v0.11.1"` SidecarSocketPath string `envconfig:"SIDECAR_SOCKET_PATH" default:""` SidecarEvaluator string `envconfig:"SIDECAR_EVALUATOR" default:"json"` SidecarProviderArgs string `envconfig:"SIDECAR_PROVIDER_ARGS" default:""` diff --git a/controllers/core/featureflagsource/controller.go b/controllers/core/featureflagsource/controller.go index 701cf98d8..b81e7341c 100644 --- a/controllers/core/featureflagsource/controller.go +++ b/controllers/core/featureflagsource/controller.go @@ -45,7 +45,7 @@ type FeatureFlagSourceReconciler struct { } // renovate: datasource=github-tags depName=open-feature/flagd/flagd-proxy -const flagdProxyTag = "v0.6.2" +const flagdProxyTag = "v0.6.4" //+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-ingress-custom-paths/00-assert.yaml b/test/e2e/chainsaw/flagd-with-ingress-custom-paths/00-assert.yaml index d02f9bc2f..643c2e8b0 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.10.3 + image: ghcr.io/open-feature/flagd:v0.11.1 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 de373389d..5dadf2e8b 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.10.3 + image: ghcr.io/open-feature/flagd:v0.11.1 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 0e89eff60..e2157feba 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.10.3 + image: ghcr.io/open-feature/flagd:v0.11.1 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 0e89eff60..e2157feba 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.10.3 + image: ghcr.io/open-feature/flagd:v0.11.1 diff --git a/test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml b/test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml index 4c030ecd5..d567b37a3 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.10.3 + image: ghcr.io/open-feature/flagd:v0.11.1 From 3662de09cfe3abcb80dec686c2a6706361f6566a Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Tue, 23 Jul 2024 09:18:05 -0400 Subject: [PATCH 2/2] fixup: update docs Signed-off-by: Todd Baert --- chart/open-feature-operator/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/open-feature-operator/README.md b/chart/open-feature-operator/README.md index cf78aa601..4903d5c31 100644 --- a/chart/open-feature-operator/README.md +++ b/chart/open-feature-operator/README.md @@ -108,7 +108,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.10.3` | +| `sidecarConfiguration.image.tag` | Sets the version tag for the injected sidecar. | `v0.11.1` | | `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` | @@ -143,7 +143,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.2` | +| `flagdProxyConfiguration.image.tag` | Sets the tag for the flagd-proxy deployment. | `v0.6.4` | | `flagdProxyConfiguration.debugLogging` | Controls the addition of the `--debug` flag to the container startup arguments. | `false` | ### Flagd configuration @@ -155,7 +155,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.10.3` | +| `flagdConfiguration.image.tag` | Sets the tag for the flagd deployment. | `v0.11.1` | | `flagdConfiguration.debugLogging` | Controls the addition of the `--debug` flag to the container startup arguments. | `false` | ### Operator resource configuration