This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
Closed
Description
What steps did you take and what happened:
- Apply a deployment that contains a
matchExpressions
selector. Example:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
selector:
matchLabels:
labelA: someLabelA
matchExpressions:
- key: labelB
operator: In
values:
- someLabelB
template:
metadata:
labels:
labelA: someLabelA
labelB: someLabelB
spec:
containers:
- image: nginx
name: nginx
- Navigate to
Namespace Overview
, or any screen where deployments are listed - See values in the
Selector
column - they appear as:labelA:someLabelA
andlabelB:
What did you expect to happen:
- The expression selector should be rendered as:
labelB In someLabelB
Anything else you would like to add:
It looks like the selectors
type is being rendered as an OverflowSelectorsComponent
, which is treating each selector as a label selector.
Environment:
Octant version: 0.18.0
Metadata
Assignees
Labels
No labels