Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[src] OceanCD - update cluster model and add to roloout's status enum list #572

Merged
merged 1 commit into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions api/services/ocean/cd/schemas/oceanCDArgoRolloutsInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
type: object
title: Argo Rollouts Metadata
description: >
Contains Argo Rollouts metadata information.
properties:
argoRolloutVersion:
type: string
lastHeartbeatTime:
type: string
example: "2018-11-05T12:55:50.000Z"
description: >
Time stamp of latest time the operator controller sent heartbeat.
20 changes: 16 additions & 4 deletions api/services/ocean/cd/schemas/oceanCDCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,21 @@ properties:
example: "2018-11-05T12:55:50.000Z"
description: >
Time stamp of latest time the controller sent heartbeat.
controllerInfo:
type: object
$ref: "../schemas/oceanCDControllerInfo.yaml"
clusterInfo:
type: object
$ref: "../schemas/oceanCDClusterInfo.yaml"
$ref: "../schemas/oceanCDClusterInfo.yaml"
operatorInfo:
type: object
$ref: "../schemas/oceanCDOperatorInfo.yaml"
operatorMetadata:
type: object
$ref: "../schemas/oceanCDOperatorMetadata.yaml"
omInfo:
type: object
$ref: "../schemas/oceanCDOMInfo.yaml"
omMetadata:
type: object
$ref: "../schemas/oceanCDOMMetadata.yaml"
argoRolloutInfo:
type: object
$ref: "../schemas/oceanCDArgoRolloutsInfo.yaml"
2 changes: 1 addition & 1 deletion api/services/ocean/cd/schemas/oceanCDClusterInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
type: object
title: Ocean CD Cluster Info
description: >
Contains cluster detailed information.
Contains OceanCD cluster detailed information.
properties:
kubernetesVersion:
type: string
Expand Down
13 changes: 13 additions & 0 deletions api/services/ocean/cd/schemas/oceanCDOMInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
type: object
title: Ocean CD Operator Manager Info
description: >
Contains OceanCD operator manager detailed information.
properties:
kubernetesVersion:
type: string
nodeName:
type: string
operatorVersion:
type: string
podName:
type: string
10 changes: 10 additions & 0 deletions api/services/ocean/cd/schemas/oceanCDOMMetadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
type: object
title: Ocean CD Operator Maanager Metadata
description: >
Contains OceanCD operator manager metadata information.
properties:
lastHeartbeatTime:
type: string
example: "2018-11-05T12:55:50.000Z"
description: >
Time stamp of latest time the operator manager controller sent heartbeat.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
type: object
title: Ocean CD Controller Info
title: Ocean CD Operator Info
description: >
Contains controller detailed information.
Contains OceanCD operator detailed information.
properties:
kubernetesVersion:
type: string
nodeName:
type: string
operatorVersion:
Expand Down
10 changes: 10 additions & 0 deletions api/services/ocean/cd/schemas/oceanCDOperatorMetadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
type: object
title: Ocean CD Operator Metadata
description: >
Contains OceanCD operator metadata information.
properties:
lastHeartbeatTime:
type: string
example: "2018-11-05T12:55:50.000Z"
description: >
Time stamp of latest time the operator controller sent heartbeat.
3 changes: 2 additions & 1 deletion api/services/ocean/cd/schemas/oceanCDRolloutStatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ enum:
- aborting
- aborted
- failurePolicyPausing
- failurePolicyPaused
- failurePolicyPaused
- rolloutInterrupted
Loading