Skip to content

Commit

Permalink
chore(deps): update open-feature/flagd (#670)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Todd Baert <[email protected]>
  • Loading branch information
renovate[bot] and toddbaert authored Jun 6, 2024
1 parent 499661e commit 1174a1b
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion apis/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.20240408192555-ea4f119d2bd7
github.com/open-feature/flagd-schemas v0.2.9-0.20240527214546-61523e5efe3e
github.com/stretchr/testify v1.8.4
github.com/xeipuuv/gojsonschema v1.2.0
k8s.io/api v0.28.10
Expand Down
2 changes: 2 additions & 0 deletions apis/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI=
github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M=
github.com/open-feature/flagd-schemas v0.2.9-0.20240408192555-ea4f119d2bd7 h1:oP+BH8RiNEmSWTffKEXz2ciwen7wbvyX0fESx0aoJ80=
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/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=
Expand Down
6 changes: 3 additions & 3 deletions chart/open-feature-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,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.9.0` |
| `sidecarConfiguration.image.tag` | Sets the version tag for the injected sidecar. | `v0.10.3` |
| `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` |
Expand Down Expand Up @@ -141,7 +141,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.5.0` |
| `flagdProxyConfiguration.image.tag` | Sets the tag for the flagd-proxy deployment. | `v0.6.2` |
| `flagdProxyConfiguration.debugLogging` | Controls the addition of the `--debug` flag to the container startup arguments. | `false` |

### Flagd configuration
Expand All @@ -153,7 +153,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.1` |
| `flagdConfiguration.image.tag` | Sets the tag for the flagd deployment. | `v0.10.3` |
| `flagdConfiguration.debugLogging` | Controls the addition of the `--debug` flag to the container startup arguments. | `false` |

### Operator resource configuration
Expand Down
6 changes: 3 additions & 3 deletions chart/open-feature-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.9.0
tag: v0.10.3
## @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.
Expand Down Expand Up @@ -79,7 +79,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.5.0
tag: v0.6.2
## @param flagdProxyConfiguration.debugLogging Controls the addition of the `--debug` flag to the container startup arguments.
debugLogging: false

Expand All @@ -97,7 +97,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.1
tag: v0.10.3
## @param flagdConfiguration.debugLogging Controls the addition of the `--debug` flag to the container startup arguments.
debugLogging: false

Expand Down
6 changes: 3 additions & 3 deletions common/types/envconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.0"`
FlagdProxyTag string `envconfig:"FLAGD_PROXY_TAG" default:"v0.6.2"`
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.1"`
FlagdTag string `envconfig:"FLAGD_TAG" default:"v0.10.3"`
FlagdPort int `envconfig:"FLAGD_PORT" default:"8013"`
FlagdOFREPPort int `envconfig:"FLAGD_OFREP_PORT" default:"8016"`
FlagdSyncPort int `envconfig:"FLAGD_SYNC_PORT" default:"8015"`
Expand All @@ -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.9.0"`
SidecarTag string `envconfig:"SIDECAR_TAG" default:"v0.10.3"`
SidecarSocketPath string `envconfig:"SIDECAR_SOCKET_PATH" default:""`
SidecarEvaluator string `envconfig:"SIDECAR_EVALUATOR" default:"json"`
SidecarProviderArgs string `envconfig:"SIDECAR_PROVIDER_ARGS" default:""`
Expand Down
2 changes: 1 addition & 1 deletion controllers/core/featureflagsource/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type FeatureFlagSourceReconciler struct {
}

// renovate: datasource=github-tags depName=open-feature/flagd/flagd-proxy
const flagdProxyTag = "v0.5.0"
const flagdProxyTag = "v0.6.2"

//+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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
image: ghcr.io/open-feature/flagd:v0.10.3
ports:
- containerPort: 8014
name: management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
image: ghcr.io/open-feature/flagd:v0.10.3
ports:
- containerPort: 8014
name: management
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/chainsaw/fsconfig-file-sync/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.0
image: ghcr.io/open-feature/flagd:v0.10.3
2 changes: 1 addition & 1 deletion test/e2e/chainsaw/fsconfig-flagd-proxy-sync/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.0
image: ghcr.io/open-feature/flagd:v0.10.3
2 changes: 1 addition & 1 deletion test/e2e/chainsaw/fsconfig-k8s-sync/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.0
image: ghcr.io/open-feature/flagd:v0.10.3

0 comments on commit 1174a1b

Please sign in to comment.