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

controller: add disk tags to BlockDeviceSpec (backport #60) #75

Merged
merged 6 commits into from
Jan 22, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jan 19, 2024

This is an automatic backport of pull request #60 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

    - Also bump golangci-lint to v1.55.2

Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit 750c5d3)
Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit 1a06d92)
    - for slice related functions

Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit d39425a)
    - we do not need the long jitter

Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit 129b968)
    Now, the BlockDevices CR will handle its disk Tags. These tags
    will deploy to the Longhorn node.

    Some related fields,
    - Blockdevice.Spec.Tags: Harvester defined disk Tags
    - Blockdevice.Status.Tags: disk Tags from longhorn nodes and
      Harvester defined
    - disk.Tags of nodes.longhorn.io: disk Tags defined by both
      harvester and longhorn

    - change the variable name from needUpdated -> updated, that
      will make it more readable.

Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit b3a7703)
    - deploy longhorn v1.5.3
    - update the deployment CRD
    - Add tags with provision
    - Remove tags from provisioned blockdevice
    - Add tags to provisioned blockdevice
    - Add more info with upgrade operation

Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit 44f601c)
@Vicente-Cheng Vicente-Cheng merged commit 5f3c0c2 into v0.6.x Jan 22, 2024
8 checks passed
@Vicente-Cheng Vicente-Cheng deleted the mergify/bp/v0.6.x/pr-60 branch January 22, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants