{ "consumes": [ "application/json" ], "produces": [ "application/json" ], "schemes": [ "http" ], "swagger": "2.0", "info": { "description": "Workflow Service API performs CRUD actions against application resources", "title": "Argo", "version": "latest" }, "host": "localhost:2746", "paths": { "/api/v1/archived-workflows": { "get": { "tags": [ "ArchivedWorkflowService" ], "operationId": "ListArchivedWorkflows", "parameters": [ { "type": "string", "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", "name": "listOptions.labelSelector", "in": "query" }, { "type": "string", "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", "name": "listOptions.fieldSelector", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", "name": "listOptions.watch", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\nIf the feature gate WatchBookmarks is not enabled in apiserver,\nthis field is ignored.\n\nThis field is beta.\n\n+optional", "name": "listOptions.allowWatchBookmarks", "in": "query" }, { "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource.\nDefaults to changes from the beginning of history.\nWhen specified for list:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.\n+optional.", "name": "listOptions.resourceVersion", "in": "query" }, { "type": "string", "format": "int64", "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", "name": "listOptions.timeoutSeconds", "in": "query" }, { "type": "string", "format": "int64", "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", "name": "listOptions.limit", "in": "query" }, { "type": "string", "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", "name": "listOptions.continue", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowList" } } } } }, "/api/v1/archived-workflows/{uid}": { "get": { "tags": [ "ArchivedWorkflowService" ], "operationId": "GetArchivedWorkflow", "parameters": [ { "type": "string", "name": "uid", "in": "path", "required": true } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } }, "delete": { "tags": [ "ArchivedWorkflowService" ], "operationId": "DeleteArchivedWorkflow", "parameters": [ { "type": "string", "name": "uid", "in": "path", "required": true } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArchivedWorkflowDeletedResponse" } } } } }, "/api/v1/cron-workflows/{namespace}": { "get": { "tags": [ "CronWorkflowService" ], "operationId": "ListCronWorkflows", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", "name": "listOptions.labelSelector", "in": "query" }, { "type": "string", "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", "name": "listOptions.fieldSelector", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", "name": "listOptions.watch", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\nIf the feature gate WatchBookmarks is not enabled in apiserver,\nthis field is ignored.\n\nThis field is beta.\n\n+optional", "name": "listOptions.allowWatchBookmarks", "in": "query" }, { "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource.\nDefaults to changes from the beginning of history.\nWhen specified for list:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.\n+optional.", "name": "listOptions.resourceVersion", "in": "query" }, { "type": "string", "format": "int64", "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", "name": "listOptions.timeoutSeconds", "in": "query" }, { "type": "string", "format": "int64", "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", "name": "listOptions.limit", "in": "query" }, { "type": "string", "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", "name": "listOptions.continue", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowList" } } } }, "post": { "tags": [ "CronWorkflowService" ], "operationId": "CreateCronWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/cronio.argoproj.workflow.v1alpha1.CreateCronWorkflowRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" } } } } }, "/api/v1/cron-workflows/{namespace}/lint": { "post": { "tags": [ "CronWorkflowService" ], "operationId": "LintCronWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/cronio.argoproj.workflow.v1alpha1.LintCronWorkflowRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" } } } } }, "/api/v1/cron-workflows/{namespace}/{name}": { "get": { "tags": [ "CronWorkflowService" ], "operationId": "GetCronWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "type": "string", "description": "When specified:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.", "name": "getOptions.resourceVersion", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" } } } }, "put": { "tags": [ "CronWorkflowService" ], "operationId": "UpdateCronWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/cronio.argoproj.workflow.v1alpha1.UpdateCronWorkflowRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" } } } }, "delete": { "tags": [ "CronWorkflowService" ], "operationId": "DeleteCronWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "type": "string", "format": "int64", "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", "name": "deleteOptions.gracePeriodSeconds", "in": "query" }, { "type": "string", "description": "Specifies the target UID.\n+optional.", "name": "deleteOptions.preconditions.uid", "in": "query" }, { "type": "string", "description": "Specifies the target ResourceVersion\n+optional.", "name": "deleteOptions.preconditions.resourceVersion", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", "name": "deleteOptions.orphanDependents", "in": "query" }, { "type": "string", "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", "name": "deleteOptions.propagationPolicy", "in": "query" }, { "type": "array", "items": { "type": "string" }, "collectionFormat": "multi", "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", "name": "deleteOptions.dryRun", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/cronio.argoproj.workflow.v1alpha1.CronWorkflowDeletedResponse" } } } } }, "/api/v1/info": { "get": { "tags": [ "InfoService" ], "operationId": "GetInfo", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.InfoResponse" } } } } }, "/api/v1/workflow-events/{namespace}": { "get": { "tags": [ "WorkflowService" ], "operationId": "WatchWorkflows", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", "name": "listOptions.labelSelector", "in": "query" }, { "type": "string", "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", "name": "listOptions.fieldSelector", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", "name": "listOptions.watch", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\nIf the feature gate WatchBookmarks is not enabled in apiserver,\nthis field is ignored.\n\nThis field is beta.\n\n+optional", "name": "listOptions.allowWatchBookmarks", "in": "query" }, { "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource.\nDefaults to changes from the beginning of history.\nWhen specified for list:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.\n+optional.", "name": "listOptions.resourceVersion", "in": "query" }, { "type": "string", "format": "int64", "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", "name": "listOptions.timeoutSeconds", "in": "query" }, { "type": "string", "format": "int64", "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", "name": "listOptions.limit", "in": "query" }, { "type": "string", "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", "name": "listOptions.continue", "in": "query" } ], "responses": { "200": { "description": "A successful response.(streaming responses)", "schema": { "$ref": "#/x-stream-definitions/io.argoproj.workflow.v1alpha1.WorkflowWatchEvent" } } } } }, "/api/v1/workflow-templates/{namespace}": { "get": { "tags": [ "WorkflowTemplateService" ], "operationId": "ListWorkflowTemplates", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", "name": "listOptions.labelSelector", "in": "query" }, { "type": "string", "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", "name": "listOptions.fieldSelector", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", "name": "listOptions.watch", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\nIf the feature gate WatchBookmarks is not enabled in apiserver,\nthis field is ignored.\n\nThis field is beta.\n\n+optional", "name": "listOptions.allowWatchBookmarks", "in": "query" }, { "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource.\nDefaults to changes from the beginning of history.\nWhen specified for list:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.\n+optional.", "name": "listOptions.resourceVersion", "in": "query" }, { "type": "string", "format": "int64", "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", "name": "listOptions.timeoutSeconds", "in": "query" }, { "type": "string", "format": "int64", "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", "name": "listOptions.limit", "in": "query" }, { "type": "string", "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", "name": "listOptions.continue", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateList" } } } }, "post": { "tags": [ "WorkflowTemplateService" ], "operationId": "CreateWorkflowTemplate", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateCreateRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } } } } }, "/api/v1/workflow-templates/{namespace}/lint": { "post": { "tags": [ "WorkflowTemplateService" ], "operationId": "LintWorkflowTemplate", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateLintRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } } } } }, "/api/v1/workflow-templates/{namespace}/{name}": { "get": { "tags": [ "WorkflowTemplateService" ], "operationId": "GetWorkflowTemplate", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "type": "string", "description": "When specified:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.", "name": "getOptions.resourceVersion", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } } } }, "put": { "tags": [ "WorkflowTemplateService" ], "operationId": "UpdateWorkflowTemplate", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateUpdateRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } } } }, "delete": { "tags": [ "WorkflowTemplateService" ], "operationId": "DeleteWorkflowTemplate", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "type": "string", "format": "int64", "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", "name": "deleteOptions.gracePeriodSeconds", "in": "query" }, { "type": "string", "description": "Specifies the target UID.\n+optional.", "name": "deleteOptions.preconditions.uid", "in": "query" }, { "type": "string", "description": "Specifies the target ResourceVersion\n+optional.", "name": "deleteOptions.preconditions.resourceVersion", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", "name": "deleteOptions.orphanDependents", "in": "query" }, { "type": "string", "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", "name": "deleteOptions.propagationPolicy", "in": "query" }, { "type": "array", "items": { "type": "string" }, "collectionFormat": "multi", "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", "name": "deleteOptions.dryRun", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateDeleteResponse" } } } } }, "/api/v1/workflows/{namespace}": { "get": { "tags": [ "WorkflowService" ], "operationId": "ListWorkflows", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", "name": "listOptions.labelSelector", "in": "query" }, { "type": "string", "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", "name": "listOptions.fieldSelector", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", "name": "listOptions.watch", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\nIf the feature gate WatchBookmarks is not enabled in apiserver,\nthis field is ignored.\n\nThis field is beta.\n\n+optional", "name": "listOptions.allowWatchBookmarks", "in": "query" }, { "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource.\nDefaults to changes from the beginning of history.\nWhen specified for list:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.\n+optional.", "name": "listOptions.resourceVersion", "in": "query" }, { "type": "string", "format": "int64", "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", "name": "listOptions.timeoutSeconds", "in": "query" }, { "type": "string", "format": "int64", "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", "name": "listOptions.limit", "in": "query" }, { "type": "string", "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", "name": "listOptions.continue", "in": "query" }, { "type": "string", "description": "Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\".", "name": "fields", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowList" } } } }, "post": { "tags": [ "WorkflowService" ], "operationId": "CreateWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowCreateRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } } }, "/api/v1/workflows/{namespace}/lint": { "post": { "tags": [ "WorkflowService" ], "operationId": "LintWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowLintRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } } }, "/api/v1/workflows/{namespace}/{name}": { "get": { "tags": [ "WorkflowService" ], "operationId": "GetWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "type": "string", "description": "When specified:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.", "name": "getOptions.resourceVersion", "in": "query" }, { "type": "string", "description": "Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\".", "name": "fields", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } }, "delete": { "tags": [ "WorkflowService" ], "operationId": "DeleteWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "type": "string", "format": "int64", "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", "name": "deleteOptions.gracePeriodSeconds", "in": "query" }, { "type": "string", "description": "Specifies the target UID.\n+optional.", "name": "deleteOptions.preconditions.uid", "in": "query" }, { "type": "string", "description": "Specifies the target ResourceVersion\n+optional.", "name": "deleteOptions.preconditions.resourceVersion", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", "name": "deleteOptions.orphanDependents", "in": "query" }, { "type": "string", "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", "name": "deleteOptions.propagationPolicy", "in": "query" }, { "type": "array", "items": { "type": "string" }, "collectionFormat": "multi", "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", "name": "deleteOptions.dryRun", "in": "query" } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowDeleteResponse" } } } } }, "/api/v1/workflows/{namespace}/{name}/resubmit": { "put": { "tags": [ "WorkflowService" ], "operationId": "ResubmitWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowResubmitRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } } }, "/api/v1/workflows/{namespace}/{name}/resume": { "put": { "tags": [ "WorkflowService" ], "operationId": "ResumeWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowResumeRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } } }, "/api/v1/workflows/{namespace}/{name}/retry": { "put": { "tags": [ "WorkflowService" ], "operationId": "RetryWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowRetryRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } } }, "/api/v1/workflows/{namespace}/{name}/suspend": { "put": { "tags": [ "WorkflowService" ], "operationId": "SuspendWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSuspendRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } } }, "/api/v1/workflows/{namespace}/{name}/terminate": { "put": { "tags": [ "WorkflowService" ], "operationId": "TerminateWorkflow", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTerminateRequest" } } ], "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } } } }, "/api/v1/workflows/{namespace}/{name}/{podName}/log": { "get": { "tags": [ "WorkflowService" ], "operationId": "PodLogs", "parameters": [ { "type": "string", "name": "namespace", "in": "path", "required": true }, { "type": "string", "name": "name", "in": "path", "required": true }, { "type": "string", "name": "podName", "in": "path", "required": true }, { "type": "string", "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.\n+optional.", "name": "logOptions.container", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Follow the log stream of the pod. Defaults to false.\n+optional.", "name": "logOptions.follow", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "Return previous terminated container logs. Defaults to false.\n+optional.", "name": "logOptions.previous", "in": "query" }, { "type": "string", "format": "int64", "description": "A relative time in seconds before the current time from which to show logs. If this value\nprecedes the time a pod was started, only logs since the pod start will be returned.\nIf this value is in the future, no logs will be returned.\nOnly one of sinceSeconds or sinceTime may be specified.\n+optional.", "name": "logOptions.sinceSeconds", "in": "query" }, { "type": "string", "format": "int64", "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", "name": "logOptions.sinceTime.seconds", "in": "query" }, { "type": "integer", "format": "int32", "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", "name": "logOptions.sinceTime.nanos", "in": "query" }, { "type": "boolean", "format": "boolean", "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line\nof log output. Defaults to false.\n+optional.", "name": "logOptions.timestamps", "in": "query" }, { "type": "string", "format": "int64", "description": "If set, the number of lines from the end of the logs to show. If not specified,\nlogs are shown from the creation of the container or sinceSeconds or sinceTime\n+optional.", "name": "logOptions.tailLines", "in": "query" }, { "type": "string", "format": "int64", "description": "If set, the number of bytes to read from the server before terminating the\nlog output. This may not display a complete final line of logging, and may return\nslightly more or slightly less than the specified limit.\n+optional.", "name": "logOptions.limitBytes", "in": "query" } ], "responses": { "200": { "description": "A successful response.(streaming responses)", "schema": { "$ref": "#/x-stream-definitions/io.argoproj.workflow.v1alpha1.LogEntry" } } } } } }, "definitions": { "cronio.argoproj.workflow.v1alpha1.CreateCronWorkflowRequest": { "type": "object", "properties": { "createOptions": { "$ref": "#/definitions/io.k8s.api.core.v1.CreateOptions" }, "cronWorkflow": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" }, "namespace": { "type": "string" } } }, "cronio.argoproj.workflow.v1alpha1.CronWorkflowDeletedResponse": { "type": "object" }, "cronio.argoproj.workflow.v1alpha1.LintCronWorkflowRequest": { "type": "object", "properties": { "cronWorkflow": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" }, "namespace": { "type": "string" } } }, "cronio.argoproj.workflow.v1alpha1.UpdateCronWorkflowRequest": { "type": "object", "properties": { "cronWorkflow": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" }, "name": { "type": "string" }, "namespace": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.ArchiveStrategy": { "type": "object", "title": "ArchiveStrategy describes how to archive files/directory when saving artifacts", "properties": { "none": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NoneStrategy" }, "tar": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TarStrategy" } } }, "io.argoproj.workflow.v1alpha1.Arguments": { "type": "object", "title": "Arguments to a template", "properties": { "artifacts": { "type": "array", "title": "Artifacts is the list of artifacts to pass to the template or workflow\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" } }, "parameters": { "type": "array", "title": "Parameters is the list of parameters to pass to the template or workflow\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Parameter" } } } }, "io.argoproj.workflow.v1alpha1.Artifact": { "type": "object", "title": "Artifact indicates an artifact to place at a specified path", "properties": { "archive": { "description": "Archive controls how the artifact will be saved to the artifact repository.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArchiveStrategy" }, "artifactLocation": { "title": "ArtifactLocation contains the location of the artifact", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactLocation" }, "from": { "type": "string", "title": "From allows an artifact to reference an artifact from a previous step" }, "globalName": { "type": "string", "title": "GlobalName exports an output artifact to the global scope, making it available as\n'{{io.argoproj.workflow.v1alpha1.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts" }, "mode": { "description": "mode bits to use on this file, must be a value between 0 and 0777\nset when loading input artifacts.", "type": "integer", "format": "int32" }, "name": { "description": "name of the artifact. must be unique within a template's inputs/outputs.", "type": "string" }, "optional": { "type": "boolean", "format": "boolean", "title": "Make Artifacts optional, if Artifacts doesn't generate or exist" }, "path": { "type": "string", "title": "Path is the container path to the artifact" } } }, "io.argoproj.workflow.v1alpha1.ArtifactLocation": { "description": "ArtifactLocation describes a location for a single or multiple artifacts.\nIt is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname).\nIt is also used to describe the location of multiple artifacts such as the archive location\nof a single workflow step, which the executor will use as a default location to store its files.", "type": "object", "properties": { "archiveLogs": { "type": "boolean", "format": "boolean", "title": "ArchiveLogs indicates if the container logs should be archived" }, "artifactory": { "title": "Artifactory contains artifactory artifact location details", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactoryArtifact" }, "git": { "title": "Git contains git artifact location details", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GitArtifact" }, "hdfs": { "title": "HDFS contains HDFS artifact location details", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HDFSArtifact" }, "http": { "title": "HTTP contains HTTP artifact location details", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPArtifact" }, "oss": { "title": "OSS contains OSS artifact location details", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSArtifact" }, "raw": { "title": "Raw contains raw artifact location details", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RawArtifact" }, "s3": { "title": "S3 contains S3 artifact location details", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3Artifact" } } }, "io.argoproj.workflow.v1alpha1.ArtifactRepositoryRef": { "type": "object", "properties": { "configMap": { "type": "string" }, "key": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.ArtifactoryArtifact": { "type": "object", "title": "ArtifactoryArtifact is the location of an artifactory artifact", "properties": { "artifactoryAuth": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactoryAuth" }, "url": { "type": "string", "title": "URL of the artifact" } } }, "io.argoproj.workflow.v1alpha1.ArtifactoryAuth": { "type": "object", "title": "ArtifactoryAuth describes the secret selectors required for authenticating to artifactory", "properties": { "passwordSecret": { "title": "PasswordSecret is the secret selector to the repository password", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "usernameSecret": { "title": "UsernameSecret is the secret selector to the repository username", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" } } }, "io.argoproj.workflow.v1alpha1.Backoff": { "type": "object", "properties": { "duration": { "type": "string" }, "factor": { "type": "integer", "format": "int32" }, "maxDuration": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.ContinueOn": { "description": "ContinueOn defines if a workflow should continue even if a task or step fails/errors.\nIt can be specified if the workflow should continue when the pod errors, fails or both.", "type": "object", "properties": { "error": { "type": "boolean", "format": "boolean", "title": "+optional" }, "failed": { "type": "boolean", "format": "boolean", "title": "+optional" } } }, "io.argoproj.workflow.v1alpha1.CronWorkflow": { "type": "object", "title": "CronWorkflow is the definition of a scheduled workflow resource\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", "properties": { "metadata": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectMeta" }, "spec": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowSpec" }, "status": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowStatus" } } }, "io.argoproj.workflow.v1alpha1.CronWorkflowList": { "type": "object", "title": "CronWorkflowList is list of CronWorkflow resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", "properties": { "items": { "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" } }, "metadata": { "$ref": "#/definitions/io.k8s.api.core.v1.ListMeta" } } }, "io.argoproj.workflow.v1alpha1.CronWorkflowSpec": { "type": "object", "properties": { "concurrencyPolicy": { "type": "string", "title": "ConcurrencyPolicy is the K8s-style concurrency policy that will be used" }, "failedJobsHistoryLimit": { "type": "integer", "format": "int32", "title": "FailedJobsHistoryLimit is the number of successful jobs to be kept at a time" }, "schedule": { "type": "string", "title": "Schedule is a schedule to run the Workflow in Cron format" }, "startingDeadlineSeconds": { "description": "StartingDeadlineSeconds is the K8s-style deadline that will limit the time a CronWorkflow will be run after its\noriginal scheduled time if it is missed.", "type": "string", "format": "int64" }, "successfulJobsHistoryLimit": { "type": "integer", "format": "int32", "title": "SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time" }, "suspend": { "type": "boolean", "format": "boolean", "title": "Suspend is a flag that will stop new CronWorkflows from running if set to true" }, "timezone": { "description": "Timezone is the timezone against which the cron schedule will be calculated, e.g. \"Asia/Tokyo\". Default is machine's local time.", "type": "string" }, "workflowMeta": { "title": "WorkflowMetadata contains some metadata of the workflow to be run", "$ref": "#/definitions/io.k8s.api.core.v1.ObjectMeta" }, "workflowSpec": { "title": "WorkflowSpec is the spec of the workflow to be run", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSpec" } } }, "io.argoproj.workflow.v1alpha1.CronWorkflowStatus": { "type": "object", "properties": { "active": { "type": "array", "title": "Active is a list of active workflows stemming from this CronWorkflow", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" } }, "lastScheduledTime": { "title": "LastScheduleTime is the last time the CronWorkflow was scheduled", "$ref": "#/definitions/io.k8s.api.core.v1.Time" } } }, "io.argoproj.workflow.v1alpha1.DAGTask": { "type": "object", "title": "DAGTask represents a node in the graph during DAG execution", "properties": { "arguments": { "title": "Arguments are the parameter and artifact arguments to the template", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" }, "continueOn": { "title": "ContinueOn makes argo to proceed with the following step even if this step fails.\nErrors and Failed states can be specified", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ContinueOn" }, "dependencies": { "type": "array", "title": "Dependencies are name of other targets which this depends on", "items": { "type": "string" } }, "name": { "type": "string", "title": "Name is the name of the target" }, "onExit": { "description": "OnExit is a template reference which is invoked at the end of the\ntemplate, irrespective of the success, failure, or error of the\nprimary template.", "type": "string" }, "template": { "type": "string", "title": "Name of template to execute" }, "templateRef": { "description": "TemplateRef is the reference to the template resource to execute.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" }, "when": { "type": "string", "title": "When is an expression in which the task should conditionally execute" }, "withItems": { "type": "array", "title": "WithItems expands a task into multiple parallel tasks from the items in the list", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Item" } }, "withParam": { "description": "WithParam expands a task into multiple parallel tasks from the value in the parameter,\nwhich is expected to be a JSON list.", "type": "string" }, "withSequence": { "title": "WithSequence expands a task into a numeric sequence", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Sequence" } } }, "io.argoproj.workflow.v1alpha1.DAGTemplate": { "type": "object", "title": "DAGTemplate is a template subtype for directed acyclic graph templates", "properties": { "failFast": { "type": "boolean", "format": "boolean", "title": "This flag is for DAG logic. The DAG logic has a built-in \"fail fast\" feature to stop scheduling new steps,\nas soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed\nbefore failing the DAG itself.\nThe FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to\ncompletion (either success or failure), regardless of the failed outcomes of branches in the DAG.\nMore info and example about this feature at https://github.com/argoproj/argo/issues/1442" }, "target": { "type": "string", "title": "Target are one or more names of targets to execute in a DAG" }, "tasks": { "type": "array", "title": "Tasks are a list of DAG tasks\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.DAGTask" } } } }, "io.argoproj.workflow.v1alpha1.ExecutorConfig": { "description": "ExecutorConfig holds configurations of an executor container.", "type": "object", "properties": { "serviceAccountName": { "description": "ServiceAccountName specifies the service account name of the executor container.", "type": "string" } } }, "io.argoproj.workflow.v1alpha1.GitArtifact": { "type": "object", "title": "GitArtifact is the location of an git artifact", "properties": { "depth": { "type": "string", "format": "uint64", "title": "Depth specifies clones/fetches should be shallow and include the given\nnumber of commits from the branch tip" }, "fetch": { "type": "array", "title": "Fetch specifies a number of refs that should be fetched before checkout", "items": { "type": "string" } }, "insecureIgnoreHostKey": { "type": "boolean", "format": "boolean", "title": "InsecureIgnoreHostKey disables SSH strict host key checking during git clone" }, "passwordSecret": { "title": "PasswordSecret is the secret selector to the repository password", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "repo": { "type": "string", "title": "Repo is the git repository" }, "revision": { "type": "string", "title": "Revision is the git commit, tag, branch to checkout" }, "sshPrivateKeySecret": { "title": "SSHPrivateKeySecret is the secret selector to the repository ssh private key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "usernameSecret": { "title": "UsernameSecret is the secret selector to the repository username", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" } } }, "io.argoproj.workflow.v1alpha1.HDFSArtifact": { "type": "object", "title": "HDFSArtifact is the location of an HDFS artifact", "properties": { "force": { "type": "boolean", "format": "boolean", "title": "Force copies a file forcibly even if it exists (default: false)" }, "hDFSConfig": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HDFSConfig" }, "path": { "type": "string", "title": "Path is a file path in HDFS" } } }, "io.argoproj.workflow.v1alpha1.HDFSConfig": { "type": "object", "title": "HDFSConfig is configurations for HDFS", "properties": { "addresses": { "type": "array", "title": "Addresses is accessible addresses of HDFS name nodes", "items": { "type": "string" } }, "hDFSKrbConfig": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HDFSKrbConfig" }, "hdfsUser": { "description": "HDFSUser is the user to access HDFS file system.\nIt is ignored if either ccache or keytab is used.", "type": "string" } } }, "io.argoproj.workflow.v1alpha1.HDFSKrbConfig": { "type": "object", "title": "HDFSKrbConfig is auth configurations for Kerberos", "properties": { "krbCCacheSecret": { "description": "KrbCCacheSecret is the secret selector for Kerberos ccache\nEither ccache or keytab can be set to use Kerberos.", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "krbConfigConfigMap": { "description": "KrbConfig is the configmap selector for Kerberos config as string\nIt must be set if either ccache or keytab is used.", "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" }, "krbKeytabSecret": { "description": "KrbKeytabSecret is the secret selector for Kerberos keytab\nEither ccache or keytab can be set to use Kerberos.", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "krbRealm": { "description": "KrbRealm is the Kerberos realm used with Kerberos keytab\nIt must be set if keytab is used.", "type": "string" }, "krbServicePrincipalName": { "description": "KrbServicePrincipalName is the principal name of Kerberos service\nIt must be set if either ccache or keytab is used.", "type": "string" }, "krbUsername": { "description": "KrbUsername is the Kerberos username used with Kerberos keytab\nIt must be set if keytab is used.", "type": "string" } } }, "io.argoproj.workflow.v1alpha1.HTTPArtifact": { "type": "object", "title": "HTTPArtifact allows an file served on HTTP to be placed as an input artifact in a container", "properties": { "url": { "type": "string", "title": "URL of the artifact" } } }, "io.argoproj.workflow.v1alpha1.Inputs": { "type": "object", "title": "Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another", "properties": { "artifacts": { "type": "array", "title": "Artifact are a list of artifacts passed as inputs\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" } }, "parameters": { "type": "array", "title": "Parameters are a list of parameters passed as inputs\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Parameter" } } } }, "io.argoproj.workflow.v1alpha1.Item": { "description": "+protobuf=true\n+protobuf.options.(gogoproto.goproto_stringer)=false\n+k8s:openapi-gen=true", "type": "object", "title": "Item expands a single workflow step into multiple parallel steps\nThe value of Item can be a map, string, bool, or number", "properties": { "boolVal": { "type": "boolean", "format": "boolean" }, "listVal": { "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ItemValue" } }, "mapVal": { "type": "object", "additionalProperties": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ItemValue" } }, "numVal": { "type": "string" }, "strVal": { "type": "string" }, "type": { "type": "string", "format": "int64" } } }, "io.argoproj.workflow.v1alpha1.ItemValue": { "type": "object", "title": "+protobuf=true\n+protobuf.options.(gogoproto.goproto_stringer)=false\n+k8s:openapi-gen=true", "properties": { "boolVal": { "type": "boolean", "format": "boolean" }, "listVal": { "type": "array", "items": { "type": "string", "format": "byte" } }, "mapVal": { "type": "object", "additionalProperties": { "type": "string" } }, "numVal": { "type": "string" }, "strVal": { "type": "string" }, "type": { "type": "string", "format": "int64" } } }, "io.argoproj.workflow.v1alpha1.Metadata": { "type": "object", "title": "Pod metdata", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": "string" } }, "labels": { "type": "object", "additionalProperties": { "type": "string" } } } }, "io.argoproj.workflow.v1alpha1.NodeStatus": { "type": "object", "title": "NodeStatus contains status information about an individual node in the workflow", "properties": { "boundaryID": { "type": "string", "title": "BoundaryID indicates the node ID of the associated template root node in which this node belongs to" }, "children": { "type": "array", "title": "Children is a list of child node IDs", "items": { "type": "string" } }, "daemoned": { "type": "boolean", "format": "boolean", "title": "Daemoned tracks whether or not this node was daemoned and need to be terminated" }, "displayName": { "type": "string", "title": "DisplayName is a human readable representation of the node. Unique within a template boundary" }, "finishedAt": { "title": "Time at which this node completed", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "id": { "type": "string", "title": "ID is a unique identifier of a node within the worklow\nIt is implemented as a hash of the node name, which makes the ID deterministic" }, "inputs": { "title": "Inputs captures input parameter values and artifact locations supplied to this template invocation", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Inputs" }, "message": { "description": "A human readable message indicating details about why the node is in this condition.", "type": "string" }, "name": { "type": "string", "title": "Name is unique name in the node tree used to generate the node ID" }, "outboundNodes": { "description": "OutboundNodes tracks the node IDs which are considered \"outbound\" nodes to a template invocation.\nFor every invocation of a template, there are nodes which we considered as \"outbound\". Essentially,\nthese are last nodes in the execution sequence to run, before the template is considered completed.\nThese nodes are then connected as parents to a following step.\n\nIn the case of single pod steps (i.e. container, script, resource templates), this list will be nil\nsince the pod itself is already considered the \"outbound\" node.\nIn the case of DAGs, outbound nodes are the \"target\" tasks (tasks with no children).\nIn the case of steps, outbound nodes are all the containers involved in the last step group.\nNOTE: since templates are composable, the list of outbound nodes are carried upwards when\na DAG/steps template invokes another DAG/steps template. In other words, the outbound nodes of\na template, will be a superset of the outbound nodes of its last children.", "type": "array", "items": { "type": "string" } }, "outputs": { "title": "Outputs captures output parameter values and artifact locations produced by this template invocation", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" }, "phase": { "description": "Phase a simple, high-level summary of where the node is in its lifecycle.\nCan be used as a state machine.", "type": "string" }, "podIP": { "type": "string", "title": "PodIP captures the IP of the pod for daemoned steps" }, "startedAt": { "title": "Time at which this node started", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "storedTemplateID": { "description": "StoredTemplateID is the ID of stored template.\nDEPRECATED: This value is not used anymore.", "type": "string" }, "templateName": { "type": "string", "title": "TemplateName is the template name which this node corresponds to.\nNot applicable to virtual nodes (e.g. Retry, StepGroup)" }, "templateRef": { "title": "TemplateRef is the reference to the template resource which this node corresponds to.\nNot applicable to virtual nodes (e.g. Retry, StepGroup)", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" }, "templateScope": { "description": "TemplateScope is the template scope in which the template of this node was retrieved.", "type": "string" }, "type": { "type": "string", "title": "Type indicates type of node" }, "workflowTemplateName": { "description": "WorkflowTemplateName is the WorkflowTemplate resource name on which the resolved template of this node is retrieved.\nDEPRECATED: This value is not used anymore.", "type": "string" } } }, "io.argoproj.workflow.v1alpha1.NoneStrategy": { "description": "NoneStrategy indicates to skip tar process and upload the files or directory tree as independent\nfiles. Note that if the artifact is a directory, the artifact driver must support the ability to\nsave/load the directory appropriately.", "type": "object" }, "io.argoproj.workflow.v1alpha1.OSSArtifact": { "type": "object", "title": "OSSArtifact is the location of an OSS artifact", "properties": { "key": { "type": "string", "title": "Key is the path in the bucket where the artifact resides" }, "oSSBucket": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSBucket" } } }, "io.argoproj.workflow.v1alpha1.OSSBucket": { "type": "object", "title": "OSSBucket contains the access information required for interfacing with an OSS bucket", "properties": { "accessKeySecret": { "title": "AccessKeySecret is the secret selector to the bucket's access key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "bucket": { "type": "string", "title": "Bucket is the name of the bucket" }, "endpoint": { "type": "string", "title": "Endpoint is the hostname of the bucket endpoint" }, "secretKeySecret": { "title": "SecretKeySecret is the secret selector to the bucket's secret key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" } } }, "io.argoproj.workflow.v1alpha1.Outputs": { "type": "object", "title": "Outputs hold parameters, artifacts, and results from a step", "properties": { "artifacts": { "type": "array", "title": "Artifacts holds the list of output artifacts produced by a step\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" } }, "parameters": { "type": "array", "title": "Parameters holds the list of output parameters produced by a step\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Parameter" } }, "result": { "type": "string", "title": "Result holds the result (stdout) of a script template" } } }, "io.argoproj.workflow.v1alpha1.ParallelSteps": { "type": "object", "properties": { "steps": { "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowStep" } } } }, "io.argoproj.workflow.v1alpha1.Parameter": { "type": "object", "title": "Parameter indicate a passed string parameter to a service template with an optional default value", "properties": { "default": { "type": "string", "title": "Default is the default value to use for an input parameter if a value was not supplied" }, "globalName": { "type": "string", "title": "GlobalName exports an output parameter to the global scope, making it available as\n'{{io.argoproj.workflow.v1alpha1.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters" }, "name": { "type": "string", "title": "Name is the parameter name" }, "value": { "type": "string", "title": "Value is the literal value to use for the parameter.\nIf specified in the context of an input parameter, the value takes precedence over any passed values" }, "valueFrom": { "title": "ValueFrom is the source for the output parameter's value", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ValueFrom" } } }, "io.argoproj.workflow.v1alpha1.PodGC": { "type": "object", "title": "PodGC describes how to delete completed pods as they complete", "properties": { "strategy": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.RawArtifact": { "type": "object", "title": "RawArtifact allows raw string content to be placed as an artifact in a container", "properties": { "data": { "type": "string", "title": "Data is the string contents of the artifact" } } }, "io.argoproj.workflow.v1alpha1.ResourceTemplate": { "type": "object", "title": "ResourceTemplate is a template subtype to manipulate kubernetes resources", "properties": { "action": { "type": "string", "title": "Action is the action to perform to the resource.\nMust be one of: get, create, apply, delete, replace, patch" }, "failureCondition": { "type": "string", "title": "FailureCondition is a label selector expression which describes the conditions\nof the k8s resource in which the step was considered failed" }, "manifest": { "type": "string", "title": "Manifest contains the kubernetes manifest" }, "mergeStrategy": { "type": "string", "title": "MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\"\nMust be one of: strategic, merge, json" }, "setOwnerReference": { "description": "SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource.", "type": "boolean", "format": "boolean" }, "successCondition": { "type": "string", "title": "SuccessCondition is a label selector expression which describes the conditions\nof the k8s resource in which it is acceptable to proceed to the following step" } } }, "io.argoproj.workflow.v1alpha1.RetryStrategy": { "type": "object", "title": "RetryStrategy provides controls on how to retry a workflow step", "properties": { "backoff": { "title": "Backoff is a backoff strategy", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Backoff" }, "limit": { "type": "integer", "format": "int32", "title": "Limit is the maximum number of attempts when retrying a container" }, "retryPolicy": { "type": "string", "title": "RetryPolicy is a policy of NodePhase statuses that will be retried" } } }, "io.argoproj.workflow.v1alpha1.S3Artifact": { "type": "object", "title": "S3Artifact is the location of an S3 artifact", "properties": { "key": { "type": "string", "title": "Key is the key in the bucket where the artifact resides" }, "s3Bucket": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3Bucket" } } }, "io.argoproj.workflow.v1alpha1.S3Bucket": { "type": "object", "title": "S3Bucket contains the access information required for interfacing with an S3 bucket", "properties": { "accessKeySecret": { "title": "AccessKeySecret is the secret selector to the bucket's access key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "bucket": { "type": "string", "title": "Bucket is the name of the bucket" }, "endpoint": { "type": "string", "title": "Endpoint is the hostname of the bucket endpoint" }, "insecure": { "type": "boolean", "format": "boolean", "title": "Insecure will connect to the service with TLS" }, "region": { "type": "string", "title": "Region contains the optional bucket region" }, "roleARN": { "description": "RoleARN is the Amazon Resource Name (ARN) of the role to assume.", "type": "string" }, "secretKeySecret": { "title": "SecretKeySecret is the secret selector to the bucket's secret key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" } } }, "io.argoproj.workflow.v1alpha1.ScriptTemplate": { "type": "object", "title": "ScriptTemplate is a template subtype to enable scripting through code steps", "properties": { "container": { "$ref": "#/definitions/io.k8s.api.core.v1.Container" }, "source": { "type": "string", "title": "Source contains the source code of the script to execute" } } }, "io.argoproj.workflow.v1alpha1.Sequence": { "type": "object", "title": "Sequence expands a workflow step into numeric range", "properties": { "count": { "type": "string", "title": "Count is number of elements in the sequence (default: 0). Not to be used with end" }, "end": { "type": "string", "title": "Number at which to end the sequence (default: 0). Not to be used with Count" }, "format": { "type": "string", "title": "Format is a printf format string to format the value in the sequence" }, "start": { "type": "string", "title": "Number at which to start the sequence (default: 0)" } } }, "io.argoproj.workflow.v1alpha1.SuspendTemplate": { "type": "object", "title": "SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time", "properties": { "duration": { "type": "string", "title": "Duration is the seconds to wait before automatically resuming a template" } } }, "io.argoproj.workflow.v1alpha1.TTLStrategy": { "type": "object", "title": "TTLStrategy is the strategy for the time to live depending on if the workflow succeded or failed", "properties": { "secondsAfterCompletion": { "type": "integer", "format": "int32" }, "secondsAfterFailure": { "type": "integer", "format": "int32" }, "secondsAfterSuccess": { "type": "integer", "format": "int32" } } }, "io.argoproj.workflow.v1alpha1.TarStrategy": { "type": "object", "title": "TarStrategy will tar and gzip the file or directory when saving" }, "io.argoproj.workflow.v1alpha1.Template": { "type": "object", "title": "Template is a reusable and composable unit of execution in a workflow", "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds relative to the StartTime that the pod may be active on a node\nbefore the system actively tries to terminate the pod; value must be positive integer\nThis field is only applicable to container and script templates.", "type": "string", "format": "int64" }, "affinity": { "title": "Affinity sets the pod's scheduling constraints\nOverrides the affinity set at the workflow level (if any)", "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" }, "archiveLocation": { "description": "Location in which all files related to the step will be stored (logs, artifacts, etc...).\nCan be overridden by individual items in Outputs. If omitted, will use the default\nartifact repository location configured in the controller, appended with the\n\u003cworkflowname\u003e/\u003cnodename\u003e in the key.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactLocation" }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods.\nServiceAccountName of ExecutorConfig must be specified if this value is false.", "type": "boolean", "format": "boolean" }, "container": { "title": "Container is the main container image to run in the pod", "$ref": "#/definitions/io.k8s.api.core.v1.Container" }, "daemon": { "type": "boolean", "format": "boolean", "title": "Deamon will allow a workflow to proceed to the next step so long as the container reaches readiness" }, "dag": { "title": "DAG template subtype which runs a DAG", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.DAGTemplate" }, "executor": { "description": "Executor holds configurations of the executor container.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ExecutorConfig" }, "hostAliases": { "type": "array", "title": "HostAliases is an optional list of hosts and IPs that will be injected into the pod spec\n+patchStrategy=merge\n+patchMergeKey=ip", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" } }, "initContainers": { "type": "array", "title": "InitContainers is a list of containers which run before the main container.\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.UserContainer" } }, "inputs": { "title": "Inputs describe what inputs parameters and artifacts are supplied to this template", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Inputs" }, "metadata": { "title": "Metdata sets the pods's metadata, i.e. annotations and labels", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Metadata" }, "name": { "type": "string", "title": "Name is the name of the template" }, "nodeSelector": { "description": "NodeSelector is a selector to schedule this step of the workflow to be\nrun on the selected node(s). Overrides the selector set at the workflow level.", "type": "object", "additionalProperties": { "type": "string" } }, "outputs": { "title": "Outputs describe the parameters and artifacts that this template produces", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" }, "parallelism": { "description": "Parallelism limits the max total parallel pods that can execute at the same time within the\nboundaries of this template invocation. If additional steps/dag templates are invoked, the\npods created by those templates will not be counted towards this total.", "type": "string", "format": "int64" }, "podSpecPatch": { "description": "PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of\ncontainer fields which are not strings (e.g. resource limits).", "type": "string" }, "priority": { "description": "Priority to apply to workflow pods.", "type": "integer", "format": "int32" }, "priorityClassName": { "description": "PriorityClassName to apply to workflow pods.", "type": "string" }, "resource": { "title": "Resource template subtype which can run k8s resources", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ResourceTemplate" }, "retryStrategy": { "title": "RetryStrategy describes how to retry a template when it fails", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RetryStrategy" }, "schedulerName": { "type": "string", "title": "If specified, the pod will be dispatched by specified scheduler.\nOr it will be dispatched by workflow scope scheduler if specified.\nIf neither specified, the pod will be dispatched by default scheduler.\n+optional" }, "script": { "title": "Script runs a portion of code against an interpreter", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ScriptTemplate" }, "securityContext": { "title": "SecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty. See type description for default values of each field.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" }, "serviceAccountName": { "type": "string", "title": "ServiceAccountName to apply to workflow pods" }, "sidecars": { "type": "array", "title": "Sidecars is a list of containers which run alongside the main container\nSidecars are automatically killed when the main container completes\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.UserContainer" } }, "steps": { "type": "array", "title": "Steps define a series of sequential/parallel workflow steps", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ParallelSteps" } }, "suspend": { "title": "Suspend template subtype which can suspend a workflow when reaching the step", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SuspendTemplate" }, "template": { "description": "Template is the name of the template which is used as the base of this template.", "type": "string" }, "templateRef": { "description": "TemplateRef is the reference to the template resource which is used as the base of this template.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" }, "tolerations": { "type": "array", "title": "Tolerations to apply to workflow pods.\n+patchStrategy=merge\n+patchMergeKey=key", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" } }, "volumes": { "type": "array", "title": "Volumes is a list of volumes that can be mounted by containers in a template.\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.Volume" } } } }, "io.argoproj.workflow.v1alpha1.TemplateRef": { "description": "TemplateRef is a reference of template resource.", "type": "object", "properties": { "name": { "description": "Name is the resource name of the template.", "type": "string" }, "runtimeResolution": { "description": "RuntimeResolution skips validation at creation time.\nBy enabling this option, you can create the referred workflow template before the actual runtime.", "type": "boolean", "format": "boolean" }, "template": { "description": "Template is the name of referred template in the resource.", "type": "string" } } }, "io.argoproj.workflow.v1alpha1.UserContainer": { "description": "UserContainer is a container specified by a user.", "type": "object", "properties": { "container": { "$ref": "#/definitions/io.k8s.api.core.v1.Container" }, "mirrorVolumeMounts": { "type": "boolean", "format": "boolean", "title": "MirrorVolumeMounts will mount the same volumes specified in the main container\nto the container (including artifacts), at the same mountPaths. This enables\ndind daemon to partially see the same filesystem as the main container in\norder to use features such as docker volume binding" } } }, "io.argoproj.workflow.v1alpha1.ValueFrom": { "type": "object", "title": "ValueFrom describes a location in which to obtain the value to a parameter", "properties": { "jqFilter": { "type": "string", "title": "JQFilter expression against the resource object in resource templates" }, "jsonPath": { "type": "string", "title": "JSONPath of a resource to retrieve an output parameter value from in resource templates" }, "parameter": { "type": "string", "title": "Parameter reference to a step or dag task in which to retrieve an output parameter value from\n(e.g. '{{steps.mystep.outputs.myparam}}')" }, "path": { "type": "string", "title": "Path in the container to retrieve an output parameter value from in container templates" } } }, "io.argoproj.workflow.v1alpha1.Workflow": { "type": "object", "title": "Workflow is the definition of a workflow resource\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", "properties": { "metadata": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectMeta" }, "spec": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSpec" }, "status": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowStatus" } } }, "io.argoproj.workflow.v1alpha1.WorkflowList": { "type": "object", "title": "WorkflowList is list of Workflow resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", "properties": { "items": { "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } }, "metadata": { "$ref": "#/definitions/io.k8s.api.core.v1.ListMeta" } } }, "io.argoproj.workflow.v1alpha1.WorkflowSpec": { "description": "WorkflowSpec is the specification of a Workflow.", "type": "object", "properties": { "activeDeadlineSeconds": { "type": "string", "format": "int64", "title": "Optional duration in seconds relative to the workflow start time which the workflow is\nallowed to run before the controller terminates the io.argoproj.workflow.v1alpha1. A value of zero is used to\nterminate a Running workflow" }, "affinity": { "title": "Affinity sets the scheduling constraints for all pods in the io.argoproj.workflow.v1alpha1.\nCan be overridden by an affinity specified in the template", "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" }, "arguments": { "title": "Arguments contain the parameters and artifacts sent to the workflow entrypoint\nParameters are referencable globally using the 'workflow' variable prefix.\ne.g. {{io.argoproj.workflow.v1alpha1.parameters.myparam}}", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" }, "artifactRepositoryRef": { "description": "ArtifactRepositoryRef specifies the configMap name and key containing the artifact repository config.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactRepositoryRef" }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods.\nServiceAccountName of ExecutorConfig must be specified if this value is false.", "type": "boolean", "format": "boolean" }, "dnsConfig": { "description": "PodDNSConfig defines the DNS parameters of a pod in addition to\nthose generated from DNSPolicy.", "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig" }, "dnsPolicy": { "description": "Set DNS policy for the pod.\nDefaults to \"ClusterFirst\".\nValid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.\nDNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.\nTo have DNS options set along with hostNetwork, you have to specify DNS policy\nexplicitly to 'ClusterFirstWithHostNet'.", "type": "string" }, "entrypoint": { "type": "string", "title": "Entrypoint is a template reference to the starting point of the workflow" }, "executor": { "description": "Executor holds configurations of executor containers of the io.argoproj.workflow.v1alpha1.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ExecutorConfig" }, "hostAliases": { "type": "array", "title": "+patchStrategy=merge\n+patchMergeKey=ip", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" } }, "hostNetwork": { "description": "Host networking requested for this workflow pod. Default to false.", "type": "boolean", "format": "boolean" }, "imagePullSecrets": { "type": "array", "title": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images\nin pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets\ncan be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.\nMore info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" } }, "nodeSelector": { "description": "NodeSelector is a selector which will result in all pods of the workflow\nto be scheduled on the selected node(s). This is able to be overridden by\na nodeSelector specified in the template.", "type": "object", "additionalProperties": { "type": "string" } }, "onExit": { "description": "OnExit is a template reference which is invoked at the end of the\nworkflow, irrespective of the success, failure, or error of the\nprimary io.argoproj.workflow.v1alpha1.", "type": "string" }, "parallelism": { "type": "string", "format": "int64", "title": "Parallelism limits the max total parallel pods that can execute at the same time in a workflow" }, "podDisruptionBudget": { "title": "PodDisruptionBudget holds the number of concurrent disruptions that you allow for Workflow's Pods.\nController will automatically add the selector with workflow name, if selector is empty.\nOptional: Defaults to empty.\n+optional", "$ref": "#/definitions/k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec" }, "podGC": { "title": "PodGC describes the strategy to use when to deleting completed pods", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.PodGC" }, "podPriority": { "description": "Priority to apply to workflow pods.", "type": "integer", "format": "int32" }, "podPriorityClassName": { "description": "PriorityClassName to apply to workflow pods.", "type": "string" }, "podSpecPatch": { "description": "PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of\ncontainer fields which are not strings (e.g. resource limits).", "type": "string" }, "priority": { "description": "Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first.", "type": "integer", "format": "int32" }, "schedulerName": { "type": "string", "title": "Set scheduler name for all pods.\nWill be overridden if container/script template's scheduler name is set.\nDefault scheduler will be used if neither specified.\n+optional" }, "securityContext": { "title": "SecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty. See type description for default values of each field.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" }, "serviceAccountName": { "description": "ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as.", "type": "string" }, "suspend": { "type": "boolean", "format": "boolean", "title": "Suspend will suspend the workflow and prevent execution of any future steps in the workflow" }, "templates": { "type": "array", "title": "Templates is a list of workflow templates used in a workflow\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" } }, "tolerations": { "type": "array", "title": "Tolerations to apply to workflow pods.\n+patchStrategy=merge\n+patchMergeKey=key", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" } }, "ttlSecondsAfterFinished": { "description": "TTLSecondsAfterFinished limits the lifetime of a Workflow that has finished execution\n(Succeeded, Failed, Error). If this field is set, once the Workflow finishes, it will be\ndeleted after ttlSecondsAfterFinished expires. If this field is unset,\nttlSecondsAfterFinished will not expire. If this field is set to zero,\nttlSecondsAfterFinished expires immediately after the Workflow finishes.\nDEPRECATED: Use TTLStrategy.SecondsAfterCompletion instead.", "type": "integer", "format": "int32" }, "ttlStrategy": { "title": "TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it\nSucceeded or Failed. If this struct is set, once the Workflow finishes, it will be\ndeleted after the time to live expires. If this field is unset,\nthe controller config map will hold the default values\nUpdate", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TTLStrategy" }, "volumeClaimTemplates": { "type": "array", "title": "VolumeClaimTemplates is a list of claims that containers are allowed to reference.\nThe Workflow controller will create the claims at the beginning of the workflow\nand delete the claims upon completion of the workflow\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, "volumes": { "type": "array", "title": "Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1.\n+patchStrategy=merge\n+patchMergeKey=name", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.Volume" } } } }, "io.argoproj.workflow.v1alpha1.WorkflowStatus": { "type": "object", "title": "WorkflowStatus contains overall status information about a workflow", "properties": { "compressedNodes": { "type": "string", "title": "Compressed and base64 decoded Nodes map" }, "finishedAt": { "title": "Time at which this workflow completed", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "message": { "description": "A human readable message indicating details about why the workflow is in this condition.", "type": "string" }, "nodes": { "description": "Nodes is a mapping between a node ID and the node's status.", "type": "object", "additionalProperties": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NodeStatus" } }, "offloadNodeStatusVersion": { "description": "Whether on not node status has been offloaded to a database. If exists, then Nodes and CompressedNodes will be empty.\nThis will actually be populated with a hash of the offloaded data.", "type": "string" }, "outputs": { "title": "Outputs captures output values and artifact locations produced by the workflow via global outputs", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" }, "persistentVolumeClaims": { "description": "PersistentVolumeClaims tracks all PVCs that were created as part of the io.argoproj.workflow.v1alpha1.\nThe contents of this list are drained at the end of the workflow.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.Volume" } }, "phase": { "description": "Phase a simple, high-level summary of where the workflow is in its lifecycle.", "type": "string" }, "startedAt": { "title": "Time at which this workflow started", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "storedTemplates": { "description": "StoredTemplates is a mapping between a template ref and the node's status.", "type": "object", "additionalProperties": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" } } } }, "io.argoproj.workflow.v1alpha1.WorkflowStep": { "type": "object", "title": "WorkflowStep is a reference to a template to execute in a series of step", "properties": { "arguments": { "title": "Arguments hold arguments to the template", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" }, "continueOn": { "title": "ContinueOn makes argo to proceed with the following step even if this step fails.\nErrors and Failed states can be specified", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ContinueOn" }, "name": { "type": "string", "title": "Name of the step" }, "onExit": { "description": "OnExit is a template reference which is invoked at the end of the\ntemplate, irrespective of the success, failure, or error of the\nprimary template.", "type": "string" }, "template": { "type": "string", "title": "Template is the name of the template to execute as the step" }, "templateRef": { "description": "TemplateRef is the reference to the template resource to execute as the step.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" }, "when": { "type": "string", "title": "When is an expression in which the step should conditionally execute" }, "withItems": { "type": "array", "title": "WithItems expands a step into multiple parallel steps from the items in the list", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Item" } }, "withParam": { "description": "WithParam expands a step into multiple parallel steps from the value in the parameter,\nwhich is expected to be a JSON list.", "type": "string" }, "withSequence": { "title": "WithSequence expands a step into a numeric sequence", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Sequence" } } }, "io.argoproj.workflow.v1alpha1.WorkflowTemplate": { "type": "object", "title": "WorkflowTemplate is the definition of a workflow template resource\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", "properties": { "metadata": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectMeta" }, "spec": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateSpec" } } }, "io.argoproj.workflow.v1alpha1.WorkflowTemplateList": { "type": "object", "title": "WorkflowTemplateList is list of WorkflowTemplate resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", "properties": { "items": { "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } }, "metadata": { "$ref": "#/definitions/io.k8s.api.core.v1.ListMeta" } } }, "io.argoproj.workflow.v1alpha1.WorkflowTemplateSpec": { "description": "WorkflowTemplateSpec is a spec of WorkflowTemplate.", "type": "object", "properties": { "arguments": { "description": "Arguments hold arguments to the template.", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" }, "templates": { "description": "Templates is a list of workflow templates.", "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" } } } }, "google.protobuf.Any": { "type": "object", "properties": { "type_url": { "type": "string" }, "value": { "type": "string", "format": "byte" } } }, "grpc.gateway.runtime.StreamError": { "type": "object", "properties": { "details": { "type": "array", "items": { "$ref": "#/definitions/google.protobuf.Any" } }, "grpc_code": { "type": "integer", "format": "int32" }, "http_code": { "type": "integer", "format": "int32" }, "http_status": { "type": "string" }, "message": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.InfoResponse": { "type": "object", "properties": { "managedNamespace": { "type": "string" } } }, "io.k8s.api.core.v1.Object": { "title": "This is a hack do deal with this problem: https://github.com/kubernetes/kube-openapi/issues/174" }, "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk\nmust also be in the same AWS zone as the kubelet. An AWS EBS disk\ncan only be mounted as read/write once. AWS EBS volumes support\nownership management and SELinux relabeling.", "type": "object", "properties": { "fsType": { "type": "string", "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" }, "partition": { "type": "integer", "format": "int32", "title": "The partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\".\nIf omitted, the default is \"false\".\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore\n+optional" }, "volumeID": { "type": "string", "title": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" } } }, "io.k8s.api.core.v1.Affinity": { "description": "Affinity is a group of affinity scheduling rules.", "type": "object", "properties": { "nodeAffinity": { "title": "Describes node affinity scheduling rules for the pod.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity" }, "podAffinity": { "title": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity" }, "podAntiAffinity": { "title": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PodAntiAffinity" } } }, "io.k8s.api.core.v1.AzureDiskVolumeSource": { "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", "type": "object", "properties": { "cachingMode": { "type": "string", "title": "Host Caching mode: None, Read Only, Read Write.\n+optional" }, "diskName": { "type": "string", "title": "The Name of the data disk in the blob storage" }, "diskURI": { "type": "string", "title": "The URI the data disk in the blob storage" }, "fsType": { "type": "string", "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n+optional" }, "kind": { "type": "string", "title": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" } } }, "io.k8s.api.core.v1.AzureFileVolumeSource": { "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "type": "object", "properties": { "readOnly": { "type": "boolean", "format": "boolean", "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" }, "secretName": { "type": "string", "title": "the name of secret that contains Azure Storage Account Name and Key" }, "shareName": { "type": "string", "title": "Share Name" } } }, "io.k8s.api.core.v1.CSIVolumeSource": { "type": "object", "title": "Represents a source location of a volume to mount, managed by an external CSI driver", "properties": { "driver": { "description": "Driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster.", "type": "string" }, "fsType": { "type": "string", "title": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply.\n+optional" }, "nodePublishSecretRef": { "title": "NodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Specifies a read-only configuration for the volume.\nDefaults to false (read/write).\n+optional" }, "volumeAttributes": { "type": "object", "title": "VolumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.\n+optional", "additionalProperties": { "type": "string" } } } }, "io.k8s.api.core.v1.Capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", "type": "object", "properties": { "add": { "type": "array", "title": "Added capabilities\n+optional", "items": { "type": "string" } }, "drop": { "type": "array", "title": "Removed capabilities\n+optional", "items": { "type": "string" } } } }, "io.k8s.api.core.v1.CephFSVolumeSource": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod\nCephfs volumes do not support ownership management or SELinux relabeling.", "type": "object", "properties": { "monitors": { "type": "array", "title": "Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "items": { "type": "string" } }, "path": { "type": "string", "title": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional" }, "secretFile": { "type": "string", "title": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional" }, "secretRef": { "title": "Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "user": { "type": "string", "title": "Optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional" } } }, "io.k8s.api.core.v1.CinderVolumeSource": { "description": "Represents a cinder volume resource in Openstack.\nA Cinder volume must exist before mounting to a container.\nThe volume must also be in the same region as the kubelet.\nCinder volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "fsType": { "type": "string", "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md\n+optional" }, "secretRef": { "title": "Optional: points to a secret object containing parameters used to connect\nto OpenStack.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "volumeID": { "type": "string", "title": "volume id used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md" } } }, "io.k8s.api.core.v1.ConfigMapEnvSource": { "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment\nvariables with.\n\nThe contents of the target ConfigMap's Data field will represent the\nkey-value pairs as environment variables.", "type": "object", "properties": { "localObjectReference": { "description": "The ConfigMap to select from.", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the ConfigMap must be defined\n+optional" } } }, "io.k8s.api.core.v1.ConfigMapKeySelector": { "description": "Selects a key from a ConfigMap.", "type": "object", "properties": { "key": { "description": "The key to select.", "type": "string" }, "localObjectReference": { "description": "The ConfigMap to select from.", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the ConfigMap or its key must be defined\n+optional" } } }, "io.k8s.api.core.v1.ConfigMapProjection": { "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a\nprojected volume as files using the keys in the Data field as the file names,\nunless the items element is populated with specific mappings of keys to paths.\nNote that this is identical to a configmap volume source without the default\nmode.", "type": "object", "properties": { "items": { "type": "array", "title": "If unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" } }, "localObjectReference": { "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the ConfigMap or its keys must be defined\n+optional" } } }, "io.k8s.api.core.v1.ConfigMapVolumeSource": { "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a\nvolume as files using the keys in the Data field as the file names, unless\nthe items element is populated with specific mappings of keys to paths.\nConfigMap volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "defaultMode": { "type": "integer", "format": "int32", "title": "Optional: mode bits to use on created files by default. Must be a\nvalue between 0 and 0777. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" }, "items": { "type": "array", "title": "If unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" } }, "localObjectReference": { "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the ConfigMap or its keys must be defined\n+optional" } } }, "io.k8s.api.core.v1.Container": { "description": "A single application container that you want to run within a pod.", "type": "object", "properties": { "args": { "type": "array", "title": "Arguments to the entrypoint.\nThe docker image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax\ncan be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\nregardless of whether the variable exists or not.\nCannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell\n+optional", "items": { "type": "string" } }, "command": { "type": "array", "title": "Entrypoint array. Not executed within a shell.\nThe docker image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax\ncan be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\nregardless of whether the variable exists or not.\nCannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell\n+optional", "items": { "type": "string" } }, "env": { "type": "array", "title": "List of environment variables to set in the container.\nCannot be updated.\n+optional\n+patchMergeKey=name\n+patchStrategy=merge", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" } }, "envFrom": { "type": "array", "title": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" } }, "image": { "type": "string", "title": "Docker image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.\n+optional" }, "imagePullPolicy": { "type": "string", "title": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n+optional" }, "lifecycle": { "title": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" }, "livenessProbe": { "title": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Probe" }, "name": { "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", "type": "string" }, "ports": { "type": "array", "title": "List of ports to expose from the container. Exposing a port here gives\nthe system additional information about the network connections a\ncontainer uses, but is primarily informational. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nCannot be updated.\n+optional\n+patchMergeKey=containerPort\n+patchStrategy=merge\n+listType=map\n+listMapKey=containerPort\n+listMapKey=protocol", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" } }, "readinessProbe": { "title": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Probe" }, "resources": { "title": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" }, "securityContext": { "title": "Security options the pod should run with.\nMore info: https://kubernetes.io/docs/concepts/policy/security-context/\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" }, "startupProbe": { "title": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nThis is an alpha feature enabled by the StartupProbe feature flag.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Probe" }, "stdin": { "type": "boolean", "format": "boolean", "title": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.\n+optional" }, "stdinOnce": { "type": "boolean", "format": "boolean", "title": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false\n+optional" }, "terminationMessagePath": { "type": "string", "title": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.\n+optional" }, "terminationMessagePolicy": { "type": "string", "title": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.\n+optional" }, "tty": { "type": "boolean", "format": "boolean", "title": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.\n+optional" }, "volumeDevices": { "type": "array", "title": "volumeDevices is the list of block devices to be used by the container.\nThis is a beta feature.\n+patchMergeKey=devicePath\n+patchStrategy=merge\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" } }, "volumeMounts": { "type": "array", "title": "Pod volumes to mount into the container's filesystem.\nCannot be updated.\n+optional\n+patchMergeKey=mountPath\n+patchStrategy=merge", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" } }, "workingDir": { "type": "string", "title": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.\n+optional" } } }, "io.k8s.api.core.v1.ContainerPort": { "description": "ContainerPort represents a network port in a single container.", "type": "object", "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536.", "type": "integer", "format": "int32" }, "hostIP": { "type": "string", "title": "What host IP to bind the external port to.\n+optional" }, "hostPort": { "type": "integer", "format": "int32", "title": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 \u003c x \u003c 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.\n+optional" }, "name": { "type": "string", "title": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.\n+optional" }, "protocol": { "type": "string", "title": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".\n+optional" } } }, "io.k8s.api.core.v1.DownwardAPIProjection": { "description": "Represents downward API info for projecting into a projected volume.\nNote that this is identical to a downwardAPI volume source without the default\nmode.", "type": "object", "properties": { "items": { "type": "array", "title": "Items is a list of DownwardAPIVolume file\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" } } } }, "io.k8s.api.core.v1.DownwardAPIVolumeFile": { "type": "object", "title": "DownwardAPIVolumeFile represents information to create the file containing the pod field", "properties": { "fieldRef": { "title": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector" }, "mode": { "type": "integer", "format": "int32", "title": "Optional: mode bits to use on this file, must be a value between 0\nand 0777. If not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" }, "path": { "type": "string", "title": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" }, "resourceFieldRef": { "title": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector" } } }, "io.k8s.api.core.v1.DownwardAPIVolumeSource": { "description": "DownwardAPIVolumeSource represents a volume containing downward API io.argoproj.workflow.v1alpha1.\nDownward API volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "defaultMode": { "type": "integer", "format": "int32", "title": "Optional: mode bits to use on created files by default. Must be a\nvalue between 0 and 0777. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" }, "items": { "type": "array", "title": "Items is a list of downward API volume file\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" } } } }, "io.k8s.api.core.v1.EmptyDirVolumeSource": { "description": "Represents an empty directory for a pod.\nEmpty directory volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "medium": { "type": "string", "title": "What type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir\n+optional" }, "sizeLimit": { "title": "Total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: http://kubernetes.io/docs/user-guide/volumes#emptydir\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Quantity" } } }, "io.k8s.api.core.v1.EnvFromSource": { "type": "object", "title": "EnvFromSource represents the source of a set of ConfigMaps", "properties": { "configMapRef": { "title": "The ConfigMap to select from\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource" }, "prefix": { "type": "string", "title": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.\n+optional" }, "secretRef": { "title": "The Secret to select from\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretEnvSource" } } }, "io.k8s.api.core.v1.EnvVar": { "description": "EnvVar represents an environment variable present in a Container.", "type": "object", "properties": { "name": { "description": "Name of the environment variable. Must be a C_IDENTIFIER.", "type": "string" }, "value": { "type": "string", "title": "Variable references $(VAR_NAME) are expanded\nusing the previous defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. The $(VAR_NAME)\nsyntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped\nreferences will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".\n+optional" }, "valueFrom": { "title": "Source for the environment variable's value. Cannot be used if value is not empty.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.EnvVarSource" } } }, "io.k8s.api.core.v1.EnvVarSource": { "description": "EnvVarSource represents a source for the value of an EnvVar.", "type": "object", "properties": { "configMapKeyRef": { "title": "Selects a key of a ConfigMap.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" }, "fieldRef": { "title": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector" }, "resourceFieldRef": { "title": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector" }, "secretKeyRef": { "title": "Selects a key of a secret in the pod's namespace\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" } } }, "io.k8s.api.core.v1.ExecAction": { "description": "ExecAction describes a \"run in container\" action.", "type": "object", "properties": { "command": { "type": "array", "title": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.\n+optional", "items": { "type": "string" } } } }, "io.k8s.api.core.v1.FCVolumeSource": { "description": "Represents a Fibre Channel volume.\nFibre Channel volumes can only be mounted as read/write once.\nFibre Channel volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "fsType": { "type": "string", "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" }, "lun": { "type": "integer", "format": "int32", "title": "Optional: FC target lun number\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" }, "targetWWNs": { "type": "array", "title": "Optional: FC target worldwide names (WWNs)\n+optional", "items": { "type": "string" } }, "wwids": { "type": "array", "title": "Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.\n+optional", "items": { "type": "string" } } } }, "io.k8s.api.core.v1.FlexVolumeSource": { "description": "FlexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.", "type": "object", "properties": { "driver": { "description": "Driver is the name of the driver to use for this volume.", "type": "string" }, "fsType": { "type": "string", "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.\n+optional" }, "options": { "type": "object", "title": "Optional: Extra command options if any.\n+optional", "additionalProperties": { "type": "string" } }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" }, "secretRef": { "title": "Optional: SecretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" } } }, "io.k8s.api.core.v1.FlockerVolumeSource": { "description": "Represents a Flocker volume mounted by the Flocker agent.\nOne and only one of datasetName and datasetUUID should be set.\nFlocker volumes do not support ownership management or SELinux relabeling.", "type": "object", "properties": { "datasetName": { "type": "string", "title": "Name of the dataset stored as metadata -\u003e name on the dataset for Flocker\nshould be considered as deprecated\n+optional" }, "datasetUUID": { "type": "string", "title": "UUID of the dataset. This is unique identifier of a Flocker dataset\n+optional" } } }, "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource": { "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must\nalso be in the same GCE project and zone as the kubelet. A GCE PD\ncan only be mounted as read/write once or read-only many times. GCE\nPDs support ownership management and SELinux relabeling.", "type": "object", "properties": { "fsType": { "type": "string", "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" }, "partition": { "type": "integer", "format": "int32", "title": "The partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\n+optional" }, "pdName": { "type": "string", "title": "Unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "ReadOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\n+optional" } } }, "io.k8s.api.core.v1.GitRepoVolumeSource": { "description": "Represents a volume that is populated with the contents of a git repository.\nGit repo volumes do not support ownership management.\nGit repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.", "type": "object", "properties": { "directory": { "type": "string", "title": "Target directory name.\nMust not contain or start with '..'. If '.' is supplied, the volume directory will be the\ngit repository. Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name.\n+optional" }, "repository": { "type": "string", "title": "Repository URL" }, "revision": { "type": "string", "title": "Commit hash for the specified revision.\n+optional" } } }, "io.k8s.api.core.v1.GlusterfsVolumeSource": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod.\nGlusterfs volumes do not support ownership management or SELinux relabeling.", "type": "object", "properties": { "endpoints": { "type": "string", "title": "EndpointsName is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" }, "path": { "type": "string", "title": "Path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod\n+optional" } } }, "io.k8s.api.core.v1.HTTPGetAction": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "type": "object", "properties": { "host": { "type": "string", "title": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.\n+optional" }, "httpHeaders": { "type": "array", "title": "Custom headers to set in the request. HTTP allows repeated headers.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.HTTPHeader" } }, "path": { "type": "string", "title": "Path to access on the HTTP server.\n+optional" }, "port": { "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "$ref": "#/definitions/io.k8s.api.core.v1.IntOrString" }, "scheme": { "type": "string", "title": "Scheme to use for connecting to the host.\nDefaults to HTTP.\n+optional" } } }, "io.k8s.api.core.v1.HTTPHeader": { "type": "object", "title": "HTTPHeader describes a custom header to be used in HTTP probes", "properties": { "name": { "type": "string", "title": "The header field name" }, "value": { "type": "string", "title": "The header field value" } } }, "io.k8s.api.core.v1.Handler": { "description": "Handler defines a specific action that should be taken\nTODO: pass structured data to these actions, and document that data here.", "type": "object", "properties": { "exec": { "title": "One and only one of the following should be specified.\nExec specifies the action to take.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction" }, "httpGet": { "title": "HTTPGet specifies the http request to perform.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction" }, "tcpSocket": { "title": "TCPSocket specifies an action involving a TCP port.\nTCP hooks not yet supported\nTODO: implement a realistic TCP lifecycle hook\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction" } } }, "io.k8s.api.core.v1.HostAlias": { "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file.", "type": "object", "properties": { "hostnames": { "description": "Hostnames for the above IP address.", "type": "array", "items": { "type": "string" } }, "ip": { "description": "IP address of the host file entry.", "type": "string" } } }, "io.k8s.api.core.v1.HostPathVolumeSource": { "description": "Represents a host path mapped into a pod.\nHost path volumes do not support ownership management or SELinux relabeling.", "type": "object", "properties": { "path": { "type": "string", "title": "Path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, "type": { "type": "string", "title": "Type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath\n+optional" } } }, "io.k8s.api.core.v1.ISCSIVolumeSource": { "description": "Represents an ISCSI disk.\nISCSI volumes can only be mounted as read/write once.\nISCSI volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "chapAuthDiscovery": { "type": "boolean", "format": "boolean", "title": "whether support iSCSI Discovery CHAP authentication\n+optional" }, "chapAuthSession": { "type": "boolean", "format": "boolean", "title": "whether support iSCSI Session CHAP authentication\n+optional" }, "fsType": { "type": "string", "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" }, "initiatorName": { "type": "string", "title": "Custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n\u003ctarget portal\u003e:\u003cvolume name\u003e will be created for the connection.\n+optional" }, "iqn": { "description": "Target iSCSI Qualified Name.", "type": "string" }, "iscsiInterface": { "type": "string", "title": "iSCSI Interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp).\n+optional" }, "lun": { "description": "iSCSI Target Lun number.", "type": "integer", "format": "int32" }, "portals": { "type": "array", "title": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).\n+optional", "items": { "type": "string" } }, "readOnly": { "type": "boolean", "format": "boolean", "title": "ReadOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\n+optional" }, "secretRef": { "title": "CHAP Secret for iSCSI target and initiator authentication\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "targetPortal": { "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", "type": "string" } } }, "io.k8s.api.core.v1.KeyToPath": { "description": "Maps a string key to a path within a volume.", "type": "object", "properties": { "key": { "description": "The key to project.", "type": "string" }, "mode": { "type": "integer", "format": "int32", "title": "Optional: mode bits to use on this file, must be a value between 0\nand 0777. If not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" }, "path": { "description": "The relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", "type": "string" } } }, "io.k8s.api.core.v1.Lifecycle": { "description": "Lifecycle describes actions that the management system should take in response to container lifecycle\nevents. For the PostStart and PreStop lifecycle handlers, management of the container blocks\nuntil the action is complete, unless the container process fails, in which case the handler is aborted.", "type": "object", "properties": { "postStart": { "title": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Handler" }, "preStop": { "title": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The reason for termination is passed to the\nhandler. The Pod's termination grace period countdown begins before the\nPreStop hooked is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod. Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Handler" } } }, "io.k8s.api.core.v1.LocalObjectReference": { "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", "type": "object", "properties": { "name": { "type": "string", "title": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?\n+optional" } } }, "io.k8s.api.core.v1.NFSVolumeSource": { "description": "Represents an NFS mount that lasts the lifetime of a pod.\nNFS volumes do not support ownership management or SELinux relabeling.", "type": "object", "properties": { "path": { "type": "string", "title": "Path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "ReadOnly here will force\nthe NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs\n+optional" }, "server": { "type": "string", "title": "Server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" } } }, "io.k8s.api.core.v1.NodeAffinity": { "description": "Node affinity is a group of node affinity scheduling rules.", "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "title": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm" } }, "requiredDuringSchedulingIgnoredDuringExecution": { "title": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" } } }, "io.k8s.api.core.v1.NodeSelector": { "description": "A node selector represents the union of the results of one or more label queries\nover a set of nodes; that is, it represents the OR of the selectors represented\nby the node selector terms.", "type": "object", "properties": { "nodeSelectorTerms": { "description": "Required. A list of node selector terms. The terms are ORed.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" } } } }, "io.k8s.api.core.v1.NodeSelectorRequirement": { "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", "type": "object", "properties": { "key": { "description": "The label key that the selector applies to.", "type": "string" }, "operator": { "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", "type": "string" }, "values": { "type": "array", "title": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.\n+optional", "items": { "type": "string" } } } }, "io.k8s.api.core.v1.NodeSelectorTerm": { "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "type": "object", "properties": { "matchExpressions": { "type": "array", "title": "A list of node selector requirements by node's labels.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" } }, "matchFields": { "type": "array", "title": "A list of node selector requirements by node's fields.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" } } } }, "io.k8s.api.core.v1.ObjectFieldSelector": { "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "type": "object", "properties": { "apiVersion": { "type": "string", "title": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".\n+optional" }, "fieldPath": { "description": "Path of the field to select in the specified API version.", "type": "string" } } }, "io.k8s.api.core.v1.ObjectReference": { "type": "object", "title": "ObjectReference contains enough information to let you inspect or modify the referred object.\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", "properties": { "apiVersion": { "type": "string", "title": "API version of the referent.\n+optional" }, "fieldPath": { "type": "string", "title": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.\n+optional" }, "kind": { "type": "string", "title": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\n+optional" }, "name": { "type": "string", "title": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\n+optional" }, "namespace": { "type": "string", "title": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/\n+optional" }, "resourceVersion": { "type": "string", "title": "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency\n+optional" }, "uid": { "type": "string", "title": "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids\n+optional" } } }, "io.k8s.api.core.v1.PersistentVolumeClaim": { "type": "object", "title": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "properties": { "metadata": { "title": "Standard object's metadata.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ObjectMeta" }, "spec": { "title": "Spec defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec" }, "status": { "title": "Status represents the current information/status of a persistent volume claim.\nRead-only.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimStatus" } } }, "io.k8s.api.core.v1.PersistentVolumeClaimCondition": { "type": "object", "title": "PersistentVolumeClaimCondition contails details about state of pvc", "properties": { "lastProbeTime": { "title": "Last time we probed the condition.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "lastTransitionTime": { "title": "Last time the condition transitioned from one status to another.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "message": { "type": "string", "title": "Human-readable message indicating details about last transition.\n+optional" }, "reason": { "type": "string", "title": "Unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"ResizeStarted\" that means the underlying\npersistent volume is being resized.\n+optional" }, "status": { "type": "string" }, "type": { "type": "string" } } }, "io.k8s.api.core.v1.PersistentVolumeClaimSpec": { "type": "object", "title": "PersistentVolumeClaimSpec describes the common attributes of storage devices\nand allows a Source for provider-specific attributes", "properties": { "accessModes": { "type": "array", "title": "AccessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1\n+optional", "items": { "type": "string" } }, "dataSource": { "title": "This field requires the VolumeSnapshotDataSource alpha feature gate to be\nenabled and currently VolumeSnapshot is the only supported data source.\nIf the provisioner can support VolumeSnapshot data source, it will create\na new volume and data will be restored to the volume at the same time.\nIf the provisioner does not support VolumeSnapshot data source, volume will\nnot be created and the failure will be reported as an event.\nIn the future, we plan to support more data source types and the behavior\nof the provisioner may change.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference" }, "resources": { "title": "Resources represents the minimum resources the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" }, "selector": { "title": "A label query over volumes to consider for binding.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LabelSelector" }, "storageClassName": { "type": "string", "title": "Name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1\n+optional" }, "volumeMode": { "type": "string", "title": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.\nThis is a beta feature.\n+optional" }, "volumeName": { "type": "string", "title": "VolumeName is the binding reference to the PersistentVolume backing this claim.\n+optional" } } }, "io.k8s.api.core.v1.PersistentVolumeClaimStatus": { "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", "type": "object", "properties": { "accessModes": { "type": "array", "title": "AccessModes contains the actual access modes the volume backing the PVC has.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1\n+optional", "items": { "type": "string" } }, "capacity": { "type": "object", "title": "Represents the actual resources of the underlying volume.\n+optional", "additionalProperties": { "$ref": "#/definitions/io.k8s.api.core.v1.Quantity" } }, "conditions": { "type": "array", "title": "Current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'ResizeStarted'.\n+optional\n+patchMergeKey=type\n+patchStrategy=merge", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimCondition" } }, "phase": { "type": "string", "title": "Phase represents the current phase of PersistentVolumeClaim.\n+optional" } } }, "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource": { "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace.\nThis volume finds the bound PV and mounts that volume for the pod. A\nPersistentVolumeClaimVolumeSource is, essentially, a wrapper around another\ntype of volume that is owned by someone else (the system).", "type": "object", "properties": { "claimName": { "type": "string", "title": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Will force the ReadOnly setting in VolumeMounts.\nDefault false.\n+optional" } } }, "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource": { "description": "Represents a Photon Controller persistent disk resource.", "type": "object", "properties": { "fsType": { "description": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", "type": "string" }, "pdID": { "type": "string", "title": "ID that identifies Photon Controller persistent disk" } } }, "io.k8s.api.core.v1.PodAffinity": { "description": "Pod affinity is a group of inter pod affinity scheduling rules.", "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "title": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" } }, "requiredDuringSchedulingIgnoredDuringExecution": { "type": "array", "title": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" } } } }, "io.k8s.api.core.v1.PodAffinityTerm": { "type": "object", "title": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key \u003ctopologyKey\u003e matches that of any node on which\na pod of the set of pods is running", "properties": { "labelSelector": { "title": "A label query over a set of resources, in this case pods.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LabelSelector" }, "namespaces": { "type": "array", "title": "namespaces specifies which namespaces the labelSelector applies to (matches against);\nnull or empty list means \"this pod's namespace\"\n+optional", "items": { "type": "string" } }, "topologyKey": { "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", "type": "string" } } }, "io.k8s.api.core.v1.PodAntiAffinity": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "title": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" } }, "requiredDuringSchedulingIgnoredDuringExecution": { "type": "array", "title": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" } } } }, "io.k8s.api.core.v1.PodDNSConfig": { "description": "PodDNSConfig defines the DNS parameters of a pod in addition to\nthose generated from DNSPolicy.", "type": "object", "properties": { "nameservers": { "type": "array", "title": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed.\n+optional", "items": { "type": "string" } }, "options": { "type": "array", "title": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfigOption" } }, "searches": { "type": "array", "title": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed.\n+optional", "items": { "type": "string" } } } }, "io.k8s.api.core.v1.PodDNSConfigOption": { "description": "PodDNSConfigOption defines DNS resolver options of a pod.", "type": "object", "properties": { "name": { "description": "Required.", "type": "string" }, "value": { "type": "string", "title": "+optional" } } }, "io.k8s.api.core.v1.PodLogOptions": { "description": "PodLogOptions is the query options for a Pod's logs REST call.", "type": "object", "properties": { "container": { "type": "string", "title": "The container for which to stream logs. Defaults to only container if there is one container in the pod.\n+optional" }, "follow": { "type": "boolean", "format": "boolean", "title": "Follow the log stream of the pod. Defaults to false.\n+optional" }, "limitBytes": { "type": "string", "format": "int64", "title": "If set, the number of bytes to read from the server before terminating the\nlog output. This may not display a complete final line of logging, and may return\nslightly more or slightly less than the specified limit.\n+optional" }, "previous": { "type": "boolean", "format": "boolean", "title": "Return previous terminated container logs. Defaults to false.\n+optional" }, "sinceSeconds": { "type": "string", "format": "int64", "title": "A relative time in seconds before the current time from which to show logs. If this value\nprecedes the time a pod was started, only logs since the pod start will be returned.\nIf this value is in the future, no logs will be returned.\nOnly one of sinceSeconds or sinceTime may be specified.\n+optional" }, "sinceTime": { "title": "An RFC3339 timestamp from which to show logs. If this value\nprecedes the time a pod was started, only logs since the pod start will be returned.\nIf this value is in the future, no logs will be returned.\nOnly one of sinceSeconds or sinceTime may be specified.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "tailLines": { "type": "string", "format": "int64", "title": "If set, the number of lines from the end of the logs to show. If not specified,\nlogs are shown from the creation of the container or sinceSeconds or sinceTime\n+optional" }, "timestamps": { "type": "boolean", "format": "boolean", "title": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line\nof log output. Defaults to false.\n+optional" } } }, "io.k8s.api.core.v1.PodSecurityContext": { "description": "PodSecurityContext holds pod-level security attributes and common container settings.\nSome fields are also present in container.securityContext. Field values of\ncontainer.securityContext take precedence over field values of PodSecurityContext.", "type": "object", "properties": { "fsGroup": { "description": "1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\n+optional", "type": "string", "format": "int64", "title": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:" }, "runAsGroup": { "type": "string", "format": "int64", "title": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\n+optional" }, "runAsNonRoot": { "type": "boolean", "format": "boolean", "title": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" }, "runAsUser": { "type": "string", "format": "int64", "title": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\n+optional" }, "seLinuxOptions": { "title": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" }, "supplementalGroups": { "type": "array", "title": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID. If unspecified, no groups will be added to\nany container.\n+optional", "items": { "type": "string", "format": "int64" } }, "sysctls": { "type": "array", "title": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" } }, "windowsOptions": { "title": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions" } } }, "io.k8s.api.core.v1.PortworxVolumeSource": { "description": "PortworxVolumeSource represents a Portworx volume resource.", "type": "object", "properties": { "fsType": { "description": "FSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", "type": "string" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" }, "volumeID": { "type": "string", "title": "VolumeID uniquely identifies a Portworx volume" } } }, "io.k8s.api.core.v1.PreferredSchedulingTerm": { "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", "type": "object", "properties": { "preference": { "description": "A node selector term, associated with the corresponding weight.", "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", "type": "integer", "format": "int32" } } }, "io.k8s.api.core.v1.Probe": { "description": "Probe describes a health check to be performed against a container to determine whether it is\nalive or ready to receive traffic.", "type": "object", "properties": { "failureThreshold": { "type": "integer", "format": "int32", "title": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.\n+optional" }, "handler": { "title": "The action taken to determine the health of a container", "$ref": "#/definitions/io.k8s.api.core.v1.Handler" }, "initialDelaySeconds": { "type": "integer", "format": "int32", "title": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional" }, "periodSeconds": { "type": "integer", "format": "int32", "title": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.\n+optional" }, "successThreshold": { "type": "integer", "format": "int32", "title": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.\n+optional" }, "timeoutSeconds": { "type": "integer", "format": "int32", "title": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional" } } }, "io.k8s.api.core.v1.ProjectedVolumeSource": { "type": "object", "title": "Represents a projected volume source", "properties": { "defaultMode": { "type": "integer", "format": "int32", "title": "Mode bits to use on created files by default. Must be a value between\n0 and 0777.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" }, "sources": { "type": "array", "title": "list of volume projections", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" } } } }, "io.k8s.api.core.v1.QuobyteVolumeSource": { "description": "Represents a Quobyte mount that lasts the lifetime of a pod.\nQuobyte volumes do not support ownership management or SELinux relabeling.", "type": "object", "properties": { "group": { "type": "string", "title": "Group to map volume access to\nDefault is no group\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false.\n+optional" }, "registry": { "type": "string", "title": "Registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes" }, "tenant": { "type": "string", "title": "Tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin\n+optional" }, "user": { "type": "string", "title": "User to map volume access to\nDefaults to serivceaccount user\n+optional" }, "volume": { "description": "Volume is a string that references an already created Quobyte volume by name.", "type": "string" } } }, "io.k8s.api.core.v1.RBDVolumeSource": { "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod.\nRBD volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "fsType": { "type": "string", "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" }, "image": { "type": "string", "title": "The rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, "keyring": { "type": "string", "title": "Keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" }, "monitors": { "type": "array", "title": "A collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "items": { "type": "string" } }, "pool": { "type": "string", "title": "The rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "ReadOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" }, "secretRef": { "title": "SecretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "user": { "type": "string", "title": "The rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" } } }, "io.k8s.api.core.v1.ResourceFieldSelector": { "type": "object", "title": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { "containerName": { "type": "string", "title": "Container name: required for volumes, optional for env vars\n+optional" }, "divisor": { "title": "Specifies the output format of the exposed resources, defaults to \"1\"\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Quantity" }, "resource": { "type": "string", "title": "Required: resource to select" } } }, "io.k8s.api.core.v1.ResourceRequirements": { "description": "ResourceRequirements describes the compute resource requirements.", "type": "object", "properties": { "limits": { "type": "object", "title": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/\n+optional", "additionalProperties": { "$ref": "#/definitions/io.k8s.api.core.v1.Quantity" } }, "requests": { "type": "object", "title": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/\n+optional", "additionalProperties": { "$ref": "#/definitions/io.k8s.api.core.v1.Quantity" } } } }, "io.k8s.api.core.v1.SELinuxOptions": { "type": "object", "title": "SELinuxOptions are the labels to be applied to the container", "properties": { "level": { "type": "string", "title": "Level is SELinux level label that applies to the container.\n+optional" }, "role": { "type": "string", "title": "Role is a SELinux role label that applies to the container.\n+optional" }, "type": { "type": "string", "title": "Type is a SELinux type label that applies to the container.\n+optional" }, "user": { "type": "string", "title": "User is a SELinux user label that applies to the container.\n+optional" } } }, "io.k8s.api.core.v1.ScaleIOVolumeSource": { "type": "object", "title": "ScaleIOVolumeSource represents a persistent ScaleIO volume", "properties": { "fsType": { "type": "string", "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\".\n+optional" }, "gateway": { "description": "The host address of the ScaleIO API Gateway.", "type": "string" }, "protectionDomain": { "type": "string", "title": "The name of the ScaleIO Protection Domain for the configured storage.\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail.", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "sslEnabled": { "type": "boolean", "format": "boolean", "title": "Flag to enable/disable SSL communication with Gateway, default false\n+optional" }, "storageMode": { "type": "string", "title": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned.\n+optional" }, "storagePool": { "type": "string", "title": "The ScaleIO Storage Pool associated with the protection domain.\n+optional" }, "system": { "description": "The name of the storage system as configured in ScaleIO.", "type": "string" }, "volumeName": { "description": "The name of a volume already created in the ScaleIO system\nthat is associated with this volume source.", "type": "string" } } }, "io.k8s.api.core.v1.SecretEnvSource": { "description": "SecretEnvSource selects a Secret to populate the environment\nvariables with.\n\nThe contents of the target Secret's Data field will represent the\nkey-value pairs as environment variables.", "type": "object", "properties": { "localObjectReference": { "description": "The Secret to select from.", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the Secret must be defined\n+optional" } } }, "io.k8s.api.core.v1.SecretKeySelector": { "description": "SecretKeySelector selects a key of a Secret.", "type": "object", "properties": { "key": { "description": "The key of the secret to select from. Must be a valid secret key.", "type": "string" }, "localObjectReference": { "description": "The name of the secret in the pod's namespace to select from.", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the Secret or its key must be defined\n+optional" } } }, "io.k8s.api.core.v1.SecretProjection": { "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a\nprojected volume as files using the keys in the Data field as the file names.\nNote that this is identical to a secret volume source without the default\nmode.", "type": "object", "properties": { "items": { "type": "array", "title": "If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" } }, "localObjectReference": { "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the Secret or its key must be defined\n+optional" } } }, "io.k8s.api.core.v1.SecretVolumeSource": { "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume\nas files using the keys in the Data field as the file names.\nSecret volumes support ownership management and SELinux relabeling.", "type": "object", "properties": { "defaultMode": { "type": "integer", "format": "int32", "title": "Optional: mode bits to use on created files by default. Must be a\nvalue between 0 and 0777. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" }, "items": { "type": "array", "title": "If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" } }, "optional": { "type": "boolean", "format": "boolean", "title": "Specify whether the Secret or its keys must be defined\n+optional" }, "secretName": { "type": "string", "title": "Name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret\n+optional" } } }, "io.k8s.api.core.v1.SecurityContext": { "description": "SecurityContext holds security configuration that will be applied to a container.\nSome fields are present in both SecurityContext and PodSecurityContext. When both\nare set, the values in SecurityContext take precedence.", "type": "object", "properties": { "allowPrivilegeEscalation": { "type": "boolean", "format": "boolean", "title": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\n+optional" }, "capabilities": { "title": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Capabilities" }, "privileged": { "type": "boolean", "format": "boolean", "title": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\n+optional" }, "procMount": { "type": "string", "title": "procMount denotes the type of proc mount to use for the containers.\nThe default is DefaultProcMount which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\n+optional" }, "readOnlyRootFilesystem": { "type": "boolean", "format": "boolean", "title": "Whether this container has a read-only root filesystem.\nDefault is false.\n+optional" }, "runAsGroup": { "type": "string", "format": "int64", "title": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" }, "runAsNonRoot": { "type": "boolean", "format": "boolean", "title": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" }, "runAsUser": { "type": "string", "format": "int64", "title": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" }, "seLinuxOptions": { "title": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" }, "windowsOptions": { "title": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions" } } }, "io.k8s.api.core.v1.ServiceAccountTokenProjection": { "description": "ServiceAccountTokenProjection represents a projected service account token\nvolume. This projection can be used to insert a service account token into\nthe pods runtime filesystem for use against APIs (Kubernetes API Server or\notherwise).", "type": "object", "properties": { "audience": { "type": "string", "title": "Audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.\n+optional" }, "expirationSeconds": { "type": "string", "format": "int64", "title": "ExpirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.\n+optional" }, "path": { "description": "Path is the path relative to the mount point of the file to project the\ntoken into.", "type": "string" } } }, "io.k8s.api.core.v1.StorageOSVolumeSource": { "description": "Represents a StorageOS persistent volume resource.", "type": "object", "properties": { "fsType": { "type": "string", "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n+optional" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" }, "secretRef": { "title": "SecretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" }, "volumeName": { "description": "VolumeName is the human-readable name of the StorageOS volume. Volume\nnames are only unique within a namespace.", "type": "string" }, "volumeNamespace": { "type": "string", "title": "VolumeNamespace specifies the scope of the volume within StorageOS. If no\nnamespace is specified then the Pod's namespace will be used. This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created.\n+optional" } } }, "io.k8s.api.core.v1.Sysctl": { "type": "object", "title": "Sysctl defines a kernel parameter to be set", "properties": { "name": { "type": "string", "title": "Name of a property to set" }, "value": { "type": "string", "title": "Value of a property to set" } } }, "io.k8s.api.core.v1.TCPSocketAction": { "type": "object", "title": "TCPSocketAction describes an action based on opening a socket", "properties": { "host": { "type": "string", "title": "Optional: Host name to connect to, defaults to the pod IP.\n+optional" }, "port": { "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "$ref": "#/definitions/io.k8s.api.core.v1.IntOrString" } } }, "io.k8s.api.core.v1.Toleration": { "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.", "type": "object", "properties": { "effect": { "type": "string", "title": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n+optional" }, "key": { "type": "string", "title": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.\n+optional" }, "operator": { "type": "string", "title": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.\n+optional" }, "tolerationSeconds": { "type": "string", "format": "int64", "title": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.\n+optional" }, "value": { "type": "string", "title": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.\n+optional" } } }, "io.k8s.api.core.v1.TypedLocalObjectReference": { "description": "TypedLocalObjectReference contains enough information to let you locate the\ntyped referenced object inside the same namespace.", "type": "object", "properties": { "apiGroup": { "type": "string", "title": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.\n+optional" }, "kind": { "type": "string", "title": "Kind is the type of resource being referenced" }, "name": { "type": "string", "title": "Name is the name of resource being referenced" } } }, "io.k8s.api.core.v1.Volume": { "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "type": "object", "properties": { "name": { "type": "string", "title": "Volume's name.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" }, "volumeSource": { "description": "VolumeSource represents the location and type of the mounted volume.\nIf not specified, the Volume is implied to be an EmptyDir.\nThis implied behavior is deprecated and will be removed in a future version.", "$ref": "#/definitions/io.k8s.api.core.v1.VolumeSource" } } }, "io.k8s.api.core.v1.VolumeDevice": { "description": "volumeDevice describes a mapping of a raw block device within a container.", "type": "object", "properties": { "devicePath": { "description": "devicePath is the path inside of the container that the device will be mapped to.", "type": "string" }, "name": { "type": "string", "title": "name must match the name of a persistentVolumeClaim in the pod" } } }, "io.k8s.api.core.v1.VolumeMount": { "description": "VolumeMount describes a mounting of a Volume within a container.", "type": "object", "properties": { "mountPath": { "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", "type": "string" }, "mountPropagation": { "type": "string", "title": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\n+optional" }, "name": { "description": "This must match the Name of a Volume.", "type": "string" }, "readOnly": { "type": "boolean", "format": "boolean", "title": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.\n+optional" }, "subPath": { "type": "string", "title": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).\n+optional" }, "subPathExpr": { "type": "string", "title": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.\nThis field is beta in 1.15.\n+optional" } } }, "io.k8s.api.core.v1.VolumeProjection": { "type": "object", "title": "Projection that may be projected along with other supported volume types", "properties": { "configMap": { "title": "information about the configMap data to project\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection" }, "downwardAPI": { "title": "information about the downwardAPI data to project\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection" }, "secret": { "title": "information about the secret data to project\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection" }, "serviceAccountToken": { "title": "information about the serviceAccountToken data to project\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection" } } }, "io.k8s.api.core.v1.VolumeSource": { "description": "Represents the source of a volume to mount.\nOnly one of its members may be specified.", "type": "object", "properties": { "awsElasticBlockStore": { "title": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" }, "azureDisk": { "title": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource" }, "azureFile": { "title": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource" }, "cephfs": { "title": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource" }, "cinder": { "title": "Cinder represents a cinder volume attached and mounted on kubelets host machine.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource" }, "configMap": { "title": "ConfigMap represents a configMap that should populate this volume\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource" }, "csi": { "title": "CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource" }, "downwardAPI": { "title": "DownwardAPI represents downward API about the pod that should populate this volume\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource" }, "emptyDir": { "title": "EmptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource" }, "fc": { "title": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource" }, "flexVolume": { "title": "FlexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource" }, "flocker": { "title": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource" }, "gcePersistentDisk": { "title": "GCEPersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" }, "gitRepo": { "title": "GitRepo represents a git repository at a particular revision.\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource" }, "glusterfs": { "title": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource" }, "hostPath": { "title": "HostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath\n---\nTODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not\nmount host directories as read/write.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource" }, "iscsi": { "title": "ISCSI represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource" }, "nfs": { "title": "NFS represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource" }, "persistentVolumeClaim": { "title": "PersistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" }, "photonPersistentDisk": { "title": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" }, "portworxVolume": { "title": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource" }, "projected": { "title": "Items for all in one resources secrets, configmaps, and downward API", "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource" }, "quobyte": { "title": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource" }, "rbd": { "title": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.\nMore info: https://examples.k8s.io/volumes/rbd/README.md\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource" }, "scaleIO": { "title": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource" }, "secret": { "title": "Secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource" }, "storageos": { "title": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource" }, "vsphereVolume": { "title": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" } } }, "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { "description": "Represents a vSphere volume resource.", "type": "object", "properties": { "fsType": { "type": "string", "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n+optional" }, "storagePolicyID": { "type": "string", "title": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.\n+optional" }, "storagePolicyName": { "type": "string", "title": "Storage Policy Based Management (SPBM) profile name.\n+optional" }, "volumePath": { "type": "string", "title": "Path that identifies vSphere volume vmdk" } } }, "io.k8s.api.core.v1.WeightedPodAffinityTerm": { "type": "object", "title": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", "properties": { "podAffinityTerm": { "description": "Required. A pod affinity term, associated with the corresponding weight.", "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", "type": "integer", "format": "int32" } } }, "io.k8s.api.core.v1.WindowsSecurityContextOptions": { "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string", "title": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.\nThis field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.\n+optional" }, "gmsaCredentialSpecName": { "type": "string", "title": "GMSACredentialSpecName is the name of the GMSA credential spec to use.\nThis field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.\n+optional" }, "runAsUserName": { "type": "string", "title": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nThis field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag.\n+optional" } } }, "k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec": { "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "type": "object", "properties": { "maxUnavailable": { "title": "An eviction is allowed if at most \"maxUnavailable\" pods selected by\n\"selector\" are unavailable after the eviction, i.e. even in absence of\nthe evicted pod. For example, one can prevent all voluntary evictions\nby specifying 0. This is a mutually exclusive setting with \"minAvailable\".\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.IntOrString" }, "minAvailable": { "title": "An eviction is allowed if at least \"minAvailable\" pods selected by\n\"selector\" will still be available after the eviction, i.e. even in the\nabsence of the evicted pod. So for example you can prevent all voluntary\nevictions by specifying \"100%\".\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.IntOrString" }, "selector": { "title": "Label query over pods whose evictions are managed by the disruption\nbudget.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.LabelSelector" } } }, "io.k8s.api.core.v1.Quantity": { "description": "Quantity is a fixed-point representation of a number.\nIt provides convenient marshaling/unmarshaling in JSON and YAML,\nin addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\u003cquantity\u003e ::= \u003csignedNumber\u003e\u003csuffix\u003e\n (Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\u003cdigit\u003e ::= 0 | 1 | ... | 9\n\u003cdigits\u003e ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e\n\u003cnumber\u003e ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e\n\u003csign\u003e ::= \"+\" | \"-\"\n\u003csignedNumber\u003e ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e\n\u003csuffix\u003e ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e\n\u003cbinarySI\u003e ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\u003cdecimalSI\u003e ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e\n\nNo matter which of the three exponent forms is used, no quantity may represent\na number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\nplaces. Numbers larger or more precise will be capped or rounded up.\n(E.g.: 0.1m will rounded up to 1m.)\nThis may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix\nit had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\".\nThis means that Exponent/suffix will be adjusted up or down (with a\ncorresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a\nfloating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed,\nbut will be re-emitted in their canonical form. (So always use canonical\nform, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without\nwriting some sort of special handling code in the hopes that that will\ncause implementors to also use a fixed point implementation.\n\n+protobuf=true\n+protobuf.embed=string\n+protobuf.options.marshal=false\n+protobuf.options.(gogoproto.goproto_stringer)=false\n+k8s:deepcopy-gen=true\n+k8s:openapi-gen=true", "type": "object", "properties": { "string": { "type": "string" } } }, "io.k8s.api.core.v1.CreateOptions": { "description": "CreateOptions may be provided when creating an API object.", "type": "object", "properties": { "dryRun": { "type": "array", "title": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional", "items": { "type": "string" } }, "fieldManager": { "type": "string", "title": "fieldManager is a name associated with the actor or entity\nthat is making these changes. The value must be less than or\n128 characters long, and only contain printable characters,\nas defined by https://golang.org/pkg/unicode/#IsPrint.\n+optional" } } }, "io.k8s.api.core.v1.DeleteOptions": { "description": "DeleteOptions may be provided when deleting an API object.", "type": "object", "properties": { "dryRun": { "type": "array", "title": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional", "items": { "type": "string" } }, "gracePeriodSeconds": { "type": "string", "format": "int64", "title": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional" }, "orphanDependents": { "type": "boolean", "format": "boolean", "title": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional" }, "preconditions": { "title": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be\nreturned.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Preconditions" }, "propagationPolicy": { "type": "string", "title": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional" } } }, "io.k8s.api.core.v1.FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set,\nor a string representing a sub-field or item. The string will follow one of these four formats:\n'f:\u003cname\u003e', where \u003cname\u003e is the name of a field in a struct, or key in a map\n'v:\u003cvalue\u003e', where \u003cvalue\u003e is the exact json formatted value of a list item\n'i:\u003cindex\u003e', where \u003cindex\u003e is position of a item in a list\n'k:\u003ckeys\u003e', where \u003ckeys\u003e is a map of a list item's key fields to their unique values\nIf a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object", "properties": { "Raw": { "description": "Raw is the underlying serialization of this object.", "type": "string", "format": "byte" } } }, "io.k8s.api.core.v1.GetOptions": { "description": "GetOptions is the standard query options to the standard REST get call.", "type": "object", "properties": { "resourceVersion": { "description": "When specified:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.", "type": "string" } } }, "io.k8s.api.core.v1.LabelSelector": { "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.", "type": "object", "properties": { "matchExpressions": { "type": "array", "title": "matchExpressions is a list of label selector requirements. The requirements are ANDed.\n+optional", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.LabelSelectorRequirement" } }, "matchLabels": { "type": "object", "title": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.\n+optional", "additionalProperties": { "type": "string" } } } }, "io.k8s.api.core.v1.LabelSelectorRequirement": { "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "type": "object", "properties": { "key": { "type": "string", "title": "key is the label key that the selector applies to.\n+patchMergeKey=key\n+patchStrategy=merge" }, "operator": { "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { "type": "array", "title": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.\n+optional", "items": { "type": "string" } } } }, "io.k8s.api.core.v1.ListMeta": { "description": "ListMeta describes metadata that synthetic resources must have, including lists and\nvarious status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "type": "object", "properties": { "continue": { "description": "continue may be set if the user set a limit on the number of items returned, and indicates that\nthe server has more data available. The value is opaque and may be used to issue another request\nto the endpoint that served this list to retrieve the next set of available objects. Continuing a\nconsistent list may not be possible if the server configuration has changed or more than a few\nminutes have passed. The resourceVersion field returned when using this continue value will be\nidentical to the value in the first response, unless you have received this token from an error\nmessage.", "type": "string" }, "remainingItemCount": { "type": "string", "format": "int64", "title": "remainingItemCount is the number of subsequent items in the list which are not included in this\nlist response. If the list request contained label or field selectors, then the number of\nremaining items is unknown and the field will be left unset and omitted during serialization.\nIf the list is complete (either because it is not chunking or because this is the last chunk),\nthen there are no more remaining items and this field will be left unset and omitted during\nserialization.\nServers older than v1.15 do not set this field.\nThe intended use of the remainingItemCount is *estimating* the size of a collection. Clients\nshould not rely on the remainingItemCount to be set or to be exact.\n+optional" }, "resourceVersion": { "type": "string", "title": "String that identifies the server's internal version of this object that\ncan be used by clients to determine when objects have changed.\nValue must be treated as opaque by clients and passed unmodified back to the server.\nPopulated by the system.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency\n+optional" }, "selfLink": { "description": "selfLink is a URL representing this object.\nPopulated by the system.\nRead-only.\n\nDEPRECATED\nKubernetes will stop propagating this field in 1.20 release and the field is planned\nto be removed in 1.21 release.\n+optional", "type": "string" } } }, "io.k8s.api.core.v1.ListOptions": { "description": "ListOptions is the query options to a standard REST list call.", "type": "object", "properties": { "allowWatchBookmarks": { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\nIf the feature gate WatchBookmarks is not enabled in apiserver,\nthis field is ignored.\n\nThis field is beta.\n\n+optional", "type": "boolean", "format": "boolean" }, "continue": { "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", "type": "string" }, "fieldSelector": { "type": "string", "title": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional" }, "labelSelector": { "type": "string", "title": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional" }, "limit": { "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", "type": "string", "format": "int64" }, "resourceVersion": { "type": "string", "title": "When specified with a watch call, shows changes that occur after that particular version of a resource.\nDefaults to changes from the beginning of history.\nWhen specified for list:\n- if unset, then the result is returned from remote storage based on quorum-read flag;\n- if it's 0, then we simply return what we currently have in cache, no guarantee;\n- if set to non zero, then the result is at least as fresh as given rv.\n+optional" }, "timeoutSeconds": { "type": "string", "format": "int64", "title": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional" }, "watch": { "type": "boolean", "format": "boolean", "title": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional" } } }, "io.k8s.api.core.v1.ManagedFieldsEntry": { "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource\nthat the fieldset applies to.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the version of this resource that this field set\napplies to. The format is \"group/version\" just like the top-level\nAPIVersion field. It is necessary to track the version of a field\nset because it cannot be automatically converted.", "type": "string" }, "fieldsType": { "type": "string", "title": "FieldsType is the discriminator for the different fields format and version.\nThere is currently only one possible value: \"FieldsV1\"" }, "fieldsV1": { "title": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.FieldsV1" }, "manager": { "description": "Manager is an identifier of the workflow managing these fields.", "type": "string" }, "operation": { "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created.\nThe only valid values for this field are 'Apply' and 'Update'.", "type": "string" }, "time": { "title": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Time" } } }, "io.k8s.api.core.v1.ObjectMeta": { "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects\nusers must create.", "type": "object", "properties": { "annotations": { "type": "object", "title": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations\n+optional", "additionalProperties": { "type": "string" } }, "clusterName": { "type": "string", "title": "The name of the cluster which the object belongs to.\nThis is used to distinguish resources with same name and namespace in different clusters.\nThis field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.\n+optional" }, "creationTimestamp": { "description": "CreationTimestamp is a timestamp representing the server time when this object was\ncreated. It is not guaranteed to be set in happens-before order across separate operations.\nClients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system.\nRead-only.\nNull for lists.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "deletionGracePeriodSeconds": { "type": "string", "format": "int64", "title": "Number of seconds allowed for this object to gracefully terminate before\nit will be removed from the system. Only set when deletionTimestamp is also set.\nMay only be shortened.\nRead-only.\n+optional" }, "deletionTimestamp": { "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This\nfield is set by the server when a graceful deletion is requested by the user, and is not\ndirectly settable by a client. The resource is expected to be deleted (no longer visible\nfrom resource lists, and not reachable by name) after the time in this field, once the\nfinalizers list is empty. As long as the finalizers list contains items, deletion is blocked.\nOnce the deletionTimestamp is set, this value may not be unset or be set further into the\nfuture, although it may be shortened or the resource may be deleted prior to this time.\nFor example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react\nby sending a graceful termination signal to the containers in the pod. After that 30 seconds,\nthe Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,\nremove the pod from the API. In the presence of network partitions, this object may still\nexist after this timestamp, until an administrator or automated process can determine the\nresource is fully terminated.\nIf not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.Time" }, "finalizers": { "type": "array", "title": "Must be empty before the object is deleted from the registry. Each entry\nis an identifier for the responsible component that will remove the entry\nfrom the list. If the deletionTimestamp of the object is non-nil, entries\nin this list can only be removed.\n+optional\n+patchStrategy=merge", "items": { "type": "string" } }, "generateName": { "description": "GenerateName is an optional prefix, used by the server, to generate a unique\nname ONLY IF the Name field has not been provided.\nIf this field is used, the name returned to the client will be different\nthan the name passed. This value will also be combined with a unique suffix.\nThe provided value has the same validation rules as the Name field,\nand may be truncated by the length of the suffix required to make the value\nunique on the server.\n\nIf this field is specified and the generated name exists, the server will\nNOT return a 409 - instead, it will either return 201 Created or 500 with Reason\nServerTimeout indicating a unique name could not be found in the time allotted, and the client\nshould retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency\n+optional", "type": "string" }, "generation": { "type": "string", "format": "int64", "title": "A sequence number representing a specific generation of the desired state.\nPopulated by the system. Read-only.\n+optional" }, "labels": { "type": "object", "title": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels\n+optional", "additionalProperties": { "type": "string" } }, "managedFields": { "description": "ManagedFields maps workflow-id and version to the set of fields\nthat are managed by that io.argoproj.workflow.v1alpha1. This is mostly for internal\nhousekeeping, and users typically shouldn't need to set or\nunderstand this field. A workflow can be the user's name, a\ncontroller's name, or the name of a specific apply path like\n\"ci-cd\". The set of fields is always in the version that the\nworkflow used when modifying the object.\n\n+optional", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ManagedFieldsEntry" } }, "name": { "type": "string", "title": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names\n+optional" }, "namespace": { "description": "Namespace defines the space within each name must be unique. An empty namespace is\nequivalent to the \"default\" namespace, but \"default\" is the canonical representation.\nNot all objects are required to be scoped to a namespace - the value of this field for\nthose objects will be empty.\n\nMust be a DNS_LABEL.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/namespaces\n+optional", "type": "string" }, "ownerReferences": { "type": "array", "title": "List of objects depended by this object. If ALL objects in the list have\nbeen deleted, this object will be garbage collected. If this object is managed by a controller,\nthen an entry in this list will point to this controller, with the controller field set to true.\nThere cannot be more than one managing controller.\n+optional\n+patchMergeKey=uid\n+patchStrategy=merge", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.OwnerReference" } }, "resourceVersion": { "description": "An opaque value that represents the internal version of this object that can\nbe used by clients to determine when objects have changed. May be used for optimistic\nconcurrency, change detection, and the watch operation on a resource or set of resources.\nClients must treat these values as opaque and passed unmodified back to the server.\nThey may only be valid for a particular resource or set of resources.\n\nPopulated by the system.\nRead-only.\nValue must be treated as opaque by clients and .\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency\n+optional", "type": "string" }, "selfLink": { "description": "SelfLink is a URL representing this object.\nPopulated by the system.\nRead-only.\n\nDEPRECATED\nKubernetes will stop propagating this field in 1.20 release and the field is planned\nto be removed in 1.21 release.\n+optional", "type": "string" }, "uid": { "description": "UID is the unique in time and space value for this object. It is typically generated by\nthe server on successful creation of a resource and is not allowed to change on PUT\noperations.\n\nPopulated by the system.\nRead-only.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#uids\n+optional", "type": "string" } } }, "io.k8s.api.core.v1.OwnerReference": { "description": "OwnerReference contains enough information to let you identify an owning\nobject. An owning object must be in the same namespace as the dependent, or\nbe cluster-scoped, so there is no namespace field.", "type": "object", "properties": { "apiVersion": { "description": "API version of the referent.", "type": "string" }, "blockOwnerDeletion": { "type": "boolean", "format": "boolean", "title": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then\nthe owner cannot be deleted from the key-value store until this\nreference is removed.\nDefaults to false.\nTo set this field, a user needs \"delete\" permission of the owner,\notherwise 422 (Unprocessable Entity) will be returned.\n+optional" }, "controller": { "type": "boolean", "format": "boolean", "title": "If true, this reference points to the managing controller.\n+optional" }, "kind": { "type": "string", "title": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" }, "name": { "type": "string", "title": "Name of the referent.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names" }, "uid": { "type": "string", "title": "UID of the referent.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#uids" } } }, "io.k8s.api.core.v1.Preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", "type": "object", "properties": { "resourceVersion": { "type": "string", "title": "Specifies the target ResourceVersion\n+optional" }, "uid": { "type": "string", "title": "Specifies the target UID.\n+optional" } } }, "io.k8s.api.core.v1.Time": { "description": "Time is a wrapper around time.Time which supports correct\nmarshaling to YAML and JSON. Wrappers are provided for many\nof the factory methods that the time package offers.\n\n+protobuf.options.marshal=false\n+protobuf.as=Timestamp\n+protobuf.options.(gogoproto.goproto_stringer)=false", "type": "object", "properties": { "nanos": { "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", "type": "integer", "format": "int32" }, "seconds": { "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", "type": "string", "format": "int64" } } }, "io.k8s.api.core.v1.IntOrString": { "description": "+protobuf=true\n+protobuf.options.(gogoproto.goproto_stringer)=false\n+k8s:openapi-gen=true", "type": "object", "title": "IntOrString is a type that can hold an int32 or a string. When used in\nJSON or YAML marshalling and unmarshalling, it produces or consumes the\ninner type. This allows you to have, for example, a JSON field that can\naccept a name or number.\nTODO: Rename to Int32OrString", "properties": { "intVal": { "type": "integer", "format": "int32" }, "strVal": { "type": "string" }, "type": { "type": "string", "format": "int64" } } }, "io.argoproj.workflow.v1alpha1.LogEntry": { "type": "object", "properties": { "content": { "type": "string" }, "podName": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.WorkflowCreateRequest": { "type": "object", "properties": { "createOptions": { "$ref": "#/definitions/io.k8s.api.core.v1.CreateOptions" }, "instanceID": { "type": "string" }, "namespace": { "type": "string" }, "serverDryRun": { "type": "boolean", "format": "boolean" }, "workflow": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } }, "io.argoproj.workflow.v1alpha1.WorkflowDeleteResponse": { "type": "object" }, "io.argoproj.workflow.v1alpha1.WorkflowLintRequest": { "type": "object", "properties": { "namespace": { "type": "string" }, "workflow": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" } } }, "io.argoproj.workflow.v1alpha1.WorkflowResubmitRequest": { "type": "object", "properties": { "memoized": { "type": "boolean", "format": "boolean" }, "name": { "type": "string" }, "namespace": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.WorkflowResumeRequest": { "type": "object", "properties": { "name": { "type": "string" }, "namespace": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.WorkflowRetryRequest": { "type": "object", "properties": { "name": { "type": "string" }, "namespace": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.WorkflowSuspendRequest": { "type": "object", "properties": { "name": { "type": "string" }, "namespace": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.WorkflowTerminateRequest": { "type": "object", "properties": { "name": { "type": "string" }, "namespace": { "type": "string" } } }, "io.argoproj.workflow.v1alpha1.WorkflowWatchEvent": { "type": "object", "properties": { "object": { "title": "the workflow", "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" }, "type": { "type": "string", "title": "the type of change" } } }, "io.argoproj.workflow.v1alpha1.ArchivedWorkflowDeletedResponse": { "type": "object" }, "io.argoproj.workflow.v1alpha1.WorkflowTemplateCreateRequest": { "type": "object", "properties": { "createOptions": { "$ref": "#/definitions/io.k8s.api.core.v1.CreateOptions" }, "namespace": { "type": "string" }, "template": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } } }, "io.argoproj.workflow.v1alpha1.WorkflowTemplateDeleteResponse": { "type": "object" }, "io.argoproj.workflow.v1alpha1.WorkflowTemplateLintRequest": { "type": "object", "properties": { "createOptions": { "$ref": "#/definitions/io.k8s.api.core.v1.CreateOptions" }, "namespace": { "type": "string" }, "template": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } } }, "io.argoproj.workflow.v1alpha1.WorkflowTemplateUpdateRequest": { "type": "object", "properties": { "name": { "type": "string" }, "namespace": { "type": "string" }, "template": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" } } } }, "securityDefinitions": { "BearerToken": { "description": "Bearer Token authentication", "type": "apiKey", "name": "authorization", "in": "header" }, "HTTPBasic": { "description": "HTTP Basic authentication", "type": "basic" } }, "x-stream-definitions": { "io.argoproj.workflow.v1alpha1.LogEntry": { "properties": { "error": { "$ref": "#/definitions/grpc.gateway.runtime.StreamError" }, "result": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LogEntry" } }, "title": "Stream result of io.argoproj.workflow.v1alpha1.LogEntry", "type": "object" }, "io.argoproj.workflow.v1alpha1.WorkflowWatchEvent": { "properties": { "error": { "$ref": "#/definitions/grpc.gateway.runtime.StreamError" }, "result": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowWatchEvent" } }, "title": "Stream result of io.argoproj.workflow.v1alpha1.WorkflowWatchEvent", "type": "object" } } }