Revert "Autogenerate schema files (#19194)" (#19335)

This reverts commit a2c2090b5a.

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2023-09-18 13:50:17 +02:00
committed by GitHub
parent 13b5c01c6d
commit 73d80be525
107 changed files with 2862 additions and 179842 deletions

View File

@@ -1,618 +0,0 @@
{
"title": "Chart Values",
"type": "object",
"properties": {
"global": {
"type": "object",
"properties": {
"imageRegistry": {
"type": "string",
"description": "Global Docker image registry",
"default": ""
},
"imagePullSecrets": {
"type": "array",
"description": "Global Docker registry secret names as an array",
"default": [],
"items": {}
}
}
},
"kubeVersion": {
"type": "string",
"description": "Force target Kubernetes version (using Helm capabilities if not set)",
"default": ""
},
"nameOverride": {
"type": "string",
"description": "String to partially override common.names.fullname template (will maintain the release name)",
"default": ""
},
"fullnameOverride": {
"type": "string",
"description": "String to fully override common.names.fullname template",
"default": ""
},
"commonAnnotations": {
"type": "object",
"description": "Annotations to add to all deployed objects",
"default": {}
},
"commonLabels": {
"type": "object",
"description": "Labels to add to all deployed objects",
"default": {}
},
"extraDeploy": {
"type": "array",
"description": "Array of extra objects to deploy with the release",
"default": [],
"items": {}
},
"diagnosticMode": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable diagnostic mode (all probes will be disabled and the command will be overridden)",
"default": false
},
"command": {
"type": "array",
"description": "Command to override all containers in the deployment",
"default": [
"sleep"
],
"items": {
"type": "string"
}
},
"args": {
"type": "array",
"description": "Args to override all containers in the deployment",
"default": [
"infinity"
],
"items": {
"type": "string"
}
}
}
},
"server": {
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "TensorFlow Serving image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "TensorFlow Serving image repository",
"default": "bitnami/tensorflow-serving"
},
"tag": {
"type": "string",
"description": "TensorFlow Serving Image tag (immutable tags are recommended)",
"default": "2.13.0-debian-11-r22"
},
"digest": {
"type": "string",
"description": "TensorFlow Serving image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "TensorFlow Serving image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Specify docker-registry secret names as an array",
"default": [],
"items": {}
}
}
}
}
},
"client": {
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "TensorFlow ResNet image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "TensorFlow ResNet image repository",
"default": "bitnami/tensorflow-resnet"
},
"tag": {
"type": "string",
"description": "TensorFlow ResNet image tag (immutable tags are recommended)",
"default": "2.13.0-debian-11-r24"
},
"digest": {
"type": "string",
"description": "TensorFlow ResNet image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "TensorFlow ResNet image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Specify docker-registry secret names as an array",
"default": [],
"items": {}
}
}
}
}
},
"hostAliases": {
"type": "array",
"description": "Deployment pod host aliases",
"default": [],
"items": {}
},
"containerPorts": {
"type": "object",
"properties": {
"server": {
"type": "number",
"description": "Tensorflow server port",
"default": 8500
},
"restApi": {
"type": "number",
"description": "TensorFlow Serving Rest API Port",
"default": 8501
}
}
},
"replicaCount": {
"type": "number",
"description": "Number of replicas",
"default": 1
},
"podAnnotations": {
"type": "object",
"description": "Pod annotations",
"default": {}
},
"podLabels": {
"type": "object",
"description": "Pod labels",
"default": {}
},
"podAffinityPreset": {
"type": "string",
"description": "Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": ""
},
"podAntiAffinityPreset": {
"type": "string",
"description": "Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": "soft"
},
"nodeAffinityPreset": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": ""
},
"key": {
"type": "string",
"description": "Node label key to match Ignored if `affinity` is set.",
"default": ""
},
"values": {
"type": "array",
"description": "Node label values to match. Ignored if `affinity` is set.",
"default": [],
"items": {}
}
}
},
"affinity": {
"type": "object",
"description": "Affinity for pod assignment. Evaluated as a template.",
"default": {}
},
"nodeSelector": {
"type": "object",
"description": "Node labels for pod assignment. Evaluated as a template.",
"default": {}
},
"tolerations": {
"type": "array",
"description": "Tolerations for pod assignment. Evaluated as a template.",
"default": [],
"items": {}
},
"podSecurityContext": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enabled pod Security Context",
"default": true
},
"fsGroup": {
"type": "number",
"description": "Set pod Security Context fsGroup",
"default": 1001
}
}
},
"containerSecurityContext": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enabled container Security Context",
"default": true
},
"runAsUser": {
"type": "number",
"description": "Set container Security Context runAsUser",
"default": 1001
},
"runAsNonRoot": {
"type": "boolean",
"description": "Set container Security Context runAsNonRoot",
"default": true
}
}
},
"command": {
"type": "array",
"description": "Override default container command (useful when using custom images)",
"default": [],
"items": {}
},
"args": {
"type": "array",
"description": "Override default container args (useful when using custom images)",
"default": [],
"items": {}
},
"lifecycleHooks": {
"type": "object",
"description": "for the container to automate configuration before or after startup",
"default": {}
},
"extraEnvVars": {
"type": "array",
"description": "Array with extra environment variables for the Tensorflow Serving container(s)",
"default": [],
"items": {}
},
"extraEnvVarsCM": {
"type": "string",
"description": "Name of existing ConfigMap containing extra env variables for the Tensorflow Serving container(s)",
"default": ""
},
"extraEnvVarsSecret": {
"type": "string",
"description": "Name of existing Secret containing extra env variables for the Tensorflow Serving container(s)",
"default": ""
},
"extraVolumes": {
"type": "array",
"description": "Optionally specify extra list of additional volumes",
"default": [],
"items": {}
},
"extraVolumeMounts": {
"type": "array",
"description": "Optionally specify extra list of additional volumeMounts for the Tensorflow Serving container(s)",
"default": [],
"items": {}
},
"sidecars": {
"type": "array",
"description": "Add additional sidecar containers to the pod",
"default": [],
"items": {}
},
"initContainers": {
"type": "array",
"description": "Add additional init containers to the pod",
"default": [],
"items": {}
},
"updateStrategy": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Deployment strategy type.",
"default": "RollingUpdate"
}
}
},
"priorityClassName": {
"type": "string",
"description": "Pod's priorityClassName",
"default": ""
},
"schedulerName": {
"type": "string",
"description": "Name of the k8s scheduler (other than default)",
"default": ""
},
"topologySpreadConstraints": {
"type": "array",
"description": "Topology Spread Constraints for pod assignment",
"default": [],
"items": {}
},
"resources": {
"type": "object",
"properties": {
"limits": {
"type": "object",
"description": "The resources limits for the container",
"default": {}
},
"requests": {
"type": "object",
"description": "The requested resources for the container",
"default": {}
}
}
},
"startupProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable startupProbe",
"default": false
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for startupProbe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for startupProbe",
"default": 5
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for startupProbe",
"default": 5
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for startupProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for startupProbe",
"default": 1
}
}
},
"livenessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable livenessProbe",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for livenessProbe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for livenessProbe",
"default": 5
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for livenessProbe",
"default": 5
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for livenessProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for livenessProbe",
"default": 1
}
}
},
"readinessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable readinessProbe",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for readinessProbe",
"default": 15
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for readinessProbe",
"default": 5
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for readinessProbe",
"default": 5
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for readinessProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for readinessProbe",
"default": 1
}
}
},
"customStartupProbe": {
"type": "object",
"description": "Custom liveness probe",
"default": {}
},
"customLivenessProbe": {
"type": "object",
"description": "Custom liveness probe",
"default": {}
},
"customReadinessProbe": {
"type": "object",
"description": "Custom readiness probe",
"default": {}
},
"service": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Kubernetes Service type",
"default": "LoadBalancer"
},
"ports": {
"type": "object",
"properties": {
"server": {
"type": "number",
"description": "TensorFlow Serving server port",
"default": 8500
},
"restApi": {
"type": "number",
"description": "TensorFlow Serving Rest API port",
"default": 8501
}
}
},
"nodePorts": {
"type": "object",
"properties": {
"server": {
"type": "string",
"description": "Kubernetes server node port",
"default": ""
},
"restApi": {
"type": "string",
"description": "Kubernetes Rest API node port",
"default": ""
}
}
},
"clusterIP": {
"type": "string",
"description": "Service Cluster IP",
"default": ""
},
"loadBalancerIP": {
"type": "string",
"description": "Service Load Balancer IP",
"default": ""
},
"loadBalancerSourceRanges": {
"type": "array",
"description": "Service Load Balancer sources",
"default": [],
"items": {}
},
"externalTrafficPolicy": {
"type": "string",
"description": "Service external traffic policy",
"default": "Cluster"
},
"extraPorts": {
"type": "array",
"description": "Extra ports to expose (normally used with the `sidecar` value)",
"default": [],
"items": {}
},
"annotations": {
"type": "object",
"description": "Additional custom annotations for Service",
"default": {}
},
"sessionAffinity": {
"type": "string",
"description": "Session Affinity for Kubernetes service, can be \"None\" or \"ClientIP\"",
"default": "None"
},
"sessionAffinityConfig": {
"type": "object",
"description": "Additional settings for the sessionAffinity",
"default": {}
}
}
},
"metrics": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable Prometheus exporter to expose Tensorflow server metrics",
"default": false
},
"podAnnotations": {
"type": "object",
"properties": {
"prometheus": {
"type": "object",
"properties": {
"io/scrape": {
"type": "string",
"description": "",
"default": "true"
},
"io/path": {
"type": "string",
"description": "",
"default": "/monitoring/prometheus/metrics"
},
"io/port": {
"type": "string",
"description": "",
"default": "{{ .Values.containerPorts.restApi }}"
}
}
}
}
}
}
}
}
}