From 06905d36f66667197d7f032e32c817106de90c44 Mon Sep 17 00:00:00 2001 From: HIHIA <283304489@qq.com> Date: Tue, 20 Sep 2022 16:45:14 +0800 Subject: [PATCH] crd naming additional modifications Signed-off-by: HIHIA <283304489@qq.com> --- Documentation/yurt-edgex-manager.yaml | 24 +++++++++---------- .../crds/device.openyurt.io_edgexes.yaml | 18 +++++++------- config/samples/jakarta.yaml | 4 ++-- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Documentation/yurt-edgex-manager.yaml b/Documentation/yurt-edgex-manager.yaml index 4ddeda6..d047d53 100644 --- a/Documentation/yurt-edgex-manager.yaml +++ b/Documentation/yurt-edgex-manager.yaml @@ -33,15 +33,15 @@ spec: name: Service type: integer - description: The Ready Service Replica. - jsonPath: .status.servicereadyreplicas + jsonPath: .status.serviceReadyReplicas name: ReadyService type: integer - description: The Deployment Replica. - jsonPath: .status.deploymentreplicas + jsonPath: .status.deploymentReplicas name: Deployment type: integer - description: The Ready Deployment Replica. - jsonPath: .status.deploymentreadyreplicas + jsonPath: .status.deploymentReadyReplicas name: ReadyDeployment type: integer name: v1alpha1 @@ -64,7 +64,7 @@ spec: spec: description: EdgeXSpec defines the desired state of EdgeX properties: - additinaldeployments: + additinalDeployments: items: description: DeploymentTemplateSpec defines the pool template of Deployment. @@ -7893,7 +7893,7 @@ spec: - spec type: object type: array - additinalservices: + additinalServices: items: description: DeploymentTemplateSpec defines the pool template of Deployment. @@ -8275,11 +8275,11 @@ spec: - spec type: object type: array - imageregistry: + imageRegistry: type: string - poolname: + poolName: type: string - servicetype: + serviceType: description: Service Type string describes ingress methods for a service type: string version: @@ -8332,20 +8332,20 @@ spec: - type type: object type: array - deploymentreadyreplicas: + deploymentReadyReplicas: format: int32 type: integer - deploymentreplicas: + deploymentReplicas: format: int32 type: integer initialized: type: boolean ready: type: boolean - servicereadyreplicas: + servicereadyReplicas: format: int32 type: integer - servicereplicas: + serviceReplicas: format: int32 type: integer type: object diff --git a/charts/yurt-edgex-manager/crds/device.openyurt.io_edgexes.yaml b/charts/yurt-edgex-manager/crds/device.openyurt.io_edgexes.yaml index d5f5e21..26eac1e 100644 --- a/charts/yurt-edgex-manager/crds/device.openyurt.io_edgexes.yaml +++ b/charts/yurt-edgex-manager/crds/device.openyurt.io_edgexes.yaml @@ -59,7 +59,7 @@ spec: spec: description: EdgeXSpec defines the desired state of EdgeX properties: - additinaldeployments: + additionalDeployments: items: description: DeploymentTemplateSpec defines the pool template of Deployment. @@ -8380,7 +8380,7 @@ spec: - spec type: object type: array - additinalservices: + additionalServices: items: description: DeploymentTemplateSpec defines the pool template of Deployment. @@ -8739,11 +8739,11 @@ spec: - spec type: object type: array - imageregistry: + imageRegistry: type: string - poolname: + poolName: type: string - servicetype: + serviceType: description: Service Type string describes ingress methods for a service type: string version: @@ -8797,20 +8797,20 @@ spec: - type type: object type: array - deploymentreadyreplicas: + deploymentReadyReplicas: format: int32 type: integer - deploymentreplicas: + deploymentReplicas: format: int32 type: integer initialized: type: boolean ready: type: boolean - servicereadyreplicas: + serviceReadyReplicas: format: int32 type: integer - servicereplicas: + serviceReplicas: format: int32 type: integer type: object diff --git a/config/samples/jakarta.yaml b/config/samples/jakarta.yaml index a0ce762..19682e1 100644 --- a/config/samples/jakarta.yaml +++ b/config/samples/jakarta.yaml @@ -4,5 +4,5 @@ metadata: name: edgex-sample-beijing spec: version: jakarta - poolname: beijing - imageregistry: ali + poolName: beijing + imageRegistry: ali