{
    "title": "Chart Values",
    "type": "object",
    "properties": {
        "external": {
            "type": "boolean",
            "description": "Enable external access from outside the cluster",
            "default": false
        },
        "replicas": {
            "type": "number",
            "description": "Persistent Volume size for NATS",
            "default": 2
        },
        "storageClass": {
            "type": "string",
            "description": "StorageClass used to store the data",
            "default": ""
        },
        "jetstream": {
            "type": "object",
            "properties": {
                "size": {
                    "type": "string",
                    "description": "Jetstream persistent storage size",
                    "default": "10Gi"
                },
                "enabled": {
                    "type": "boolean",
                    "description": "Enable or disable Jetstream",
                    "default": true
                }
            }
        },
        "config": {
            "type": "object",
            "properties": {
                "merge": {
                    "type": "object",
                    "description": "Additional configuration to merge into NATS config",
                    "default": {}
                },
                "resolver": {
                    "type": "object",
                    "description": "Additional configuration to merge into NATS config",
                    "default": {}
                }
            }
        },
        "resources": {
            "type": "object",
            "description": "Resources",
            "default": {}
        },
        "resourcesPreset": {
            "type": "string",
            "description": "Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).",
            "default": "nano"
        }
    }
}