cloud-pipeline icon indicating copy to clipboard operation
cloud-pipeline copied to clipboard

GUI Configure kubeLabels for tools

Open rodichenko opened this issue 3 years ago • 0 comments

It would be nice to have an ability to specify kubeLabels for tool version settings - a set of key: value.

Approach

Tool version settings page shall display controls for specifying custom kube labels in Execution environment section (after sensitive storages configuration controls). Each label consists of a key (string) and a value (string). User shall be able to add, edit or remove labels. For predefined labels ("flags", see below) GUI shall display checkboxes (before custom kube labels section); if user enables a checkbox, a true value is set for the label, otherwise label is not set at all (considered removed).

Let's introduce ui.tool.kube.labels preference (OBJECT, JSON) - an array of keys (string) - a set of predefined kube labels, e.g.

["kube_flag_1", "kube_flag_2"]

rodichenko avatar Jul 12 '22 09:07 rodichenko