What are the types of values available in yaml key:value pair?

In YAML key:value pairs, the following types of values are commonly used:

1. String: A sequence of characters, which can be enclosed in quotes or unquoted.
Example:
name: "app"

2. Numeric (Number): Represents integers or floating-point numbers.
Example:
count: 42
price: 19.99

3. Boolean: Represents true or false values.
Example:
isActive: true

4. List (Sequence): An ordered collection of items, represented with a dash (-).
Example:
fruits:
- apple
- banana
- cherry

5. Map (Mapping): A collection of key-value pairs where each key is unique.
Example:
resources:
limits:
cpu: "500m"
memory: "128Mi"
Meld u aan om te vragen, te beantwoorden, te delen, leuk te vinden en te stemmen.