Skip to main content

Config

Configs can be associated to a component using the config property. A linked config shows up in the component page in the right hand side panel.

Component Config relationship

topology.yaml
apiVersion: canaries.flanksource.com/v1
kind: Topology
metadata:
name: test-topology-property-merge
spec:
schedule: '@every 10m'
components:
- configs:
- name: flanksource-canary-cluster
type: EKS

Config

FieldDescriptionSchemeRequired
idSpecify the name of the config item.[]string
nameSpecify the name of the config item.string
namespaceSpecify the namespace of the config item.string
typeSpecify type of config item.string
classSpecify type of config item.string
external_idSpecify type of config item.string
tagsSpecify tags of config item.map[string]string

This Config object is used to find config items to associate with the component. It's important to note that there can be multiple config items that can match the same Config object. The first match is used in that case.

To get a better result, you can provide more information in the Config object; example: provide name, namespace and type instead of just providing the namespace.