mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-19 18:10:10 +00:00
378 lines
9.6 KiB
JSON
378 lines
9.6 KiB
JSON
{
|
|
"title": "Chart Values",
|
|
"type": "object",
|
|
"properties": {
|
|
"backup": {
|
|
"description": "Backup configuration",
|
|
"type": "object",
|
|
"required": [
|
|
"destinationPath",
|
|
"enabled",
|
|
"endpointURL",
|
|
"retentionPolicy",
|
|
"s3AccessKey",
|
|
"s3SecretKey",
|
|
"schedule"
|
|
],
|
|
"properties": {
|
|
"destinationPath": {
|
|
"description": "Path to store the backup (i.e. s3://bucket/path/to/folder)",
|
|
"type": "string",
|
|
"default": "s3://bucket/path/to/folder/"
|
|
},
|
|
"enabled": {
|
|
"description": "Enable regular backups",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"endpointURL": {
|
|
"description": "S3 Endpoint used to upload data to the cloud",
|
|
"type": "string",
|
|
"default": "http://minio-gateway-service:9000"
|
|
},
|
|
"retentionPolicy": {
|
|
"description": "Retention policy",
|
|
"type": "string",
|
|
"default": "30d"
|
|
},
|
|
"s3AccessKey": {
|
|
"description": "Access key for S3, used for authentication",
|
|
"type": "string",
|
|
"default": "oobaiRus9pah8PhohL1ThaeTa4UVa7gu"
|
|
},
|
|
"s3SecretKey": {
|
|
"description": "Secret key for S3, used for authentication",
|
|
"type": "string",
|
|
"default": "ju3eum4dekeich9ahM1te8waeGai0oog"
|
|
},
|
|
"schedule": {
|
|
"description": "Cron schedule for automated backups",
|
|
"type": "string",
|
|
"default": "0 2 * * * *"
|
|
}
|
|
}
|
|
},
|
|
"bootstrap": {
|
|
"description": "Bootstrap configuration",
|
|
"type": "object",
|
|
"required": [
|
|
"enabled",
|
|
"oldName",
|
|
"recoveryTime"
|
|
],
|
|
"properties": {
|
|
"enabled": {
|
|
"description": "Restore database cluster from a backup",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"oldName": {
|
|
"description": "Name of database cluster before deleting",
|
|
"type": "string"
|
|
},
|
|
"recoveryTime": {
|
|
"description": "Timestamp (PITR) up to which recovery will proceed, expressed in RFC 3339 format. If left empty, will restore latest",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"databases": {
|
|
"description": "Databases configuration",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"required": [
|
|
"roles"
|
|
],
|
|
"properties": {
|
|
"extensions": {
|
|
"description": "Extensions enabled for the database",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"roles": {
|
|
"description": "Roles for the database",
|
|
"type": "object",
|
|
"properties": {
|
|
"admin": {
|
|
"description": "List of users with admin privileges",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"readonly": {
|
|
"description": "List of users with read-only privileges",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"external": {
|
|
"description": "Enable external access from outside the cluster",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"gpus": {
|
|
"description": "List of GPUs to attach",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "The name of the GPU to attach. This should match the GPU resource name in the cluster.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"default": []
|
|
},
|
|
"postgresql": {
|
|
"description": "PostgreSQL server configuration",
|
|
"type": "object",
|
|
"required": [
|
|
"parameters"
|
|
],
|
|
"properties": {
|
|
"parameters": {
|
|
"description": "PostgreSQL server parameters",
|
|
"type": "object",
|
|
"required": [
|
|
"max_connections"
|
|
],
|
|
"properties": {
|
|
"max_connections": {
|
|
"description": "Determines the maximum number of concurrent connections to the database server. The default is typically 100 connections",
|
|
"type": "integer",
|
|
"default": 100
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"quorum": {
|
|
"description": "Quorum configuration for synchronous replication",
|
|
"type": "object",
|
|
"required": [
|
|
"maxSyncReplicas",
|
|
"minSyncReplicas"
|
|
],
|
|
"properties": {
|
|
"maxSyncReplicas": {
|
|
"description": "Maximum number of synchronous replicas that can acknowledge a transaction (must be lower than the number of instances).",
|
|
"type": "integer",
|
|
"default": 0
|
|
},
|
|
"minSyncReplicas": {
|
|
"description": "Minimum number of synchronous replicas that must acknowledge a transaction before it is considered committed.",
|
|
"type": "integer",
|
|
"default": 0
|
|
}
|
|
}
|
|
},
|
|
"replicas": {
|
|
"description": "Number of Postgres replicas",
|
|
"type": "integer",
|
|
"default": 2
|
|
},
|
|
"resources": {
|
|
"description": "Resources",
|
|
"type": "object",
|
|
"properties": {
|
|
"cpu": {
|
|
"description": "CPU",
|
|
"type": "string",
|
|
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
|
|
"x-kubernetes-int-or-string": true
|
|
},
|
|
"memory": {
|
|
"description": "Memory",
|
|
"type": "string",
|
|
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
|
|
"x-kubernetes-int-or-string": true
|
|
}
|
|
}
|
|
},
|
|
"resourcesPreset": {
|
|
"description": "Default sizing preset used when `resources` is omitted.",
|
|
"type": "string",
|
|
"default": "micro",
|
|
"enum": [
|
|
"nano",
|
|
"micro",
|
|
"small",
|
|
"medium",
|
|
"large",
|
|
"xlarge",
|
|
"2xlarge"
|
|
]
|
|
},
|
|
"size": {
|
|
"description": "Persistent Volume size",
|
|
"type": "string",
|
|
"default": "10Gi"
|
|
},
|
|
"storageClass": {
|
|
"description": "StorageClass used to store the data",
|
|
"type": "string"
|
|
},
|
|
"users": {
|
|
"description": "Users configuration",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"required": [
|
|
"password",
|
|
"replication"
|
|
],
|
|
"properties": {
|
|
"password": {
|
|
"description": "Password for the user",
|
|
"type": "string"
|
|
},
|
|
"replication": {
|
|
"description": "Whether the user has replication privileges",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"instanceType": {
|
|
"optional": true,
|
|
"enum": [
|
|
"cx1.2xlarge",
|
|
"cx1.4xlarge",
|
|
"cx1.8xlarge",
|
|
"cx1.large",
|
|
"cx1.medium",
|
|
"cx1.xlarge",
|
|
"gn1.2xlarge",
|
|
"gn1.4xlarge",
|
|
"gn1.8xlarge",
|
|
"gn1.xlarge",
|
|
"m1.2xlarge",
|
|
"m1.4xlarge",
|
|
"m1.8xlarge",
|
|
"m1.large",
|
|
"m1.xlarge",
|
|
"n1.2xlarge",
|
|
"n1.4xlarge",
|
|
"n1.8xlarge",
|
|
"n1.large",
|
|
"n1.medium",
|
|
"n1.xlarge",
|
|
"o1.2xlarge",
|
|
"o1.4xlarge",
|
|
"o1.8xlarge",
|
|
"o1.large",
|
|
"o1.medium",
|
|
"o1.micro",
|
|
"o1.nano",
|
|
"o1.small",
|
|
"o1.xlarge",
|
|
"rt1.2xlarge",
|
|
"rt1.4xlarge",
|
|
"rt1.8xlarge",
|
|
"rt1.large",
|
|
"rt1.medium",
|
|
"rt1.micro",
|
|
"rt1.small",
|
|
"rt1.xlarge",
|
|
"u1.2xlarge",
|
|
"u1.2xmedium",
|
|
"u1.4xlarge",
|
|
"u1.8xlarge",
|
|
"u1.large",
|
|
"u1.medium",
|
|
"u1.micro",
|
|
"u1.nano",
|
|
"u1.small",
|
|
"u1.xlarge",
|
|
""
|
|
]
|
|
},
|
|
"instanceProfile": {
|
|
"optional": true,
|
|
"enum": [
|
|
"alpine",
|
|
"centos.7",
|
|
"centos.7.desktop",
|
|
"centos.stream10",
|
|
"centos.stream10.desktop",
|
|
"centos.stream8",
|
|
"centos.stream8.desktop",
|
|
"centos.stream8.dpdk",
|
|
"centos.stream9",
|
|
"centos.stream9.desktop",
|
|
"centos.stream9.dpdk",
|
|
"cirros",
|
|
"fedora",
|
|
"fedora.arm64",
|
|
"opensuse.leap",
|
|
"opensuse.tumbleweed",
|
|
"rhel.10",
|
|
"rhel.10.arm64",
|
|
"rhel.7",
|
|
"rhel.7.desktop",
|
|
"rhel.8",
|
|
"rhel.8.desktop",
|
|
"rhel.8.dpdk",
|
|
"rhel.9",
|
|
"rhel.9.arm64",
|
|
"rhel.9.desktop",
|
|
"rhel.9.dpdk",
|
|
"rhel.9.realtime",
|
|
"sles",
|
|
"ubuntu",
|
|
"windows.10",
|
|
"windows.10.virtio",
|
|
"windows.11",
|
|
"windows.11.virtio",
|
|
"windows.2k16",
|
|
"windows.2k16.virtio",
|
|
"windows.2k19",
|
|
"windows.2k19.virtio",
|
|
"windows.2k22",
|
|
"windows.2k22.virtio",
|
|
"windows.2k25",
|
|
"windows.2k25.virtio",
|
|
""
|
|
]
|
|
},
|
|
"externalPorts": {
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"systemDisk": {
|
|
"properties": {
|
|
"image": {
|
|
"enum": [
|
|
"ubuntu",
|
|
"cirros",
|
|
"alpine",
|
|
"fedora",
|
|
"talos"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"externalMethod": {
|
|
"enum": [
|
|
"PortList",
|
|
"WholeIP"
|
|
]
|
|
}
|
|
}
|
|
}
|