Skip to content

Commit 7c87359

Browse files
authored
Merge pull request #4 from linoyaslan/update_helm_crd
fix: sync Helm CRD with last API changes
2 parents 6c70f23 + 43fd23b commit 7c87359

1 file changed

Lines changed: 17 additions & 60 deletions

File tree

helm/dpf-hcp-bridge-operator/crds/provisioning.dpu.hcp.io_dpfhcpbridges.yaml

Lines changed: 17 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,20 @@ spec:
109109
x-kubernetes-validations:
110110
- message: etcdStorageClass is immutable
111111
rule: self == oldSelf
112+
nodeSelector:
113+
additionalProperties:
114+
type: string
115+
description: |-
116+
NodeSelector defines the node selector for the hosted control plane pods
117+
It specifies which nodes in the management cluster can host the control plane workloads
118+
Default: {"node-role.kubernetes.io/master": ""} (schedules on master nodes)
119+
This field is immutable.
120+
type: object
121+
x-kubernetes-validations:
122+
- message: nodeSelector is immutable
123+
rule: self == oldSelf
124+
- message: nodeSelector map can have at most 20 entries
125+
rule: size(self) <= 20
112126
ocpReleaseImage:
113127
description: |-
114128
OCPReleaseImage is the full pull-spec URL for the OCP release image
@@ -179,9 +193,9 @@ spec:
179193
status:
180194
description: DPFHCPBridgeStatus defines the observed state of DPFHCPBridge
181195
properties:
182-
blueFieldContainerImageAvailable:
183-
description: BlueFieldContainerImageAvailable indicates whether a
184-
BlueField container image was successfully resolved
196+
blueFieldContainerImage:
197+
description: BlueFieldContainerImage is the resolved BlueField container
198+
image URL
185199
type: string
186200
conditions:
187201
description: Conditions represent the latest available observations
@@ -241,30 +255,6 @@ spec:
241255
- type
242256
type: object
243257
type: array
244-
dpuClusterMissing:
245-
description: DPUClusterMissing indicates the referenced DPUCluster
246-
was deleted
247-
type: boolean
248-
etcdAvailable:
249-
description: EtcdAvailable indicates etcd is available
250-
type: string
251-
hostedClusterAvailable:
252-
description: HostedClusterAvailable indicates the HostedCluster has
253-
a healthy control plane
254-
type: string
255-
hostedClusterCleanup:
256-
description: |-
257-
HostedClusterCleanup tracks HostedCluster deletion status during finalizer cleanup
258-
Valid values: Succeeded, InProgress, Failed
259-
type: string
260-
hostedClusterDegraded:
261-
description: HostedClusterDegraded indicates the HostedCluster is
262-
encountering errors requiring intervention
263-
type: string
264-
hostedClusterProgressing:
265-
description: HostedClusterProgressing indicates the HostedCluster
266-
is attempting deployment/upgrade
267-
type: string
268258
hostedClusterRef:
269259
description: HostedClusterRef is a reference to the created HostedCluster
270260
CR
@@ -309,26 +299,6 @@ spec:
309299
type: string
310300
type: object
311301
x-kubernetes-map-type: atomic
312-
ignitionEndpointAvailable:
313-
description: IgnitionEndpointAvailable indicates the ignition server
314-
is available
315-
type: boolean
316-
ignitionServerValidReleaseInfo:
317-
description: IgnitionServerValidReleaseInfo indicates the release
318-
has local ignition provider images
319-
type: string
320-
infrastructureReady:
321-
description: InfrastructureReady indicates infrastructure for control
322-
plane is operational
323-
type: string
324-
kubeAPIServerAvailable:
325-
description: KubeAPIServerAvailable indicates the Kubernetes API server
326-
is available
327-
type: string
328-
kubeConfigInjected:
329-
description: KubeConfigInjected indicates whether the kubeconfig was
330-
successfully injected into the DPUCluster CR
331-
type: boolean
332302
kubeConfigSecretRef:
333303
description: KubeConfigSecretRef is a reference to the created kubeconfig
334304
Secret in the DPUCluster's namespace
@@ -344,11 +314,6 @@ spec:
344314
type: string
345315
type: object
346316
x-kubernetes-map-type: atomic
347-
observedGeneration:
348-
description: ObservedGeneration reflects the generation of the most
349-
recently observed spec
350-
format: int64
351-
type: integer
352317
phase:
353318
description: Phase represents the current lifecycle phase
354319
enum:
@@ -358,14 +323,6 @@ spec:
358323
- Failed
359324
- Deleting
360325
type: string
361-
validReleaseImage:
362-
description: ValidReleaseImage indicates the release image in spec
363-
is valid for HostedCluster
364-
type: string
365-
validReleaseInfo:
366-
description: ValidReleaseInfo indicates the release contains all required
367-
HyperShift images
368-
type: string
369326
type: object
370327
type: object
371328
served: true

0 commit comments

Comments
 (0)