Boolean
The boolean column type renders true/false values as friendly yes/no text in tables and cards. Use it for readiness, feature flags, or any binary state.
| Field | Description | Scheme |
|---|---|---|
name* | Column name (must be a valid SQL identifier) |
|
type* | Data type that controls formatting and visualization |
|
badge | Badge styling configuration. Use | |
card.position | Where this column appears in the card layout: |
|
card.useForAccent | Set to |
|
description | Human-readable help text for the column |
|
filter | Enable server-side filtering for this column. Set | object |
hidden | Hide the column from the table view (default: false) |
|
icon | CEL expression that resolves to an icon name per row (e.g. |
|
primaryKey | Whether this column is part of the primary key (default: false). At least one column must be marked as primary key. |
|
unit | Unit label appended to the displayed value (e.g. |
|
url | Link to a config, another view, or a custom URL using CEL / Go templates | |
width | Display width, e.g. |
|
Example
boolean-example.yamlapiVersion: mission-control.flanksource.com/v1
kind: View
metadata:
name: readiness-checks
namespace: default
spec:
description: Example view that renders a boolean column for readiness
display:
title: Component Readiness
icon: status
queries:
components:
configs:
search: "@order=name"
types:
- Kubernetes::Deployment
columns:
- name: id
type: string
primaryKey: true
hidden: true
- name: name
type: string
- name: ready
type: boolean
description: Indicates whether the deployment is reporting ready