Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • magnum magnum
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kuberneteskubernetes
  • magnummagnum
  • Merge requests
  • !136

[cern] Labels override

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ricardo Rocha requested to merge labelspick into cern/train May 28, 2020
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 7

Cherry-pick: https://review.opendev.org/#/c/720221/

The post for both clusters and nodegroups is adapted to wait for a boolean flag called merge_labels. Based on this flag the API will either merge the provided with the parent labels or just use the provided labels.

At the same time, the get methods of both clusters and nodegroups are adapted to include new fields in the response called "labels_overridden", "labels_added", "labels_skipped". The fields contain the differnces with the parent labels.

story: 2007515 task: 39691 Change-Id: I1054c54da96005a49e874de6f4cf60b5db57fc02

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: labelspick