Sample YAML File
Below is the sample YAML for intent: redis, flavor: k8s, version: 0.1
intent: redis
flavor: k8s
version: "0.1"
description: Adds Redis module for Kubernetes flavor
clouds:
- aws
- azure
- gcp
- kubernetes
spec:
title: Redis Configuration
type: object
properties:
redis_version:
type: string
title: Redis Version
description: Specifies the version of Redis.
enum:
- "6.2"
- "7.0"
x-ui-placeholder: "Select Redis version"
persistence_enabled:
type: boolean
title: Persistence Enabled
description: Enable persistence across restarts.
size:
type: object
title: Size Configuration
properties:
cpu:
type: string
title: CPU
pattern: "^([1-9]|[12][0-9])$"
description: Number of CPU cores.
x-ui-placeholder: "e.g., '2'"
x-ui-error-message: "Value must be between 1 and 32."
memory:
type: string
title: Memory
pattern: "^(1|2|4|8)G$"
description: Memory size.
x-ui-placeholder: "e.g., '4G'"
x-ui-dynamic-enum: "size_options"
required:
- redis_version
- persistence_enabled
Updated 1 day ago