Commit caef5a1 1 parent 8e00a35 commit caef5a1 Copy full SHA for caef5a1
File tree 4 files changed +16
-5
lines changed
chart/open-feature-operator
4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -177,5 +177,6 @@ The command removes all the Kubernetes components associated with the chart and
177
177
| ` controllerManager.replicas ` | Sets number of replicas of the OpenFeature operator pod. | ` 1 ` |
178
178
| ` managerConfig.flagsValidatonEnabled ` | Enables the validating webhook for FeatureFlag CR. | ` true ` |
179
179
| ` managerConfig.controllerManagerConfigYaml.health.healthProbeBindAddress ` | Sets the bind address for health probes. | ` :8081 ` |
180
- | ` managerConfig.controllerManagerConfigYaml.metrics.bindAddress ` | Sets the bind address for metrics. | ` 127.0.0.1:8080 ` |
180
+ | ` managerConfig.controllerManagerConfigYaml.metrics.bindAddress ` | Sets the bind address for metrics (combined with bindPort). | ` 127.0.0.1 ` |
181
+ | ` managerConfig.controllerManagerConfigYaml.metrics.bindPort ` | Sets the bind port for metrics. | ` 8080 ` |
181
182
| ` managerConfig.controllerManagerConfigYaml.webhook.port ` | Sets the bind address for webhook. | ` 9443 ` |
Original file line number Diff line number Diff line change @@ -151,9 +151,11 @@ managerConfig:
151
151
health :
152
152
# # @param managerConfig.controllerManagerConfigYaml.health.healthProbeBindAddress Sets the bind address for health probes.
153
153
healthProbeBindAddress : :8081
154
- metrics :
155
- # # @param managerConfig.controllerManagerConfigYaml.metrics.bindAddress Sets the bind address for metrics.
156
- bindAddress : 127.0.0.1:8080
154
+ metrics :
155
+ # # @param managerConfig.controllerManagerConfigYaml.metrics.bindAddress Sets the bind address for metrics (combined with bindPort).
156
+ bindAddress : 127.0.0.1
157
+ # # @param managerConfig.controllerManagerConfigYaml.metrics.bindPort Sets the bind port for metrics.
158
+ bindPort : 8080
157
159
webhook :
158
160
# # @param managerConfig.controllerManagerConfigYaml.webhook.port Sets the bind address for webhook.
159
161
port : 9443
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ kind: ControllerManagerConfig
3
3
health :
4
4
healthProbeBindAddress : " {{ .Values.managerConfig.controllerManagerConfigYaml.health.healthProbeBindAddress }}"
5
5
metrics :
6
- bindAddress : " {{ .Values.managerConfig.controllerManagerConfigYaml.metrics.bindAddress }}"
6
+ bindAddress : " {{ .Values.managerConfig.controllerManagerConfigYaml.metrics.bindAddress }}:{{ .Values.managerConfig.controllerManagerConfigYaml.metrics.bindPort }} "
7
7
webhook :
8
8
port : 0{{ .Values.managerConfig.controllerManagerConfigYaml.webhook.port }}
Original file line number Diff line number Diff line change 22
22
requests :
23
23
cpu : " {{ .Values.controllerManager.manager.resources.requests.cpu }}"
24
24
memory : " {{ .Values.controllerManager.manager.resources.requests.memory }}"
25
+ ports :
26
+ - containerPort : " ___{{ .Values.managerConfig.controllerManagerConfigYaml.webhook.port }} ___"
27
+ name : webhook-server
28
+ protocol : TCP
29
+ - containerPort : " ___{{ .Values.managerConfig.controllerManagerConfigYaml.metrics.bindPort }}___"
30
+ name : metrics-server
31
+ protocol : TCP
25
32
env :
26
33
- name : SIDECAR_MANAGEMENT_PORT
27
34
value : " {{ .Values.sidecarConfiguration.managementPort }}"
96
103
- --sidecar-cpu-request={{ .Values.sidecarConfiguration.resources.requests.cpu }}
97
104
- --sidecar-ram-request={{ .Values.sidecarConfiguration.resources.requests.memory }}
98
105
- --image-pull-secrets={{ range .Values.imagePullSecrets }}{{ .name }},{{- end }}
106
+ - --metrics-bind-address=:{{ .Values.managerConfig.controllerManagerConfigYaml.metrics.bindPort }}
99
107
- name : kube-rbac-proxy
100
108
image : " {{ .Values.controllerManager.kubeRbacProxy.image.repository }}:{{ .Values.controllerManager.kubeRbacProxy.image.tag }}"
101
109
resources :
You can’t perform that action at this time.
0 commit comments