Items can be filtered by one label:
select('Application')
.label('stage', 'prod')
by multiple labels to be matched:
select('Application')
.labels({
stage: 'pre-prod',
region: 'east'
})
or by combining multiple label query results. The example below will select all production apps and preproduction apps from us-east region:
select('Application')
.label('stage', 'prod')
.labels({
stage: 'pre-prod',
region: 'us-east'
})