Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Conversation

@bardielle
Copy link
Collaborator

No description provided.

@bardielle bardielle changed the title [WIP]Add the upgrade attribute to the edge device CRD [WIP]Add the upgrade attributes to the edge device CRD Jan 6, 2022
@bardielle bardielle force-pushed the fleet_integration branch 2 times, most recently from 41b9604 to bd9c79a Compare January 12, 2022 15:24
type OsInformation struct {

//Automatically upgrade the OS image
AutomaticallyUpgrade bool `json:"automaticallyUpgrade,omitempty"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we wish to have a broader policy than 'manual/auto' ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes we do :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

So perhaps this can be represented differently:

upgradePolicy: (any of automaic/scheduled)
  automaic: true
  scheduled: cron expression

Or in alternative way that will enable it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@bardielle bardielle force-pushed the fleet_integration branch 7 times, most recently from 9a742cb to 0cd5352 Compare January 27, 2022 19:03
@bardielle bardielle changed the title [WIP]Add the upgrade attributes to the edge device CRD Add the upgrade attributes to the edge device CRD Jan 30, 2022
CommitID string `json:"commitID,omitempty"`

//HostedImagesURL carries the URL of the hosted images web server
HostedImagesURL string `json:"hostedImagesURL,omitempty"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will you be changing that to reflect the fact that it points to os-tree commits rather than images?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It points to the hosted Images service as it's mentioned in fleet management
In our case, RFE automation pipeline would be the hosted images service

Copy link
Collaborator

Choose a reason for hiding this comment

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

As discussed during demo, we don't download any images from there at that point (when device is running); only RFE commits, right? IMO something like HostedObjectsURL or similar would be more appropriate.

@jakub-dzon
Copy link
Collaborator

Please rebase.

Copy link
Collaborator

@jakub-dzon jakub-dzon left a comment

Choose a reason for hiding this comment

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

@jakub-dzon jakub-dzon merged commit 17ad891 into project-flotta:main Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants