-
Notifications
You must be signed in to change notification settings - Fork 0
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
add support for FailurePolicy in job spec #146
add support for FailurePolicy in job spec #146
Conversation
nilsgstrabo
commented
Dec 12, 2024
•
edited
Loading
edited
- update radix-operator ref to v1.67.0
- update to alpine 3.21
- create local models for Node, Resources and FailurePolicy instead of using radixv1 structs -> well defined openapi schema
- update tests
models/common/resources.go
Outdated
|
||
type ResourceList map[string]string | ||
|
||
// ResourceRequirements describes the compute resource requirements. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover name
// Node defines node attributes, where container should be scheduled | ||
// | ||
// required: false | ||
Node *v1.RadixNode `json:"node,omitempty"` | ||
Node *Node `json:"node,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this need to consistent with radix-operator type https://github.com/equinor/radix-operator/blob/6c95cb419117d8ffa948fb9802230805958d86d3/pkg/apis/radix/v1/radixapptypes.go#L434
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is inconsistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with comments