rancher-partner-charts/charts/avesha/kubeslice-controller/values.schema.json

176 lines
4.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"kubeslice": {
"type": "object",
"properties": {
"rbacproxy": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"tag": {
"type": "string"
}
}
},
"controller": {
"type": "object",
"properties": {
"logLevel": {
"type": "string",
"minLength": 1
},
"rbacResourcePrefix": {
"type": "string"
},
"projectnsPrefix": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"image": {
"type": "string",
"minLength": 1
},
"tag": {
"type": "string",
"minLength": 1
},
"pullPolicy": {
"type": "string",
"pattern": "^(Always|Never|IfNotPresent)$",
"minLength": 1
}
},
"required": ["image","tag","pullPolicy","logLevel"]
},
"ovpnJob": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"tag": {
"type": "string"
}
}
},
"prometheus": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": ["url"]
}
},
"license": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["kubeslice-trial-license"]
},
"mode": {
"type": "string",
"enum": ["auto", "manual","air-gap"]
},
"customerName": {
"type": "string",
"description": "Name of the customer"
}
}
},
"ui": {
"type": "object",
"properties": {
"image": {"type": "string"},
"tag": {"type": "string"},
"pullPolicy": {"type": "string"}
}
},
"uiv2": {
"type": "object",
"properties": {
"image": {"type": "string"},
"tag": {"type": "string"},
"pullPolicy": {"type": "string"}
}
},
"dashboard": {
"type": "object",
"properties": {
"image": {"type": "string"},
"tag": {"type": "string"},
"pullPolicy": {"type": "string"}
}
},
"uiproxy": {
"type": "object",
"properties": {
"image": {"type": "string"},
"tag": {"type": "string"},
"pullPolicy": {"type": "string"},
"service": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["LoadBalancer", "NodePort", "ClusterIP"],
"default": "LoadBalancer"
},
"nodePort": {
"type": "integer"
}
},
"required": ["type"]
}
}
},
"apigw": {
"type": "object",
"properties": {
"image": {"type": "string"},
"tag": {"type": "string"},
"pullPolicy": {"type": "string"}
}
},
"workerinstaller": {
"type": "object",
"properties": {
"image": {"type": "string"},
"tag": {"type": "string"},
"pullPolicy": {"type": "string"}
}
}
}
},
"imagePullSecrets": {
"type": "object",
"properties": {
"repository": {"type": [ "string", "null" ]},
"username": {"type": [ "string", "null" ]},
"password": {"type": [ "string", "null" ]},
"email": {"type": [ "string", "null" ]}
}
}
},
"required": ["kubeslice", "imagePullSecrets"]
}