From 43eefac4e9b6f7aca919020363cd7d500d99520d Mon Sep 17 00:00:00 2001 From: ryandawsonuk Date: Wed, 17 Jul 2019 11:21:27 +0100 Subject: [PATCH] add serviceAccount --- .../seldon-core-operator/templates/crd.yaml | 2403 +++++++---------- util/custom-resource-definitions/.gitignore | 1 + util/custom-resource-definitions/crd.tpl.json | 6 + 3 files changed, 934 insertions(+), 1476 deletions(-) diff --git a/helm-charts/seldon-core-operator/templates/crd.yaml b/helm-charts/seldon-core-operator/templates/crd.yaml index 93f8091bc7..f0d061cac0 100644 --- a/helm-charts/seldon-core-operator/templates/crd.yaml +++ b/helm-charts/seldon-core-operator/templates/crd.yaml @@ -1,14 +1,12 @@ apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition -metadata: - name: seldondeployments.machinelearning.seldon.io +metadata: {name: seldondeployments.machinelearning.seldon.io} spec: group: machinelearning.seldon.io names: kind: SeldonDeployment plural: seldondeployments - shortNames: - - sdep + shortNames: [sdep] singular: seldondeployment scope: Namespaced subresources: @@ -18,333 +16,168 @@ spec: properties: spec: properties: - annotations: - type: object - name: - type: string - oauth_key: - type: string - oauth_secret: - type: string + annotations: {type: object} + name: {type: string} + oauth_key: {type: string} + oauth_secret: {type: string} predictors: items: properties: - annotations: - type: object + annotations: {type: object} componentSpecs: items: properties: hpaSpec: properties: - maxReplicas: - format: int32 - type: integer + maxReplicas: {format: int32, type: integer} metrics: items: properties: external: properties: - metricName: - type: string + metricName: {type: string} metricSelector: properties: matchExpressions: items: properties: - key: - type: string - x-kubernetes-patch-merge-key: key - x-kubernetes-patch-strategy: merge - operator: - type: string + key: {type: string, x-kubernetes-patch-merge-key: key, + x-kubernetes-patch-strategy: merge} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchLabels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object type: object - targetAverageValue: - type: string - targetValue: - type: string - required: - - metricName + targetAverageValue: {type: string} + targetValue: {type: string} + required: [metricName] type: object object: properties: - averageValue: - type: string - metricName: - type: string + averageValue: {type: string} + metricName: {type: string} selector: properties: matchExpressions: items: properties: - key: - type: string - x-kubernetes-patch-merge-key: key - x-kubernetes-patch-strategy: merge - operator: - type: string + key: {type: string, x-kubernetes-patch-merge-key: key, + x-kubernetes-patch-strategy: merge} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchLabels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object type: object target: properties: - apiVersion: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name + apiVersion: {type: string} + kind: {type: string} + name: {type: string} + required: [kind, name] type: object - targetValue: - type: string - required: - - target - - metricName - - targetValue + targetValue: {type: string} + required: [target, metricName, targetValue] type: object pods: properties: - metricName: - type: string + metricName: {type: string} selector: properties: matchExpressions: items: properties: - key: - type: string - x-kubernetes-patch-merge-key: key - x-kubernetes-patch-strategy: merge - operator: - type: string + key: {type: string, x-kubernetes-patch-merge-key: key, + x-kubernetes-patch-strategy: merge} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchLabels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object type: object - targetAverageValue: - type: string - required: - - metricName - - targetAverageValue + targetAverageValue: {type: string} + required: [metricName, targetAverageValue] type: object resource: properties: - name: - type: string - targetAverageUtilization: - format: int32 - type: integer - targetAverageValue: - type: string - required: - - name + name: {type: string} + targetAverageUtilization: {format: int32, type: integer} + targetAverageValue: {type: string} + required: [name] type: object - type: - type: string - required: - - type + type: {type: string} + required: [type] type: object type: array - minReplicas: - format: int32 - type: integer + minReplicas: {format: int32, type: integer} type: object metadata: properties: annotations: - additionalProperties: - type: string + additionalProperties: {type: string} type: object - clusterName: - type: string - creationTimestamp: - format: date-time - type: string - deletionGracePeriodSeconds: - format: int64 - type: integer - deletionTimestamp: - format: date-time - type: string + clusterName: {type: string} + creationTimestamp: {format: date-time, type: string} + deletionGracePeriodSeconds: {format: int64, type: integer} + deletionTimestamp: {format: date-time, type: string} finalizers: - items: - type: string + items: {type: string} type: array x-kubernetes-patch-strategy: merge - generateName: - type: string - generation: - format: int64 - type: integer - initializers: - properties: - pending: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-patch-merge-key: name - x-kubernetes-patch-strategy: merge - result: - properties: - apiVersion: - type: string - code: - format: int32 - type: integer - details: - properties: - causes: - items: - properties: - field: - type: string - message: - type: string - reason: - type: string - type: object - type: array - group: - type: string - kind: - type: string - name: - type: string - retryAfterSeconds: - format: int32 - type: integer - uid: - type: string - type: object - kind: - type: string - message: - type: string - metadata: - properties: - continue: - type: string - remainingItemCount: - format: int64 - type: integer - resourceVersion: - type: string - selfLink: - type: string - type: object - reason: - type: string - status: - type: string - type: object - x-kubernetes-group-version-kind: - - group: '' - kind: Status - version: v1 - required: - - pending - type: object + generateName: {type: string} + generation: {format: int64, type: integer} labels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object managedFields: items: properties: - apiVersion: - type: string - fields: - type: object - manager: - type: string - operation: - type: string - time: - format: date-time - type: string + apiVersion: {type: string} + fields: {type: object} + manager: {type: string} + operation: {type: string} + time: {format: date-time, type: string} type: object type: array - name: - type: string - namespace: - type: string + name: {type: string} + namespace: {type: string} ownerReferences: items: properties: - apiVersion: - type: string - blockOwnerDeletion: - type: boolean - controller: - type: boolean - kind: - type: string - name: - type: string - uid: - type: string - required: - - apiVersion - - kind - - name - - uid + apiVersion: {type: string} + blockOwnerDeletion: {type: boolean} + controller: {type: boolean} + kind: {type: string} + name: {type: string} + uid: {type: string} + required: [apiVersion, kind, name, uid] type: object type: array x-kubernetes-patch-merge-key: uid x-kubernetes-patch-strategy: merge - resourceVersion: - type: string - selfLink: - type: string - uid: - type: string + resourceVersion: {type: string} + selfLink: {type: string} + uid: {type: string} type: object spec: properties: - activeDeadlineSeconds: - format: int64 - type: integer + activeDeadlineSeconds: {format: int64, type: integer} affinity: properties: nodeAffinity: @@ -357,42 +190,28 @@ spec: matchExpressions: items: properties: - key: - type: string - operator: - type: string + key: {type: string} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchFields: items: properties: - key: - type: string - operator: - type: string + key: {type: string} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array type: object - weight: - format: int32 - type: integer - required: - - weight - - preference + weight: {format: int32, type: integer} + required: [weight, preference] type: object type: array requiredDuringSchedulingIgnoredDuringExecution: @@ -403,39 +222,28 @@ spec: matchExpressions: items: properties: - key: - type: string - operator: - type: string + key: {type: string} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchFields: items: properties: - key: - type: string - operator: - type: string + key: {type: string} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array type: object type: array - required: - - nodeSelectorTerms + required: [nodeSelectorTerms] type: object type: object podAffinity: @@ -450,41 +258,27 @@ spec: matchExpressions: items: properties: - key: - type: string - x-kubernetes-patch-merge-key: key - x-kubernetes-patch-strategy: merge - operator: - type: string + key: {type: string, x-kubernetes-patch-merge-key: key, + x-kubernetes-patch-strategy: merge} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchLabels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object type: object namespaces: - items: - type: string + items: {type: string} type: array - topologyKey: - type: string - required: - - topologyKey + topologyKey: {type: string} + required: [topologyKey] type: object - weight: - format: int32 - type: integer - required: - - weight - - podAffinityTerm + weight: {format: int32, type: integer} + required: [weight, podAffinityTerm] type: object type: array requiredDuringSchedulingIgnoredDuringExecution: @@ -495,34 +289,24 @@ spec: matchExpressions: items: properties: - key: - type: string - x-kubernetes-patch-merge-key: key - x-kubernetes-patch-strategy: merge - operator: - type: string + key: {type: string, x-kubernetes-patch-merge-key: key, + x-kubernetes-patch-strategy: merge} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchLabels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object type: object namespaces: - items: - type: string + items: {type: string} type: array - topologyKey: - type: string - required: - - topologyKey + topologyKey: {type: string} + required: [topologyKey] type: object type: array type: object @@ -538,41 +322,27 @@ spec: matchExpressions: items: properties: - key: - type: string - x-kubernetes-patch-merge-key: key - x-kubernetes-patch-strategy: merge - operator: - type: string + key: {type: string, x-kubernetes-patch-merge-key: key, + x-kubernetes-patch-strategy: merge} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchLabels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object type: object namespaces: - items: - type: string + items: {type: string} type: array - topologyKey: - type: string - required: - - topologyKey + topologyKey: {type: string} + required: [topologyKey] type: object - weight: - format: int32 - type: integer - required: - - weight - - podAffinityTerm + weight: {format: int32, type: integer} + required: [weight, podAffinityTerm] type: object type: array requiredDuringSchedulingIgnoredDuringExecution: @@ -583,105 +353,74 @@ spec: matchExpressions: items: properties: - key: - type: string - x-kubernetes-patch-merge-key: key - x-kubernetes-patch-strategy: merge - operator: - type: string + key: {type: string, x-kubernetes-patch-merge-key: key, + x-kubernetes-patch-strategy: merge} + operator: {type: string} values: - items: - type: string + items: {type: string} type: array - required: - - key - - operator + required: [key, operator] type: object type: array matchLabels: - additionalProperties: - type: string + additionalProperties: {type: string} type: object type: object namespaces: - items: - type: string + items: {type: string} type: array - topologyKey: - type: string - required: - - topologyKey + topologyKey: {type: string} + required: [topologyKey] type: object type: array type: object type: object - automountServiceAccountToken: - type: boolean + automountServiceAccountToken: {type: boolean} containers: items: properties: args: - items: - type: string + items: {type: string} type: array command: - items: - type: string + items: {type: string} type: array env: items: properties: - name: - type: string - value: - type: string + name: {type: string} + value: {type: string} valueFrom: properties: configMapKeyRef: properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] type: object fieldRef: properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath + apiVersion: {type: string} + fieldPath: {type: string} + required: [fieldPath] type: object resourceFieldRef: properties: - containerName: - type: string - divisor: - type: string - resource: - type: string - required: - - resource + containerName: {type: string} + divisor: {type: string} + resource: {type: string} + required: [resource] type: object secretKeyRef: properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] type: object type: object - required: - - name + required: [name] type: object type: array x-kubernetes-patch-merge-key: name @@ -691,26 +430,19 @@ spec: properties: configMapRef: properties: - name: - type: string - optional: - type: boolean + name: {type: string} + optional: {type: boolean} type: object - prefix: - type: string + prefix: {type: string} secretRef: properties: - name: - type: string - optional: - type: boolean + name: {type: string} + optional: {type: boolean} type: object type: object type: array - image: - type: string - imagePullPolicy: - type: string + image: {type: string} + imagePullPolicy: {type: string} lifecycle: properties: postStart: @@ -718,45 +450,30 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object type: object preStop: @@ -764,45 +481,30 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object type: object type: object @@ -811,86 +513,50 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object - failureThreshold: - format: int32 - type: integer + failureThreshold: {format: int32, type: integer} httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer + initialDelaySeconds: {format: int32, type: integer} + periodSeconds: {format: int32, type: integer} + successThreshold: {format: int32, type: integer} tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object - timeoutSeconds: - format: int32 - type: integer + timeoutSeconds: {format: int32, type: integer} type: object - name: - type: string + name: {type: string} ports: items: properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - type: string - required: - - containerPort + containerPort: {format: int32, type: integer} + hostIP: {type: string} + hostPort: {format: int32, type: integer} + name: {type: string} + protocol: {type: string} + required: [containerPort] type: object type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol + x-kubernetes-list-map-keys: [containerPort, protocol] x-kubernetes-list-type: map x-kubernetes-patch-merge-key: containerPort x-kubernetes-patch-strategy: merge @@ -899,137 +565,84 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object - failureThreshold: - format: int32 - type: integer + failureThreshold: {format: int32, type: integer} httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer + initialDelaySeconds: {format: int32, type: integer} + periodSeconds: {format: int32, type: integer} + successThreshold: {format: int32, type: integer} tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object - timeoutSeconds: - format: int32 - type: integer + timeoutSeconds: {format: int32, type: integer} type: object resources: properties: - limits: - type: object - requests: - type: object + limits: {type: object} + requests: {type: object} type: object securityContext: properties: - allowPrivilegeEscalation: - type: boolean + allowPrivilegeEscalation: {type: boolean} capabilities: properties: add: - items: - type: string + items: {type: string} type: array drop: - items: - type: string + items: {type: string} type: array type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer + privileged: {type: boolean} + procMount: {type: string} + readOnlyRootFilesystem: {type: boolean} + runAsGroup: {format: int64, type: integer} + runAsNonRoot: {type: boolean} + runAsUser: {format: int64, type: integer} seLinuxOptions: properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string + level: {type: string} + role: {type: string} + type: {type: string} + user: {type: string} type: object windowsOptions: properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string + gmsaCredentialSpec: {type: string} + gmsaCredentialSpecName: {type: string} type: object type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean + stdin: {type: boolean} + stdinOnce: {type: boolean} + terminationMessagePath: {type: string} + terminationMessagePolicy: {type: string} + tty: {type: boolean} volumeDevices: items: properties: - devicePath: - type: string - name: - type: string - required: - - name - - devicePath + devicePath: {type: string} + name: {type: string} + required: [name, devicePath] type: object type: array x-kubernetes-patch-merge-key: devicePath @@ -1037,29 +650,19 @@ spec: volumeMounts: items: properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - name - - mountPath + mountPath: {type: string} + mountPropagation: {type: string} + name: {type: string} + readOnly: {type: boolean} + subPath: {type: string} + subPathExpr: {type: string} + required: [name, mountPath] type: object type: array x-kubernetes-patch-merge-key: mountPath x-kubernetes-patch-strategy: merge - workingDir: - type: string - required: - - name + workingDir: {type: string} + required: [name] type: object type: array x-kubernetes-patch-merge-key: name @@ -1067,53 +670,40 @@ spec: dnsConfig: properties: nameservers: - items: - type: string + items: {type: string} type: array options: items: properties: - name: - type: string - value: - type: string + name: {type: string} + value: {type: string} type: object type: array searches: - items: - type: string + items: {type: string} type: array type: object - dnsPolicy: - type: string - enableServiceLinks: - type: boolean + dnsPolicy: {type: string} + enableServiceLinks: {type: boolean} hostAliases: items: properties: hostnames: - items: - type: string + items: {type: string} type: array - ip: - type: string + ip: {type: string} type: object type: array x-kubernetes-patch-merge-key: ip x-kubernetes-patch-strategy: merge - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - hostname: - type: string + hostIPC: {type: boolean} + hostNetwork: {type: boolean} + hostPID: {type: boolean} + hostname: {type: string} imagePullSecrets: items: properties: - name: - type: string + name: {type: string} type: object type: array x-kubernetes-patch-merge-key: name @@ -1122,67 +712,47 @@ spec: items: properties: args: - items: - type: string + items: {type: string} type: array command: - items: - type: string + items: {type: string} type: array env: items: properties: - name: - type: string - value: - type: string + name: {type: string} + value: {type: string} valueFrom: properties: configMapKeyRef: properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] type: object fieldRef: properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath + apiVersion: {type: string} + fieldPath: {type: string} + required: [fieldPath] type: object resourceFieldRef: properties: - containerName: - type: string - divisor: - type: string - resource: - type: string - required: - - resource + containerName: {type: string} + divisor: {type: string} + resource: {type: string} + required: [resource] type: object secretKeyRef: properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] type: object type: object - required: - - name + required: [name] type: object type: array x-kubernetes-patch-merge-key: name @@ -1192,26 +762,19 @@ spec: properties: configMapRef: properties: - name: - type: string - optional: - type: boolean + name: {type: string} + optional: {type: boolean} type: object - prefix: - type: string + prefix: {type: string} secretRef: properties: - name: - type: string - optional: - type: boolean + name: {type: string} + optional: {type: boolean} type: object type: object type: array - image: - type: string - imagePullPolicy: - type: string + image: {type: string} + imagePullPolicy: {type: string} lifecycle: properties: postStart: @@ -1219,45 +782,30 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object type: object preStop: @@ -1265,45 +813,30 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object type: object type: object @@ -1312,86 +845,50 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object - failureThreshold: - format: int32 - type: integer + failureThreshold: {format: int32, type: integer} httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer + initialDelaySeconds: {format: int32, type: integer} + periodSeconds: {format: int32, type: integer} + successThreshold: {format: int32, type: integer} tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object - timeoutSeconds: - format: int32 - type: integer + timeoutSeconds: {format: int32, type: integer} type: object - name: - type: string + name: {type: string} ports: items: properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - type: string - required: - - containerPort + containerPort: {format: int32, type: integer} + hostIP: {type: string} + hostPort: {format: int32, type: integer} + name: {type: string} + protocol: {type: string} + required: [containerPort] type: object type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol + x-kubernetes-list-map-keys: [containerPort, protocol] x-kubernetes-list-type: map x-kubernetes-patch-merge-key: containerPort x-kubernetes-patch-strategy: merge @@ -1400,137 +897,84 @@ spec: exec: properties: command: - items: - type: string + items: {type: string} type: array type: object - failureThreshold: - format: int32 - type: integer + failureThreshold: {format: int32, type: integer} httpGet: properties: - host: - type: string + host: {type: string} httpHeaders: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array - path: - type: string - port: - format: int-or-string - type: string - scheme: - type: string - required: - - port + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer + initialDelaySeconds: {format: int32, type: integer} + periodSeconds: {format: int32, type: integer} + successThreshold: {format: int32, type: integer} tcpSocket: properties: - host: - type: string - port: - format: int-or-string - type: string - required: - - port + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] type: object - timeoutSeconds: - format: int32 - type: integer + timeoutSeconds: {format: int32, type: integer} type: object resources: properties: - limits: - type: object - requests: - type: object + limits: {type: object} + requests: {type: object} type: object securityContext: properties: - allowPrivilegeEscalation: - type: boolean + allowPrivilegeEscalation: {type: boolean} capabilities: properties: add: - items: - type: string + items: {type: string} type: array drop: - items: - type: string + items: {type: string} type: array type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer + privileged: {type: boolean} + procMount: {type: string} + readOnlyRootFilesystem: {type: boolean} + runAsGroup: {format: int64, type: integer} + runAsNonRoot: {type: boolean} + runAsUser: {format: int64, type: integer} seLinuxOptions: properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string + level: {type: string} + role: {type: string} + type: {type: string} + user: {type: string} type: object windowsOptions: properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string + gmsaCredentialSpec: {type: string} + gmsaCredentialSpecName: {type: string} type: object type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean + stdin: {type: boolean} + stdinOnce: {type: boolean} + terminationMessagePath: {type: string} + terminationMessagePolicy: {type: string} + tty: {type: boolean} volumeDevices: items: properties: - devicePath: - type: string - name: - type: string - required: - - name - - devicePath + devicePath: {type: string} + name: {type: string} + required: [name, devicePath] type: object type: array x-kubernetes-patch-merge-key: devicePath @@ -1538,137 +982,84 @@ spec: volumeMounts: items: properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - name - - mountPath + mountPath: {type: string} + mountPropagation: {type: string} + name: {type: string} + readOnly: {type: boolean} + subPath: {type: string} + subPathExpr: {type: string} + required: [name, mountPath] type: object type: array x-kubernetes-patch-merge-key: mountPath x-kubernetes-patch-strategy: merge - workingDir: - type: string - required: - - name + workingDir: {type: string} + required: [name] type: object type: array x-kubernetes-patch-merge-key: name x-kubernetes-patch-strategy: merge - nodeName: - type: string + nodeName: {type: string} nodeSelector: - additionalProperties: - type: string - type: object - overhead: + additionalProperties: {type: string} type: object - preemptionPolicy: - type: string - priority: - format: int32 - type: integer - priorityClassName: - type: string + overhead: {type: object} + preemptionPolicy: {type: string} + priority: {format: int32, type: integer} + priorityClassName: {type: string} readinessGates: items: properties: - conditionType: - type: string - required: - - conditionType + conditionType: {type: string} + required: [conditionType] type: object type: array - restartPolicy: - type: string - runtimeClassName: - type: string - schedulerName: - type: string + restartPolicy: {type: string} + runtimeClassName: {type: string} + schedulerName: {type: string} securityContext: properties: - fsGroup: - format: int64 - type: integer - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer + fsGroup: {format: int64, type: integer} + runAsGroup: {format: int64, type: integer} + runAsNonRoot: {type: boolean} + runAsUser: {format: int64, type: integer} seLinuxOptions: properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string + level: {type: string} + role: {type: string} + type: {type: string} + user: {type: string} type: object supplementalGroups: - items: - format: int64 - type: integer + items: {format: int64, type: integer} type: array sysctls: items: properties: - name: - type: string - value: - type: string - required: - - name - - value + name: {type: string} + value: {type: string} + required: [name, value] type: object type: array windowsOptions: properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string + gmsaCredentialSpec: {type: string} + gmsaCredentialSpecName: {type: string} type: object type: object - serviceAccount: - type: string - serviceAccountName: - type: string - shareProcessNamespace: - type: boolean - subdomain: - type: string - terminationGracePeriodSeconds: - format: int64 - type: integer + serviceAccount: {type: string} + serviceAccountName: {type: string} + shareProcessNamespace: {type: boolean} + subdomain: {type: string} + terminationGracePeriodSeconds: {format: int64, type: integer} tolerations: items: properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string + effect: {type: string} + key: {type: string} + operator: {type: string} + tolerationSeconds: {format: int64, type: integer} + value: {type: string} type: object type: array volumes: @@ -1676,422 +1067,563 @@ spec: properties: awsElasticBlockStore: properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID + fsType: {type: string} + partition: {format: int32, type: integer} + readOnly: {type: boolean} + volumeID: {type: string} + required: [volumeID] type: object azureDisk: properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI + cachingMode: {type: string} + diskName: {type: string} + diskURI: {type: string} + fsType: {type: string} + kind: {type: string} + readOnly: {type: boolean} + required: [diskName, diskURI] type: object azureFile: properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName + readOnly: {type: boolean} + secretName: {type: string} + shareName: {type: string} + required: [secretName, shareName] type: object cephfs: properties: monitors: - items: - type: string + items: {type: string} type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string + path: {type: string} + readOnly: {type: boolean} + secretFile: {type: string} secretRef: properties: - name: - type: string + name: {type: string} type: object - user: - type: string - required: - - monitors + user: {type: string} + required: [monitors] type: object cinder: properties: - fsType: - type: string - readOnly: - type: boolean + fsType: {type: string} + readOnly: {type: boolean} secretRef: properties: - name: - type: string + name: {type: string} type: object - volumeID: - type: string - required: - - volumeID + volumeID: {type: string} + required: [volumeID] type: object csi: properties: - driver: - type: string - fsType: - type: string + driver: {type: string} + fsType: {type: string} nodePublishSecretRef: properties: - name: - type: string + name: {type: string} type: object - readOnly: - type: boolean + readOnly: {type: boolean} volumeAttributes: - additionalProperties: - type: string + additionalProperties: {type: string} type: object - required: - - driver + required: [driver] type: object emptyDir: properties: - medium: - type: string - sizeLimit: - type: string + medium: {type: string} + sizeLimit: {type: string} type: object fc: properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean + fsType: {type: string} + lun: {format: int32, type: integer} + readOnly: {type: boolean} targetWWNs: - items: - type: string + items: {type: string} type: array wwids: - items: - type: string + items: {type: string} type: array type: object flexVolume: properties: - driver: - type: string - fsType: - type: string + driver: {type: string} + fsType: {type: string} options: - additionalProperties: - type: string + additionalProperties: {type: string} type: object - readOnly: - type: boolean + readOnly: {type: boolean} secretRef: properties: - name: - type: string + name: {type: string} type: object - required: - - driver + required: [driver] type: object flocker: properties: - datasetName: - type: string - datasetUUID: - type: string + datasetName: {type: string} + datasetUUID: {type: string} type: object gcePersistentDisk: properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName + fsType: {type: string} + partition: {format: int32, type: integer} + pdName: {type: string} + readOnly: {type: boolean} + required: [pdName] type: object gitRepo: properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository + directory: {type: string} + repository: {type: string} + revision: {type: string} + required: [repository] type: object glusterfs: properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path + endpoints: {type: string} + path: {type: string} + readOnly: {type: boolean} + required: [endpoints, path] type: object hostPath: properties: - path: - type: string - type: - type: string - required: - - path + path: {type: string} + type: {type: string} + required: [path] type: object iscsi: properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer + chapAuthDiscovery: {type: boolean} + chapAuthSession: {type: boolean} + fsType: {type: string} + initiatorName: {type: string} + iqn: {type: string} + iscsiInterface: {type: string} + lun: {format: int32, type: integer} portals: - items: - type: string + items: {type: string} type: array - readOnly: - type: boolean + readOnly: {type: boolean} secretRef: properties: - name: - type: string + name: {type: string} type: object - targetPortal: - type: string - required: - - targetPortal - - iqn - - lun + targetPortal: {type: string} + required: [targetPortal, iqn, lun] type: object - name: - type: string + name: {type: string} nfs: properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - server - - path + path: {type: string} + readOnly: {type: boolean} + server: {type: string} + required: [server, path] type: object persistentVolumeClaim: properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName + claimName: {type: string} + readOnly: {type: boolean} + required: [claimName] type: object photonPersistentDisk: properties: - fsType: - type: string - pdID: - type: string - required: - - pdID + fsType: {type: string} + pdID: {type: string} + required: [pdID] type: object portworxVolume: properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID + fsType: {type: string} + readOnly: {type: boolean} + volumeID: {type: string} + required: [volumeID] type: object projected: properties: - defaultMode: - format: int32 - type: integer + defaultMode: {format: int32, type: integer} sources: items: properties: serviceAccountToken: properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path + audience: {type: string} + expirationSeconds: {format: int64, + type: integer} + path: {type: string} + required: [path] type: object type: object type: array - required: - - sources + required: [sources] type: object quobyte: properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume + group: {type: string} + readOnly: {type: boolean} + registry: {type: string} + tenant: {type: string} + user: {type: string} + volume: {type: string} + required: [registry, volume] type: object rbd: properties: - fsType: - type: string - image: - type: string - keyring: - type: string + fsType: {type: string} + image: {type: string} + keyring: {type: string} monitors: - items: - type: string + items: {type: string} type: array - pool: - type: string - readOnly: - type: boolean + pool: {type: string} + readOnly: {type: boolean} secretRef: properties: - name: - type: string + name: {type: string} type: object - user: - type: string - required: - - monitors - - image + user: {type: string} + required: [monitors, image] type: object scaleIO: properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean + fsType: {type: string} + gateway: {type: string} + protectionDomain: {type: string} + readOnly: {type: boolean} secretRef: properties: - name: - type: string + name: {type: string} type: object - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - system - - secretRef + sslEnabled: {type: boolean} + storageMode: {type: string} + storagePool: {type: string} + system: {type: string} + volumeName: {type: string} + required: [gateway, system, secretRef] type: object storageos: properties: - fsType: - type: string - readOnly: - type: boolean + fsType: {type: string} + readOnly: {type: boolean} secretRef: properties: - name: - type: string + name: {type: string} type: object - volumeName: - type: string - volumeNamespace: - type: string + volumeName: {type: string} + volumeNamespace: {type: string} type: object vsphereVolume: properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath + fsType: {type: string} + storagePolicyID: {type: string} + storagePolicyName: {type: string} + volumePath: {type: string} + required: [volumePath] type: object - required: - - name + required: [name] type: object type: array x-kubernetes-patch-merge-key: name x-kubernetes-patch-strategy: merge,retainKeys - required: - - containers + required: [containers] type: object type: object type: array + explainer: + properties: + containerSpec: + properties: + args: + items: {type: string} + type: array + command: + items: {type: string} + type: array + env: + items: + properties: + name: {type: string} + value: {type: string} + valueFrom: + properties: + configMapKeyRef: + properties: + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] + type: object + fieldRef: + properties: + apiVersion: {type: string} + fieldPath: {type: string} + required: [fieldPath] + type: object + resourceFieldRef: + properties: + containerName: {type: string} + divisor: {type: string} + resource: {type: string} + required: [resource] + type: object + secretKeyRef: + properties: + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] + type: object + type: object + required: [name] + type: object + type: array + x-kubernetes-patch-merge-key: name + x-kubernetes-patch-strategy: merge + envFrom: + items: + properties: + configMapRef: + properties: + name: {type: string} + optional: {type: boolean} + type: object + prefix: {type: string} + secretRef: + properties: + name: {type: string} + optional: {type: boolean} + type: object + type: object + type: array + image: {type: string} + imagePullPolicy: {type: string} + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: {type: string} + type: array + type: object + httpGet: + properties: + host: {type: string} + httpHeaders: + items: + properties: + name: {type: string} + value: {type: string} + required: [name, value] + type: object + type: array + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] + type: object + tcpSocket: + properties: + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: {type: string} + type: array + type: object + httpGet: + properties: + host: {type: string} + httpHeaders: + items: + properties: + name: {type: string} + value: {type: string} + required: [name, value] + type: object + type: array + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] + type: object + tcpSocket: + properties: + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: {type: string} + type: array + type: object + failureThreshold: {format: int32, type: integer} + httpGet: + properties: + host: {type: string} + httpHeaders: + items: + properties: + name: {type: string} + value: {type: string} + required: [name, value] + type: object + type: array + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] + type: object + initialDelaySeconds: {format: int32, type: integer} + periodSeconds: {format: int32, type: integer} + successThreshold: {format: int32, type: integer} + tcpSocket: + properties: + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] + type: object + timeoutSeconds: {format: int32, type: integer} + type: object + name: {type: string} + ports: + items: + properties: + containerPort: {format: int32, type: integer} + hostIP: {type: string} + hostPort: {format: int32, type: integer} + name: {type: string} + protocol: {type: string} + required: [containerPort] + type: object + type: array + x-kubernetes-list-map-keys: [containerPort, protocol] + x-kubernetes-list-type: map + x-kubernetes-patch-merge-key: containerPort + x-kubernetes-patch-strategy: merge + readinessProbe: + properties: + exec: + properties: + command: + items: {type: string} + type: array + type: object + failureThreshold: {format: int32, type: integer} + httpGet: + properties: + host: {type: string} + httpHeaders: + items: + properties: + name: {type: string} + value: {type: string} + required: [name, value] + type: object + type: array + path: {type: string} + port: {format: int-or-string, type: string} + scheme: {type: string} + required: [port] + type: object + initialDelaySeconds: {format: int32, type: integer} + periodSeconds: {format: int32, type: integer} + successThreshold: {format: int32, type: integer} + tcpSocket: + properties: + host: {type: string} + port: {format: int-or-string, type: string} + required: [port] + type: object + timeoutSeconds: {format: int32, type: integer} + type: object + resources: + properties: + limits: {type: object} + requests: {type: object} + type: object + securityContext: + properties: + allowPrivilegeEscalation: {type: boolean} + capabilities: + properties: + add: + items: {type: string} + type: array + drop: + items: {type: string} + type: array + type: object + privileged: {type: boolean} + procMount: {type: string} + readOnlyRootFilesystem: {type: boolean} + runAsGroup: {format: int64, type: integer} + runAsNonRoot: {type: boolean} + runAsUser: {format: int64, type: integer} + seLinuxOptions: + properties: + level: {type: string} + role: {type: string} + type: {type: string} + user: {type: string} + type: object + windowsOptions: + properties: + gmsaCredentialSpec: {type: string} + gmsaCredentialSpecName: {type: string} + type: object + type: object + stdin: {type: boolean} + stdinOnce: {type: boolean} + terminationMessagePath: {type: string} + terminationMessagePolicy: {type: string} + tty: {type: boolean} + volumeDevices: + items: + properties: + devicePath: {type: string} + name: {type: string} + required: [name, devicePath] + type: object + type: array + x-kubernetes-patch-merge-key: devicePath + x-kubernetes-patch-strategy: merge + volumeMounts: + items: + properties: + mountPath: {type: string} + mountPropagation: {type: string} + name: {type: string} + readOnly: {type: boolean} + subPath: {type: string} + subPathExpr: {type: string} + required: [name, mountPath] + type: object + type: array + x-kubernetes-patch-merge-key: mountPath + x-kubernetes-patch-strategy: merge + workingDir: {type: string} + required: [name] + type: object + modelUri: {type: string} + serviceAccountName: {type: string} + type: {type: string} + type: object graph: properties: children: @@ -2105,204 +1637,123 @@ spec: type: array endpoint: properties: - service_host: - type: string - service_port: - type: integer + service_host: {type: string} + service_port: {type: integer} type: - enum: - - REST - - GRPC + enum: [REST, GRPC] type: string implementation: - enum: - - UNKNOWN_IMPLEMENTATION - - SIMPLE_MODEL - - SIMPLE_ROUTER - - RANDOM_ABTEST - - AVERAGE_COMBINER + enum: [UNKNOWN_IMPLEMENTATION, SIMPLE_MODEL, SIMPLE_ROUTER, + RANDOM_ABTEST, AVERAGE_COMBINER, SKLEARN_SERVER, + XGBOOST_SERVER, TENSORFLOW_SERVER] type: string methods: items: - enum: - - TRANSFORM_INPUT - - TRANSFORM_OUTPUT - - ROUTE - - AGGREGATE - - SEND_FEEDBACK + enum: [TRANSFORM_INPUT, TRANSFORM_OUTPUT, ROUTE, + AGGREGATE, SEND_FEEDBACK] type: string type: array - modelUri: - type: string - name: - type: string + modelUri: {type: string} + name: {type: string} + serviceAccountName: {type: string} type: - enum: - - UNKNOWN_TYPE - - ROUTER - - COMBINER - - MODEL - - TRANSFORMER - - OUTPUT_TRANSFORMER + enum: [UNKNOWN_TYPE, ROUTER, COMBINER, MODEL, + TRANSFORMER, OUTPUT_TRANSFORMER] type: string type: array endpoint: properties: - service_host: - type: string - service_port: - type: integer + service_host: {type: string} + service_port: {type: integer} type: - enum: - - REST - - GRPC + enum: [REST, GRPC] type: string implementation: - enum: - - UNKNOWN_IMPLEMENTATION - - SIMPLE_MODEL - - SIMPLE_ROUTER - - RANDOM_ABTEST - - AVERAGE_COMBINER + enum: [UNKNOWN_IMPLEMENTATION, SIMPLE_MODEL, SIMPLE_ROUTER, + RANDOM_ABTEST, AVERAGE_COMBINER, SKLEARN_SERVER, XGBOOST_SERVER, + TENSORFLOW_SERVER] type: string methods: items: - enum: - - TRANSFORM_INPUT - - TRANSFORM_OUTPUT - - ROUTE - - AGGREGATE - - SEND_FEEDBACK + enum: [TRANSFORM_INPUT, TRANSFORM_OUTPUT, ROUTE, AGGREGATE, + SEND_FEEDBACK] type: string type: array - name: - type: string + name: {type: string} type: - enum: - - UNKNOWN_TYPE - - ROUTER - - COMBINER - - MODEL - - TRANSFORMER - - OUTPUT_TRANSFORMER + enum: [UNKNOWN_TYPE, ROUTER, COMBINER, MODEL, TRANSFORMER, + OUTPUT_TRANSFORMER] type: string type: array endpoint: properties: - service_host: - type: string - service_port: - type: integer + service_host: {type: string} + service_port: {type: integer} type: - enum: - - REST - - GRPC + enum: [REST, GRPC] type: string implementation: - enum: - - UNKNOWN_IMPLEMENTATION - - SIMPLE_MODEL - - SIMPLE_ROUTER - - RANDOM_ABTEST - - AVERAGE_COMBINER - - SKLEARN_SERVER - - XGBOOST_SERVER - - TENSORFLOW_SERVER + enum: [UNKNOWN_IMPLEMENTATION, SIMPLE_MODEL, SIMPLE_ROUTER, + RANDOM_ABTEST, AVERAGE_COMBINER, SKLEARN_SERVER, XGBOOST_SERVER, + TENSORFLOW_SERVER] type: string methods: items: - enum: - - TRANSFORM_INPUT - - TRANSFORM_OUTPUT - - ROUTE - - AGGREGATE - - SEND_FEEDBACK + enum: [TRANSFORM_INPUT, TRANSFORM_OUTPUT, ROUTE, AGGREGATE, + SEND_FEEDBACK] type: string type: array - name: - type: string + name: {type: string} type: - enum: - - UNKNOWN_TYPE - - ROUTER - - COMBINER - - MODEL - - TRANSFORMER - - OUTPUT_TRANSFORMER + enum: [UNKNOWN_TYPE, ROUTER, COMBINER, MODEL, TRANSFORMER, + OUTPUT_TRANSFORMER] type: string - labels: - type: object - name: - type: string - replicas: - type: integer + labels: {type: object} + name: {type: string} + replicas: {type: integer} svcOrchSpec: properties: env: items: properties: - name: - type: string - value: - type: string + name: {type: string} + value: {type: string} valueFrom: properties: configMapKeyRef: properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] fieldRef: properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath + apiVersion: {type: string} + fieldPath: {type: string} + required: [fieldPath] resourceFieldRef: properties: - containerName: - type: string - divisor: - type: string - resource: - type: string - required: - - resource + containerName: {type: string} + divisor: {type: string} + resource: {type: string} + required: [resource] secretKeyRef: properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - required: - - name + key: {type: string} + name: {type: string} + optional: {type: boolean} + required: [key] + required: [name] type: array x-kubernetes-patch-merge-key: name x-kubernetes-patch-strategy: merge resources: properties: - limits: - additionalProperties: true - type: object - requests: - additionalProperties: true - type: object + limits: {additionalProperties: true, type: object} + requests: {additionalProperties: true, type: object} type: object type: array version: v1alpha2 versions: - - name: v1alpha2 - served: true - storage: true + - {name: v1alpha2, served: true, storage: true} diff --git a/util/custom-resource-definitions/.gitignore b/util/custom-resource-definitions/.gitignore index 627e132060..82d457a0dc 100644 --- a/util/custom-resource-definitions/.gitignore +++ b/util/custom-resource-definitions/.gitignore @@ -2,5 +2,6 @@ swagger.json pod-spec.json hpa-spec.json object-meta.json +container.json crd.yaml \ No newline at end of file diff --git a/util/custom-resource-definitions/crd.tpl.json b/util/custom-resource-definitions/crd.tpl.json index fd88e86e33..cbd3bfce78 100644 --- a/util/custom-resource-definitions/crd.tpl.json +++ b/util/custom-resource-definitions/crd.tpl.json @@ -76,6 +76,9 @@ "modelUri" : { "type": "string" }, + "serviceAccountName": { + "type": "string" + }, "implementation": { "enum": [ "UNKNOWN_IMPLEMENTATION", @@ -285,6 +288,9 @@ "modelUri": { "type": "string" }, + "serviceAccountName": { + "type": "string" + }, "type": { "type": "string" }