Skip to main content

Targeting with Wildcards

This example demonstrates using the wildcard * to match all resources of a specific type.

all-topology.yaml
---
apiVersion: mission-control.flanksource.com/v1
kind: Scope
metadata:
name: all-topology
namespace: mc
spec:
description: All topology components
targets:
- component:
name: "*"

Using name: "*" matches all components (topology items) in the system without any filtering.

Wildcard Limitations

The name field only supports the special wildcard directive * which matches any resource. Mission Control does NOT support prefix and suffix wildcards (e.g., nginx-* or *-prod).

Use Cases:

  • Creating broad access policies for all resources of a type
  • Testing and development environments
  • Admin-level permissions