Skip to content

Commit 1648f89

Browse files
committed
BindConfiguration with int ports
Signed-off-by: Ben Perry <[email protected]>
1 parent 8d8c7a9 commit 1648f89

File tree

3 files changed

+197
-135
lines changed

3 files changed

+197
-135
lines changed

operator/v1/0000_01_operator.open-cluster-management.io_clustermanagers.crd.yaml

Lines changed: 140 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -92,68 +92,86 @@ spec:
9292
Default mode is used if DeployOption is not set.
9393
properties:
9494
default:
95-
description: Default includes configurations for clustermanager
96-
in the Default mode
95+
description: Default includes optional configurations for clustermanager
96+
in the Default mode.
9797
properties:
9898
registrationWebhookConfiguration:
9999
description: RegistrationWebhookConfiguration represents the
100100
customized webhook-server configuration of registration.
101101
properties:
102-
healthProbeBindAddress:
103-
default: :8000
104-
description: |-
105-
HealthProbeBindAddress represents the healthcheck address of a webhook-server. The default value is ":8000".
106-
Healthchecks may be disabled by setting a value of "0" or "".
107-
type: string
108-
hostNetwork:
109-
description: |-
110-
HostNetwork enables running webhook pods with hostNetwork: true
111-
This may be required in some installations, such as EKS with Calico CNI,
112-
to allow the API Server to communicate with the webhook pods.
113-
type: boolean
114-
metricsBindAddress:
115-
default: :8080
116-
description: |-
117-
MetricsBindAddress represents the metrics address of a webhook-server. The default value is ":8080"
118-
Metrics may be disabled by setting a value of "0" or "".
119-
type: string
120-
port:
121-
default: 9443
122-
description: Port represents the port of a webhook-server.
123-
The default value of Port is 9443.
124-
format: int32
125-
maximum: 65535
126-
type: integer
102+
bindConfiguration:
103+
description: BindConfiguration represents server bind
104+
configuration for the webhook server
105+
properties:
106+
healthProbePort:
107+
default: 8000
108+
description: |-
109+
HealthProbePort represents the bind port of a webhook-server's healthcheck endpoint. The default value is 8000.
110+
Healthchecks may be disabled by setting a value less than or equal to 0.
111+
format: int32
112+
maximum: 65535
113+
type: integer
114+
hostNetwork:
115+
description: |-
116+
HostNetwork enables running webhook pods with hostNetwork: true
117+
This may be required in some installations, such as EKS with Calico CNI,
118+
to allow the API Server to communicate with the webhook pods.
119+
type: boolean
120+
metricsPort:
121+
default: 8080
122+
description: |-
123+
MetricsPort represents the bind port for a webhook-server's metric endpoint. The default value is 8080
124+
Metrics may be disabled by setting a value less than or equal to 0.
125+
format: int32
126+
maximum: 65535
127+
type: integer
128+
port:
129+
default: 9443
130+
description: BindAddress represents the primary listen
131+
port of a server. The default value is 9443.
132+
format: int32
133+
maximum: 65535
134+
type: integer
135+
type: object
127136
type: object
128137
workWebhookConfiguration:
129138
description: WorkWebhookConfiguration represents the customized
130139
webhook-server configuration of work.
131140
properties:
132-
healthProbeBindAddress:
133-
default: :8000
134-
description: |-
135-
HealthProbeBindAddress represents the healthcheck address of a webhook-server. The default value is ":8000".
136-
Healthchecks may be disabled by setting a value of "0" or "".
137-
type: string
138-
hostNetwork:
139-
description: |-
140-
HostNetwork enables running webhook pods with hostNetwork: true
141-
This may be required in some installations, such as EKS with Calico CNI,
142-
to allow the API Server to communicate with the webhook pods.
143-
type: boolean
144-
metricsBindAddress:
145-
default: :8080
146-
description: |-
147-
MetricsBindAddress represents the metrics address of a webhook-server. The default value is ":8080"
148-
Metrics may be disabled by setting a value of "0" or "".
149-
type: string
150-
port:
151-
default: 9443
152-
description: Port represents the port of a webhook-server.
153-
The default value of Port is 9443.
154-
format: int32
155-
maximum: 65535
156-
type: integer
141+
bindConfiguration:
142+
description: BindConfiguration represents server bind
143+
configuration for the webhook server
144+
properties:
145+
healthProbePort:
146+
default: 8000
147+
description: |-
148+
HealthProbePort represents the bind port of a webhook-server's healthcheck endpoint. The default value is 8000.
149+
Healthchecks may be disabled by setting a value less than or equal to 0.
150+
format: int32
151+
maximum: 65535
152+
type: integer
153+
hostNetwork:
154+
description: |-
155+
HostNetwork enables running webhook pods with hostNetwork: true
156+
This may be required in some installations, such as EKS with Calico CNI,
157+
to allow the API Server to communicate with the webhook pods.
158+
type: boolean
159+
metricsPort:
160+
default: 8080
161+
description: |-
162+
MetricsPort represents the bind port for a webhook-server's metric endpoint. The default value is 8080
163+
Metrics may be disabled by setting a value less than or equal to 0.
164+
format: int32
165+
maximum: 65535
166+
type: integer
167+
port:
168+
default: 9443
169+
description: BindAddress represents the primary listen
170+
port of a server. The default value is 9443.
171+
format: int32
172+
maximum: 65535
173+
type: integer
174+
type: object
157175
type: object
158176
type: object
159177
hosted:
@@ -171,27 +189,43 @@ spec:
171189
The Address must be reachable by apiserver of the hub cluster.
172190
pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$
173191
type: string
174-
healthProbeBindAddress:
175-
default: :8000
176-
description: |-
177-
HealthProbeBindAddress represents the healthcheck address of a webhook-server. The default value is ":8000".
178-
Healthchecks may be disabled by setting a value of "0" or "".
179-
type: string
180-
hostNetwork:
181-
description: |-
182-
HostNetwork enables running webhook pods with hostNetwork: true
183-
This may be required in some installations, such as EKS with Calico CNI,
184-
to allow the API Server to communicate with the webhook pods.
185-
type: boolean
186-
metricsBindAddress:
187-
default: :8080
188-
description: |-
189-
MetricsBindAddress represents the metrics address of a webhook-server. The default value is ":8080"
190-
Metrics may be disabled by setting a value of "0" or "".
191-
type: string
192+
bindConfiguration:
193+
description: BindConfiguration represents server bind
194+
configuration for the webhook server
195+
properties:
196+
healthProbePort:
197+
default: 8000
198+
description: |-
199+
HealthProbePort represents the bind port of a webhook-server's healthcheck endpoint. The default value is 8000.
200+
Healthchecks may be disabled by setting a value less than or equal to 0.
201+
format: int32
202+
maximum: 65535
203+
type: integer
204+
hostNetwork:
205+
description: |-
206+
HostNetwork enables running webhook pods with hostNetwork: true
207+
This may be required in some installations, such as EKS with Calico CNI,
208+
to allow the API Server to communicate with the webhook pods.
209+
type: boolean
210+
metricsPort:
211+
default: 8080
212+
description: |-
213+
MetricsPort represents the bind port for a webhook-server's metric endpoint. The default value is 8080
214+
Metrics may be disabled by setting a value less than or equal to 0.
215+
format: int32
216+
maximum: 65535
217+
type: integer
218+
port:
219+
default: 9443
220+
description: BindAddress represents the primary listen
221+
port of a server. The default value is 9443.
222+
format: int32
223+
maximum: 65535
224+
type: integer
225+
type: object
192226
port:
193227
default: 443
194-
description: Port represents the port of a webhook-server.
228+
description: Port represents the external port of a webhook-server.
195229
The default value of Port is 443.
196230
format: int32
197231
maximum: 65535
@@ -210,27 +244,43 @@ spec:
210244
The Address must be reachable by apiserver of the hub cluster.
211245
pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$
212246
type: string
213-
healthProbeBindAddress:
214-
default: :8000
215-
description: |-
216-
HealthProbeBindAddress represents the healthcheck address of a webhook-server. The default value is ":8000".
217-
Healthchecks may be disabled by setting a value of "0" or "".
218-
type: string
219-
hostNetwork:
220-
description: |-
221-
HostNetwork enables running webhook pods with hostNetwork: true
222-
This may be required in some installations, such as EKS with Calico CNI,
223-
to allow the API Server to communicate with the webhook pods.
224-
type: boolean
225-
metricsBindAddress:
226-
default: :8080
227-
description: |-
228-
MetricsBindAddress represents the metrics address of a webhook-server. The default value is ":8080"
229-
Metrics may be disabled by setting a value of "0" or "".
230-
type: string
247+
bindConfiguration:
248+
description: BindConfiguration represents server bind
249+
configuration for the webhook server
250+
properties:
251+
healthProbePort:
252+
default: 8000
253+
description: |-
254+
HealthProbePort represents the bind port of a webhook-server's healthcheck endpoint. The default value is 8000.
255+
Healthchecks may be disabled by setting a value less than or equal to 0.
256+
format: int32
257+
maximum: 65535
258+
type: integer
259+
hostNetwork:
260+
description: |-
261+
HostNetwork enables running webhook pods with hostNetwork: true
262+
This may be required in some installations, such as EKS with Calico CNI,
263+
to allow the API Server to communicate with the webhook pods.
264+
type: boolean
265+
metricsPort:
266+
default: 8080
267+
description: |-
268+
MetricsPort represents the bind port for a webhook-server's metric endpoint. The default value is 8080
269+
Metrics may be disabled by setting a value less than or equal to 0.
270+
format: int32
271+
maximum: 65535
272+
type: integer
273+
port:
274+
default: 9443
275+
description: BindAddress represents the primary listen
276+
port of a server. The default value is 9443.
277+
format: int32
278+
maximum: 65535
279+
type: integer
280+
type: object
231281
port:
232282
default: 443
233-
description: Port represents the port of a webhook-server.
283+
description: Port represents the external port of a webhook-server.
234284
The default value of Port is 443.
235285
format: int32
236286
maximum: 65535

0 commit comments

Comments
 (0)