Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 945 Bytes

projection_manifests.md

File metadata and controls

36 lines (29 loc) · 945 Bytes

Projection Manifests

Schema

A projection manifest has a name, namespace, and a list of datasources.

---
name: "config-projection-name-here"
namespace: "namespace-for-configmap"
data: [] # list of datasources

Examples

---
name: notifications-us-east-1-production
namespace: notification-production
data:
# extract some fields from JSON
- source: generated/us-east-1/production/config.json
  output_file: config.json
  field_extraction:
  - memcached_hosts: $.memcached.notifications.production.hosts
  - flags: $.applications.notification.production.flags
  - log_level: $.applications.notification.production.log_level
# extract a scalar value from a YAML
- source: apps/us-east-1/production/notification.yaml
  output_file: launch_flags
  extract: $.launch_flags

Datasources

See datasources for more documentation on how each datasource can be configured.