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

fix clusteroperation multi field invalid value null #539

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

panguicai008
Copy link
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:
when i create clusteroperation cr, The following error is reported:
ClusterOperation.kubean.io "cluster1-demo-ops-1" is invalid: [status.endTime: Invalid value: "null": status.endTime in body must be of type string: "null", status.jobRef: Invalid value: "null": status.jobRef in body must be of type object: "null", status.startTime: Invalid value: "null": status.startTime in body must be of type string: "null"]

ClusterOperation.kubean.io "cluster1-demo-ops-1" is invalid: [spec.activeDeadlineSeconds: Invalid value: "null": spec.activeDeadlineSeconds in body must be of type integer: "null", spec.varsConfRef: Invalid value: "null": spec.varsConfRef in body must be of type object: "null", spec.entrypointSHRef: Invalid value: "null": spec.entrypointSHRef in body must be of type object: "null", spec.sshAuthRef: Invalid value: "null": spec.sshAuthRef in body must be of type object: "null"]

ClusterOperation.kubean.io "cluster1-demo-ops-1" is invalid: [spec.varsConfRef: Invalid value: "null": spec.varsConfRef in body must be of type object: "null", spec.activeDeadlineSeconds: Invalid value: "null": spec.activeDeadlineSeconds in body must be of type integer: "null", spec.entrypointSHRef: Invalid value: "null": spec.entrypointSHRef in body must be of type object: "null", spec.sshAuthRef: Invalid value: "null": spec.sshAuthRef in body must be of type object: "null"]

Signed-off-by: panguicai008 <1121906548@qq.com>
@kubean-pr-robot kubean-pr-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Mar 3, 2023
@ErikJiang
Copy link
Member

/lgtm

@kubean-pr-robot kubean-pr-robot bot added the lgtm Indicates that a PR is ready to be merged. label Mar 3, 2023
@kubean-pr-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ErikJiang, panguicai008

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubean-pr-robot kubean-pr-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 3, 2023
@hangscer8
Copy link
Collaborator

/lgtm

@ErikJiang ErikJiang merged commit a82f035 into kubean-io:main Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants