chore(repo): init helm-charts repo with two charts and automated package/push
This commit is contained in:
93
code-server-chart/values.schema.json
Normal file
93
code-server-chart/values.schema.json
Normal file
@ -0,0 +1,93 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["password"],
|
||||
"properties": {
|
||||
"image": {
|
||||
"type": "object",
|
||||
"description": "Container image configuration.",
|
||||
"properties": {
|
||||
"repository": {
|
||||
"type": "string",
|
||||
"description": "Container image repository.",
|
||||
"default": "codercom/code-server",
|
||||
"examples": ["codercom/code-server"]
|
||||
},
|
||||
"tag":{
|
||||
"type": "string",
|
||||
"description": "Container image tag.",
|
||||
"default": "4.103.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"type": "object",
|
||||
"description": "Container resource requests and limits, including CPU, Memory, and GPU.",
|
||||
"properties": {
|
||||
"limits": {
|
||||
"type": "object",
|
||||
"description": "Resource limits.",
|
||||
"properties": {
|
||||
"cpu": {
|
||||
"type": "string"
|
||||
},
|
||||
"memory": {
|
||||
"type": "string"
|
||||
},
|
||||
"nvidia.com/gpu": {
|
||||
"type": "integer",
|
||||
"description": "Number of NVIDIA GPUs (integer).",
|
||||
"default": 0,
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
},
|
||||
"requests": {
|
||||
"type": "object",
|
||||
"description": "Resource requests.",
|
||||
"properties": {
|
||||
"cpu": {
|
||||
"type": "string"
|
||||
},
|
||||
"memory": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "Password for the admin user.",
|
||||
"examples": ["password"]
|
||||
},
|
||||
"persistence": {
|
||||
"type": "object",
|
||||
"description": "Persistent volume configuration.",
|
||||
"properties": {
|
||||
"storageClass": {
|
||||
"type": "string",
|
||||
"description": "Storage class name.",
|
||||
"default": "standard",
|
||||
"enum": ["nas-nfs","csi-cephfs-sc","sl-sc"],
|
||||
"examples": ["nas-nfs","csi-cephfs-sc"]
|
||||
},
|
||||
"size": {
|
||||
"type": "string",
|
||||
"description": "Persistent volume size.",
|
||||
"default": "10Gi",
|
||||
"examples": ["10Gi","20Gi"]
|
||||
},
|
||||
"existingClaim": {
|
||||
"type": "string",
|
||||
"description": "Existing persistent volume claim name.",
|
||||
"examples": ["pvc-12345678-1234-1234-1234-123456789012"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"nodeSelector": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user