Skip to content

Commit

Permalink
change cleanup error status for k8s compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
t4lz committed Aug 9, 2024
1 parent 9f0e418 commit cb4ddb4
Showing 1 changed file with 50 additions and 48 deletions.
98 changes: 50 additions & 48 deletions mirrord-operator/templates/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,56 +289,58 @@ spec:
- CleanupError
properties:
CleanupError:
items:
- description: Representation of Sqs errors for the status of SQS session resources.
properties:
reason:
description: Human-readable explanation of what went wrong.
type: string
statusCode:
description: HTTP code for operator response.
format: uint16
minimum: 0.0
type: integer
required:
- reason
- statusCode
type: object
- nullable: true
properties:
envUpdates:
additionalProperties:
properties:
original_name:
type: string
output_name:
type: string
required:
- original_name
- output_name
properties:
details:
nullable: true
properties:
envUpdates:
additionalProperties:
properties:
original_name:
type: string
output_name:
type: string
required:
- original_name
- output_name
type: object
description: Env var name -> old and new queue names.
type: object
description: Env var name -> old and new queue names.
type: object
queueNames:
additionalProperties:
properties:
original_name:
type: string
output_name:
type: string
required:
- original_name
- output_name
queueNames:
additionalProperties:
properties:
original_name:
type: string
output_name:
type: string
required:
- original_name
- output_name
type: object
description: Queue ID -> old and new queue names.
type: object
description: Queue ID -> old and new queue names.
type: object
required:
- envUpdates
- queueNames
type: object
maxItems: 2
minItems: 2
type: array
required:
- envUpdates
- queueNames
type: object
error:
description: Representation of Sqs errors for the status of SQS session resources.
properties:
reason:
description: Human-readable explanation of what went wrong.
type: string
statusCode:
description: HTTP code for operator response.
format: uint16
minimum: 0.0
type: integer
required:
- reason
- statusCode
type: object
required:
- error
type: object
Ready:
properties:
envUpdates:
Expand Down

0 comments on commit cb4ddb4

Please sign in to comment.