rancher / elemental-ui

Rancher UI Plugin for Elemental
Apache License 2.0
12 stars 12 forks source link

Add support for building raw disk images in UI #143

Closed frelon closed 10 months ago

frelon commented 11 months ago

When https://github.com/rancher/elemental-operator/pull/557 is merged it will be possible to build raw disk images using the SeedImage resource.

We would like to be able to build raw images from the UI in the same way as for ISOs.

The API is the same, but we include the Type-field on the SeedImage resource:

apiVersion: elemental.cattle.io/v1beta1
kind: SeedImage
metadata:
  name: fire-img
  namespace: fleet-default
spec:
  type: raw
  baseImage: registry.suse.com/rancher/elemental-teal/5.4:1.2.2
  registrationRef:
    apiVersion: elemental.cattle.io/v1beta1
    kind: MachineRegistration
    name: fire-nodes
    namespace: fleet-default
aalves08 commented 11 months ago

@frelon can we book a meeting so that we understand exactly what's required here? @kwwii should be present in order to understand the requirements for the user experience

frelon commented 11 months ago

@aalves08 Absolutely, I will set up a meeting for this! 👍

frelon commented 11 months ago

@aalves08 https://github.com/rancher/elemental-operator/pull/557 got merged yesterday and should be showing up in dev channel :+1:

aalves08 commented 11 months ago

@frelon Thanks! One last question: can you remind me on how to install the dev operator when compared with the prod operator? https://elemental.docs.rancher.com/quickstart-cli#install-elemental-operator

juadk commented 11 months ago

@frelon Thanks! One last question: can you remind me on how to install the dev operator when compared with the prod operator? https://elemental.docs.rancher.com/quickstart-cli#install-elemental-operator

helm upgrade --install elemental-operator-crds oci://registry.opensuse.org/isv/rancher/elemental/dev/charts/rancher/elemental-operator-crds-chart --namespace cattle-elemental-system --create-namespace

helm upgrade --install elemental-operator oci://registry.opensuse.org/isv/rancher/elemental/dev/charts/rancher/elemental-operator-chart --namespace cattle-elemental-system --create-namespace
juadk commented 10 months ago

Tested successfully with 1.3.0-rc1 image image I was able to download the raw image.