open-feature / open-feature-operator

A Kubernetes feature flag operator
https://openfeature.dev
Apache License 2.0
179 stars 34 forks source link

Configurable flagD metrics port #113

Closed AlexsJones closed 1 year ago

AlexsJones commented 1 year ago

In order to give flexibility we could add this e.g.

apiVersion: core.openfeature.dev/v1alpha1
kind: FeatureFlagConfiguration
metadata:
  name: featureflagconfiguration-sample
spec:
  flagDSpec:
    metricsPort: 8080
    envs:
    - name: FOO
      value: BAR
  featureFlagSpec: |
    {}
beeme1mr commented 1 year ago

Setting the metric port must also set the environment variable (FLAGD_METRIC_PORT) for on flagD.

james-milligan commented 1 year ago

closed with https://github.com/open-feature/open-feature-operator/pull/213