{
    "properties": {
        "externalDatabase": {
            "description": "If MariaDB is disabled. Use this section to specify the external database details",
            "form": true,
            "properties": {
                "database": {
                    "form": true,
                    "hidden": "mariadb.enabled",
                    "title": "Database Name",
                    "type": "string"
                },
                "host": {
                    "form": true,
                    "hidden": "mariadb.enabled",
                    "title": "Database Host",
                    "type": "string"
                },
                "password": {
                    "form": true,
                    "hidden": "mariadb.enabled",
                    "title": "Database Password",
                    "type": "string"
                },
                "port": {
                    "form": true,
                    "hidden": "mariadb.enabled",
                    "title": "Database Port",
                    "type": "integer"
                },
                "user": {
                    "form": true,
                    "hidden": "mariadb.enabled",
                    "title": "Database Username",
                    "type": "string"
                }
            },
            "title": "External Database Details",
            "type": "object"
        },
        "ghostBlogTitle": {
            "form": true,
            "title": "Blog Name",
            "type": "string"
        },
        "ghostEmail": {
            "form": true,
            "title": "Admin email",
            "type": "string"
        },
        "ghostHost": {
            "description": "Hostname used to generate application URLs",
            "form": true,
            "title": "Host",
            "type": "string"
        },
        "ghostPassword": {
            "description": "Defaults to a random 10-character alphanumeric string if not set",
            "form": true,
            "title": "Password",
            "type": "string"
        },
        "ghostUsername": {
            "form": true,
            "title": "User",
            "type": "string"
        },
        "mariadb": {
            "form": true,
            "properties": {
                "enabled": {
                    "description": "Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database switch this off and configure the external database parameters",
                    "form": true,
                    "title": "Use a new MariaDB database hosted in the cluster",
                    "type": "boolean"
                },
                "master": {
                    "properties": {
                        "persistence": {
                            "properties": {
                                "size": {
                                    "form": true,
                                    "hidden": {
                                        "condition": false,
                                        "value": "mariadb.enabled"
                                    },
                                    "render": "slider",
                                    "sliderMax": 100,
                                    "sliderMin": 1,
                                    "sliderUnit": "Gi",
                                    "title": "Volume Size",
                                    "type": "string"
                                }
                            },
                            "type": "object"
                        }
                    },
                    "type": "object"
                }
            },
            "title": "MariaDB Details",
            "type": "object"
        },
        "persistence": {
            "properties": {
                "size": {
                    "form": true,
                    "render": "slider",
                    "sliderMax": 100,
                    "sliderMin": 1,
                    "sliderUnit": "Gi",
                    "title": "Persistent Volume Size",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "resources": {
            "description": "Configure resource requests",
            "form": true,
            "properties": {
                "requests": {
                    "properties": {
                        "cpu": {
                            "form": true,
                            "render": "slider",
                            "sliderMax": 2000,
                            "sliderMin": 10,
                            "sliderUnit": "m",
                            "title": "CPU Request",
                            "type": "string"
                        },
                        "memory": {
                            "form": true,
                            "render": "slider",
                            "sliderMax": 2048,
                            "sliderMin": 10,
                            "sliderUnit": "Mi",
                            "title": "Memory Request",
                            "type": "string"
                        }
                    },
                    "type": "object"
                }
            },
            "title": "Required Resources",
            "type": "object"
        },
        "securityContext": {
            "properties": {
                "enabled": {
                    "description": "When disabled, an initContainer will be used to set required folder permissions",
                    "form": true,
                    "title": "Enable Pod Security Context",
                    "type": "boolean"
                }
            },
            "type": "object"
        }
    },
    "type": "object"
}