Skip to content

Commit 8ae6ee8

Browse files
xvzfbeeme1mr
andauthored
fix: make flagd replica count configureable in helm chart (#716)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com> Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
1 parent 52bac10 commit 8ae6ee8

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ and deploying to your cluster. Please be aware that it is using the cluster your
3636

3737
Some part of the project docs may be autogenerated and require running a script.
3838

39+
#### Re-generating helm docs after modifying the chart
40+
` ./.github/scripts/generate-helm-docs.sh`
41+
3942
#### CRDs Docs
4043
If you modified or added crds to the project, then you should recreate the crds.md file. To do so run:
4144

chart/open-feature-operator/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ The command removes all the Kubernetes components associated with the chart and
148148

149149
| Name | Description | Value |
150150
| ------------------------------------------ | ------------------------------------------------------------------------------- | ---------------------------------- |
151+
| `flagdProxyConfiguration.replicaCount` | sets the number of replicas for the flagd-proxy deployment. | `1` |
151152
| `flagdProxyConfiguration.port` | Sets the port to expose the sync API on. | `8015` |
152153
| `flagdProxyConfiguration.managementPort` | Sets the port to expose the management API on. | `8016` |
153154
| `flagdProxyConfiguration.image.repository` | Sets the image for the flagd-proxy deployment. | `ghcr.io/open-feature/flagd-proxy` |
@@ -177,7 +178,7 @@ The command removes all the Kubernetes components associated with the chart and
177178
| `controllerManager.kubeRbacProxy.resources.requests.cpu` | Sets cpu resource requests for kube-rbac-proxy. | `5m` |
178179
| `controllerManager.kubeRbacProxy.resources.requests.memory` | Sets memory resource requests for kube-rbac-proxy. | `64Mi` |
179180
| `controllerManager.manager.image.repository` | Sets the image for the operator. | `ghcr.io/open-feature/open-feature-operator` |
180-
| `controllerManager.manager.image.tag` | Sets the version tag for the operator. | `v0.7.2` |
181+
| `controllerManager.manager.image.tag` | Sets the version tag for the operator. | `v0.8.0` |
181182
| `controllerManager.manager.resources.limits.cpu` | Sets cpu resource limits for operator. | `500m` |
182183
| `controllerManager.manager.resources.limits.memory` | Sets memory resource limits for operator. | `128Mi` |
183184
| `controllerManager.manager.resources.requests.cpu` | Sets cpu resource requests for operator. | `10m` |

chart/open-feature-operator/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ inProcessConfiguration:
8484

8585
## @section Flagd-proxy configuration
8686
flagdProxyConfiguration:
87+
## @param flagdProxyConfiguration.replicaCount sets the number of replicas for the flagd-proxy deployment.
88+
replicaCount: 1
8789
## @param flagdProxyConfiguration.port Sets the port to expose the sync API on.
8890
port: 8015
8991
## @param flagdProxyConfiguration.managementPort Sets the port to expose the management API on.

config/overlays/helm/manager.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ spec:
6161
value: "{{ .Values.sidecarConfiguration.probesEnabled }}"
6262
- name: FLAGD_PROXY_IMAGE
6363
value: "{{ .Values.flagdProxyConfiguration.image.repository }}"
64+
- name: FLAGD_PROXY_REPLICA_COUNT
65+
value: "{{ .Values.flagdProxyConfiguration.replicaCount }}"
6466
- name: FLAGD_PROXY_TAG
6567
value: "{{ .Values.flagdProxyConfiguration.image.tag }}"
6668
- name: FLAGD_PROXY_PORT

0 commit comments

Comments
 (0)