Skip to content
Kubees

Selector builder

Application selector builder

Component utility

The application selector builder allows to build a selector using annotations, labels and namespaces.

Once the selector created, the application resources will match depending on it.

Component usage

Once the component input clicked, you have access to a list of selector keys.

A label list

Three types of elements will be suggested to you when building your expression. Once a selector has been selected, the different possible operators will be shown.

Three of them are available :

  • == (is equal to)
  • != (is different to)
  • :* (exists)
An operator list.

Once an operator has been selected, the values depending on the key you chosen before will be suggested to you.

A values list.

After selecting a selector value, you can either create/edit your application or add new selectors for more precision using the conjunctions. The and and or conjunctions are available to create more complex expressions.

A conjunctions list.

Adding parenthesis once the expression is written is available to create conditions priorities.

Specific features

  • Writing the beginning of any suggested values will filter the suggested elements to only show you the elements matching what you write.

  • Writing the key type (label:, annotation: or namespace:) will filter the suggested elements to only match the chosen type.