apiVersion: v1
data:
  openapi-v3-json-schema: '{"properties":{"addRevisionLabel":{"default":false,"description":"If
    addRevisionLabel is true, the appRevision label will be added to the underlying
    pods","title":"addRevisionLabel","type":"boolean"},"annotations":{"additionalProperties":{"type":"string"},"description":"Specify
    the annotations in the workload","title":"annotations","type":"object"},"cmd":{"description":"Commands
    to run in the container","items":{"type":"string"},"title":"cmd","type":"array"},"cpu":{"description":"Number
    of CPU units for the service, like `0.5` (0.5 CPU core), `1` (1 CPU core)","title":"cpu","type":"string"},"env":{"description":"Define
    arguments by using environment variables","items":{"properties":{"name":{"description":"Environment
    variable name","title":"name","type":"string"},"value":{"description":"The value
    of the environment variable","title":"value","type":"string"},"valueFrom":{"description":"Specifies
    a source the value of this var should come from","properties":{"configMapKeyRef":{"description":"Selects
    a key of a config map in the pod''s namespace","properties":{"key":{"description":"The
    key of the config map to select from. Must be a valid secret key","title":"key","type":"string"},"name":{"description":"The
    name of the config map in the pod''s namespace to select from","title":"name","type":"string"}},"required":["name","key"],"title":"configMapKeyRef","type":"object"},"secretKeyRef":{"description":"Selects
    a key of a secret in the pod''s namespace","properties":{"key":{"description":"The
    key of the secret to select from. Must be a valid secret key","title":"key","type":"string"},"name":{"description":"The
    name of the secret in the pod''s namespace to select from","title":"name","type":"string"}},"required":["name","key"],"title":"secretKeyRef","type":"object"}},"title":"valueFrom","type":"object"}},"required":["name"],"type":"object"},"title":"env","type":"array"},"exposeType":{"default":"ClusterIP","description":"Specify
    what kind of Service you want. options: \"ClusterIP\", \"NodePort\", \"LoadBalancer\",
    \"ExternalName\"","enum":["ClusterIP","NodePort","LoadBalancer","ExternalName"],"title":"exposeType","type":"string"},"image":{"description":"Which
    image would you like to use for your service","title":"image","type":"string"},"imagePullPolicy":{"description":"Specify
    image pull policy for your service","enum":["Always","Never","IfNotPresent"],"title":"imagePullPolicy","type":"string"},"imagePullSecrets":{"description":"Specify
    image pull secrets for your service","items":{"type":"string"},"title":"imagePullSecrets","type":"array"},"labels":{"additionalProperties":{"type":"string"},"description":"Specify
    the labels in the workload","title":"labels","type":"object"},"livenessProbe":{"description":"Instructions
    for assessing whether the container is alive.","properties":{"exec":{"description":"Instructions
    for assessing container health by executing a command. Either this attribute or
    the httpGet attribute or the tcpSocket attribute MUST be specified. This attribute
    is mutually exclusive with both the httpGet attribute and the tcpSocket attribute.","properties":{"command":{"description":"A
    command to be executed inside the container to assess its health. Each space delimited
    token of the command is a separate array element. Commands exiting 0 are considered
    to be successful probes, whilst all other exit codes are considered failures.","items":{"type":"string"},"title":"command","type":"array"}},"required":["command"],"title":"exec","type":"object"},"failureThreshold":{"default":3,"description":"Number
    of consecutive failures required to determine the container is not alive (liveness
    probe) or not ready (readiness probe).","title":"failureThreshold","type":"integer"},"hostAliases":{"description":"Specify
    the hostAliases to add","items":{"properties":{"hostnames":{"items":{"type":"string"},"title":"hostnames","type":"array"},"ip":{"title":"ip","type":"string"}},"required":["ip","hostnames"],"type":"object"},"title":"hostAliases","type":"array"},"httpGet":{"description":"Instructions
    for assessing container health by executing an HTTP GET request. Either this attribute
    or the exec attribute or the tcpSocket attribute MUST be specified. This attribute
    is mutually exclusive with both the exec attribute and the tcpSocket attribute.","properties":{"httpHeaders":{"items":{"properties":{"name":{"title":"name","type":"string"},"value":{"title":"value","type":"string"}},"required":["name","value"],"type":"object"},"title":"httpHeaders","type":"array"},"path":{"description":"The
    endpoint, relative to the port, to which the HTTP GET request should be directed.","title":"path","type":"string"},"port":{"description":"The
    TCP socket within the container to which the HTTP GET request should be directed.","title":"port","type":"integer"}},"required":["path","port"],"title":"httpGet","type":"object"},"initialDelaySeconds":{"default":0,"description":"Number
    of seconds after the container is started before the first probe is initiated.","title":"initialDelaySeconds","type":"integer"},"periodSeconds":{"default":10,"description":"How
    often, in seconds, to execute the probe.","title":"periodSeconds","type":"integer"},"successThreshold":{"default":1,"description":"Minimum
    consecutive successes for the probe to be considered successful after having failed.","title":"successThreshold","type":"integer"},"tcpSocket":{"description":"Instructions
    for assessing container health by probing a TCP socket. Either this attribute
    or the exec attribute or the httpGet attribute MUST be specified. This attribute
    is mutually exclusive with both the exec attribute and the httpGet attribute.","properties":{"port":{"description":"The
    TCP socket within the container that should be probed to assess container health.","title":"port","type":"integer"}},"required":["port"],"title":"tcpSocket","type":"object"},"timeoutSeconds":{"default":1,"description":"Number
    of seconds after which the probe times out.","title":"timeoutSeconds","type":"integer"}},"required":["hostAliases","initialDelaySeconds","periodSeconds","timeoutSeconds","successThreshold","failureThreshold"],"title":"livenessProbe","type":"object"},"memory":{"description":"Specifies
    the attributes of the memory resource required for the container.","title":"memory","type":"string"},"port":{"description":"Deprecated
    field, please use ports instead","title":"port","type":"integer"},"ports":{"description":"Which
    ports do you want customer traffic sent to, defaults to 80","items":{"properties":{"expose":{"default":false,"description":"Specify
    if the port should be exposed","title":"expose","type":"boolean"},"name":{"description":"Name
    of the port","title":"name","type":"string"},"port":{"description":"Number of
    port to expose on the pod''s IP address","title":"port","type":"integer"},"protocol":{"default":"TCP","description":"Protocol
    for port. Must be UDP, TCP, or SCTP","enum":["TCP","UDP","SCTP"],"title":"protocol","type":"string"}},"required":["port","protocol","expose"],"type":"object"},"title":"ports","type":"array"},"readinessProbe":{"description":"Instructions
    for assessing whether the container is in a suitable state to serve traffic.","properties":{"exec":{"description":"Instructions
    for assessing container health by executing a command. Either this attribute or
    the httpGet attribute or the tcpSocket attribute MUST be specified. This attribute
    is mutually exclusive with both the httpGet attribute and the tcpSocket attribute.","properties":{"command":{"description":"A
    command to be executed inside the container to assess its health. Each space delimited
    token of the command is a separate array element. Commands exiting 0 are considered
    to be successful probes, whilst all other exit codes are considered failures.","items":{"type":"string"},"title":"command","type":"array"}},"required":["command"],"title":"exec","type":"object"},"failureThreshold":{"default":3,"description":"Number
    of consecutive failures required to determine the container is not alive (liveness
    probe) or not ready (readiness probe).","title":"failureThreshold","type":"integer"},"hostAliases":{"description":"Specify
    the hostAliases to add","items":{"properties":{"hostnames":{"items":{"type":"string"},"title":"hostnames","type":"array"},"ip":{"title":"ip","type":"string"}},"required":["ip","hostnames"],"type":"object"},"title":"hostAliases","type":"array"},"httpGet":{"description":"Instructions
    for assessing container health by executing an HTTP GET request. Either this attribute
    or the exec attribute or the tcpSocket attribute MUST be specified. This attribute
    is mutually exclusive with both the exec attribute and the tcpSocket attribute.","properties":{"httpHeaders":{"items":{"properties":{"name":{"title":"name","type":"string"},"value":{"title":"value","type":"string"}},"required":["name","value"],"type":"object"},"title":"httpHeaders","type":"array"},"path":{"description":"The
    endpoint, relative to the port, to which the HTTP GET request should be directed.","title":"path","type":"string"},"port":{"description":"The
    TCP socket within the container to which the HTTP GET request should be directed.","title":"port","type":"integer"}},"required":["path","port"],"title":"httpGet","type":"object"},"initialDelaySeconds":{"default":0,"description":"Number
    of seconds after the container is started before the first probe is initiated.","title":"initialDelaySeconds","type":"integer"},"periodSeconds":{"default":10,"description":"How
    often, in seconds, to execute the probe.","title":"periodSeconds","type":"integer"},"successThreshold":{"default":1,"description":"Minimum
    consecutive successes for the probe to be considered successful after having failed.","title":"successThreshold","type":"integer"},"tcpSocket":{"description":"Instructions
    for assessing container health by probing a TCP socket. Either this attribute
    or the exec attribute or the httpGet attribute MUST be specified. This attribute
    is mutually exclusive with both the exec attribute and the httpGet attribute.","properties":{"port":{"description":"The
    TCP socket within the container that should be probed to assess container health.","title":"port","type":"integer"}},"required":["port"],"title":"tcpSocket","type":"object"},"timeoutSeconds":{"default":1,"description":"Number
    of seconds after which the probe times out.","title":"timeoutSeconds","type":"integer"}},"required":["hostAliases","initialDelaySeconds","periodSeconds","timeoutSeconds","successThreshold","failureThreshold"],"title":"readinessProbe","type":"object"},"volumeMounts":{"properties":{"configMap":{"description":"Mount
    ConfigMap type volume","items":{"properties":{"cmName":{"title":"cmName","type":"string"},"defaultMode":{"default":420,"title":"defaultMode","type":"integer"},"items":{"items":{"properties":{"key":{"title":"key","type":"string"},"mode":{"default":511,"title":"mode","type":"integer"},"path":{"title":"path","type":"string"}},"required":["path","key","mode"],"type":"object"},"title":"items","type":"array"},"mountPath":{"title":"mountPath","type":"string"},"name":{"title":"name","type":"string"}},"required":["name","mountPath","defaultMode","cmName"],"type":"object"},"title":"configMap","type":"array"},"emptyDir":{"description":"Mount
    EmptyDir type volume","items":{"properties":{"medium":{"default":"","enum":["","Memory"],"title":"medium","type":"string"},"mountPath":{"title":"mountPath","type":"string"},"name":{"title":"name","type":"string"}},"required":["name","mountPath","medium"],"type":"object"},"title":"emptyDir","type":"array"},"hostPath":{"description":"Mount
    HostPath type volume","items":{"properties":{"mountPath":{"title":"mountPath","type":"string"},"name":{"title":"name","type":"string"},"path":{"title":"path","type":"string"}},"required":["path","name","mountPath"],"type":"object"},"title":"hostPath","type":"array"},"pvc":{"description":"Mount
    PVC type volume","items":{"properties":{"claimName":{"description":"The name of
    the PVC","title":"claimName","type":"string"},"mountPath":{"title":"mountPath","type":"string"},"name":{"title":"name","type":"string"}},"required":["name","mountPath","claimName"],"type":"object"},"title":"pvc","type":"array"},"secret":{"description":"Mount
    Secret type volume","items":{"properties":{"defaultMode":{"default":420,"title":"defaultMode","type":"integer"},"items":{"items":{"properties":{"key":{"title":"key","type":"string"},"mode":{"default":511,"title":"mode","type":"integer"},"path":{"title":"path","type":"string"}},"required":["path","key","mode"],"type":"object"},"title":"items","type":"array"},"mountPath":{"title":"mountPath","type":"string"},"name":{"title":"name","type":"string"},"secretName":{"title":"secretName","type":"string"}},"required":["name","mountPath","defaultMode","secretName"],"type":"object"},"title":"secret","type":"array"}},"title":"volumeMounts","type":"object"},"volumes":{"description":"Deprecated
    field, use volumeMounts instead.","items":{"properties":{"mountPath":{"title":"mountPath","type":"string"},"name":{"title":"name","type":"string"},"type":{"description":"Specify
    volume type, options: \"pvc\",\"configMap\",\"secret\",\"emptyDir\"","enum":["pvc","configMap","secret","emptyDir"],"title":"type","type":"string"}},"required":["name","mountPath","type"],"type":"object"},"title":"volumes","type":"array"}},"required":["addRevisionLabel","image","exposeType"],"type":"object"}'
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/managed-by: Helm
    definition.oam.dev: schema
    definition.oam.dev/name: webservice
  name: component-schema-webservice
  namespace: vela-system