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

✨ Add nonbootable iso api #1623

Merged
merged 3 commits into from
Apr 3, 2024
Merged

Conversation

hroyrh
Copy link
Member

@hroyrh hroyrh commented Mar 15, 2024

What this PR does / why we need it:
This PR defines the API for attaching and detaching non-bootable iso image. The Controller implementation for the API is in progress in this pr : #1594

@metal3-io-bot metal3-io-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 15, 2024
@hroyrh hroyrh changed the title ❇️ Add nonbootable iso api ✨ Add nonbootable iso api Mar 15, 2024

// DataImageSpec defines the desired state of DataImage.
type DataImageSpec struct {
// Important: Run "make" to regenerate code after modifying this file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please remove

}

//+kubebuilder:object:root=true
//+kubebuilder:resource:shortName=dimg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's going to be a very rarely used resource, let's maybe not have a short name for it?

@dtantsur
Copy link
Member

The previous PR modifies a few more API-related files, such as config/base/crds/kustomization.yaml, a sample or RBAC roles. Could you add them too?

Signed-off-by: Himanshu Roy <hroy@redhat.com>
Signed-off-by: Himanshu Roy <hroy@redhat.com>
…ple dataimage resource file

Signed-off-by: Himanshu Roy <hroy@redhat.com>
@hroyrh
Copy link
Member Author

hroyrh commented Mar 26, 2024

@dtantsur I have updated the base kustomization config, and added cainjection, webhook and sample dataimage resource file. I've left the RBAC configs since they depend on the controller and it will be more appropriate to include them in the other pr.

@elfosardo
Copy link
Member

/test metal3-bmo-e2e-test-pull

@elfosardo
Copy link
Member

/test-centos-e2e-integration-main

@dtantsur
Copy link
Member

dtantsur commented Apr 2, 2024

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 2, 2024
@elfosardo
Copy link
Member

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2024
@metal3-io-bot metal3-io-bot merged commit ba35cd9 into metal3-io:main Apr 3, 2024
16 checks passed
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. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants