2018-06-25 20:49:38 +00:00
{
"consumes" : [
"application/json"
] ,
"produces" : [
"application/json"
] ,
"swagger" : "2.0" ,
"info" : {
"description" : "Description of all APIs" ,
"title" : "Consolidate Services" ,
"version" : "version not set"
} ,
"paths" : {
2020-03-17 22:31:37 +00:00
"/api/v1/account" : {
"get" : {
"tags" : [
"AccountService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "ListAccounts returns the list of accounts" ,
2020-12-09 19:33:54 +00:00
"operationId" : "AccountService_ListAccounts" ,
2020-03-17 22:31:37 +00:00
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-03-17 22:31:37 +00:00
"schema" : {
"$ref" : "#/definitions/accountAccountsList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-03-17 22:31:37 +00:00
}
}
}
} ,
2019-10-31 23:06:29 +00:00
"/api/v1/account/can-i/{resource}/{action}/{subresource}" : {
"get" : {
"tags" : [
"AccountService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "CanI checks if the current account has permission to perform an action" ,
2020-12-09 19:33:54 +00:00
"operationId" : "AccountService_CanI" ,
2019-10-31 23:06:29 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "resource" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "action" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "subresource" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-10-31 23:06:29 +00:00
"schema" : {
"$ref" : "#/definitions/accountCanIResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-10-31 23:06:29 +00:00
}
}
}
} ,
2018-07-16 20:52:40 +00:00
"/api/v1/account/password" : {
"put" : {
"tags" : [
"AccountService"
] ,
"summary" : "UpdatePassword updates an account's password to a new value" ,
2020-12-09 19:33:54 +00:00
"operationId" : "AccountService_UpdatePassword" ,
2018-07-16 20:52:40 +00:00
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/accountUpdatePasswordRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-07-16 20:52:40 +00:00
"schema" : {
"$ref" : "#/definitions/accountUpdatePasswordResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-07-16 20:52:40 +00:00
}
}
}
} ,
2020-03-17 22:31:37 +00:00
"/api/v1/account/{name}" : {
"get" : {
"tags" : [
"AccountService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "GetAccount returns an account" ,
2020-12-09 19:33:54 +00:00
"operationId" : "AccountService_GetAccount" ,
2020-03-17 22:31:37 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-03-17 22:31:37 +00:00
"schema" : {
"$ref" : "#/definitions/accountAccount"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-03-17 22:31:37 +00:00
}
}
}
} ,
"/api/v1/account/{name}/token" : {
"post" : {
"tags" : [
"AccountService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "CreateToken creates a token" ,
2020-12-09 19:33:54 +00:00
"operationId" : "AccountService_CreateToken" ,
2020-03-17 22:31:37 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/accountCreateTokenRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-03-17 22:31:37 +00:00
"schema" : {
"$ref" : "#/definitions/accountCreateTokenResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-03-17 22:31:37 +00:00
}
}
}
} ,
"/api/v1/account/{name}/token/{id}" : {
"delete" : {
"tags" : [
"AccountService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "DeleteToken deletes a token" ,
2020-12-09 19:33:54 +00:00
"operationId" : "AccountService_DeleteToken" ,
2020-03-17 22:31:37 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "id" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-03-17 22:31:37 +00:00
"schema" : {
"$ref" : "#/definitions/accountEmptyResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-03-17 22:31:37 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/applications" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "List returns list of applications" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_List" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "the application's name." ,
2018-06-25 20:49:38 +00:00
"name" : "name" ,
"in" : "query"
} ,
{
2018-12-18 02:23:35 +00:00
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "forces application reconciliation if set to true." ,
2018-06-25 20:49:38 +00:00
"name" : "refresh" ,
"in" : "query"
} ,
{
"type" : "array" ,
"items" : {
"type" : "string"
} ,
2020-07-09 20:38:32 +00:00
"collectionFormat" : "multi" ,
2019-10-08 17:04:30 +00:00
"description" : "the project names to restrict returned list applications." ,
2018-06-25 20:49:38 +00:00
"name" : "project" ,
"in" : "query"
2019-05-13 21:58:22 +00:00
} ,
{
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "when specified with a watch call, shows changes that occur after that particular version of a resource." ,
2019-05-13 21:58:22 +00:00
"name" : "resourceVersion" ,
"in" : "query"
2019-10-08 17:04:30 +00:00
} ,
{
"type" : "string" ,
"description" : "the selector to to restrict returned list to applications only with matched labels." ,
"name" : "selector" ,
"in" : "query"
2021-03-12 17:07:22 +00:00
} ,
{
"type" : "string" ,
"description" : "the repoURL to restrict returned list applications." ,
"name" : "repo" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1ApplicationList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
"post" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Create creates an application" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Create" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"name" : "upsert" ,
"in" : "query"
} ,
{
"type" : "boolean" ,
"name" : "validate" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/applications/{application.metadata.name}" : {
"put" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Update updates an application" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Update" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "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" ,
2018-06-25 20:49:38 +00:00
"name" : "application.metadata.name" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"name" : "validate" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2018-11-30 18:32:31 +00:00
"/api/v1/applications/{applicationName}/managed-resources" : {
2018-11-17 01:10:04 +00:00
"get" : {
"tags" : [
"ApplicationService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "ManagedResources returns list of managed resources" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_ManagedResources" ,
2018-11-17 01:10:04 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "applicationName" ,
"in" : "path" ,
"required" : true
2019-12-26 22:42:56 +00:00
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "name" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
2018-11-28 21:38:02 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-11-28 21:38:02 +00:00
"schema" : {
2019-02-13 23:20:40 +00:00
"$ref" : "#/definitions/applicationManagedResourcesResponse"
2018-11-28 21:38:02 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-11-28 21:38:02 +00:00
}
}
}
} ,
2018-11-30 18:32:31 +00:00
"/api/v1/applications/{applicationName}/resource-tree" : {
2018-11-28 21:38:02 +00:00
"get" : {
"tags" : [
"ApplicationService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "ResourceTree returns resource tree" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_ResourceTree" ,
2018-11-28 21:38:02 +00:00
"parameters" : [
2018-11-17 01:10:04 +00:00
{
"type" : "string" ,
2018-11-28 21:38:02 +00:00
"name" : "applicationName" ,
"in" : "path" ,
"required" : true
2019-12-26 22:42:56 +00:00
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "name" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
2018-11-17 01:10:04 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-11-17 01:10:04 +00:00
"schema" : {
2019-03-30 03:59:25 +00:00
"$ref" : "#/definitions/v1alpha1ApplicationTree"
2018-11-17 01:10:04 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-11-17 01:10:04 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/applications/{name}" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Get returns an application by name" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Get" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "the application's name" ,
2018-06-25 20:49:38 +00:00
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
2018-12-18 02:23:35 +00:00
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "forces application reconciliation if set to true." ,
2018-06-25 20:49:38 +00:00
"name" : "refresh" ,
"in" : "query"
} ,
{
"type" : "array" ,
"items" : {
"type" : "string"
} ,
2020-07-09 20:38:32 +00:00
"collectionFormat" : "multi" ,
2019-10-08 17:04:30 +00:00
"description" : "the project names to restrict returned list applications." ,
2018-06-25 20:49:38 +00:00
"name" : "project" ,
"in" : "query"
2019-05-13 21:58:22 +00:00
} ,
{
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "when specified with a watch call, shows changes that occur after that particular version of a resource." ,
2019-05-13 21:58:22 +00:00
"name" : "resourceVersion" ,
"in" : "query"
2019-10-08 17:04:30 +00:00
} ,
{
"type" : "string" ,
"description" : "the selector to to restrict returned list to applications only with matched labels." ,
"name" : "selector" ,
"in" : "query"
2021-03-12 17:07:22 +00:00
} ,
{
"type" : "string" ,
"description" : "the repoURL to restrict returned list applications." ,
"name" : "repo" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
"delete" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Delete deletes an application" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Delete" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
2020-07-09 20:38:32 +00:00
} ,
{
"type" : "boolean" ,
"name" : "cascade" ,
"in" : "query"
2021-03-15 16:27:41 +00:00
} ,
{
"type" : "string" ,
"name" : "propagationPolicy" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/applicationApplicationResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
2019-02-25 22:25:25 +00:00
} ,
"patch" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Patch patch an application" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Patch" ,
2019-02-25 22:25:25 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/applicationApplicationPatchRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-02-25 22:25:25 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-02-25 22:25:25 +00:00
}
}
2018-06-25 20:49:38 +00:00
}
} ,
"/api/v1/applications/{name}/events" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "ListResourceEvents returns a list of event resources" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_ListResourceEvents" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
2018-12-03 22:53:11 +00:00
{
"type" : "string" ,
"name" : "resourceNamespace" ,
"in" : "query"
} ,
2018-06-25 20:49:38 +00:00
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceUID" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1EventList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2021-02-11 01:58:13 +00:00
"/api/v1/applications/{name}/logs" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "PodLogs returns stream of log entries for the specified pod. Pod" ,
"operationId" : "ApplicationService_PodLogs2" ,
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "podName" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "container" ,
"in" : "query"
} ,
{
"type" : "string" ,
"format" : "int64" ,
"name" : "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" : "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" : "sinceTime.nanos" ,
"in" : "query"
} ,
{
"type" : "string" ,
"format" : "int64" ,
"name" : "tailLines" ,
"in" : "query"
} ,
{
"type" : "boolean" ,
"name" : "follow" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "untilTime" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "filter" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
"description" : "A successful response.(streaming responses)" ,
"schema" : {
"type" : "object" ,
"title" : "Stream result of applicationLogEntry" ,
"properties" : {
"error" : {
"$ref" : "#/definitions/runtimeStreamError"
} ,
"result" : {
"$ref" : "#/definitions/applicationLogEntry"
}
}
}
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/applications/{name}/manifests" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "GetManifests returns application manifests" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_GetManifests" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "revision" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/repositoryManifestResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2018-07-14 00:13:31 +00:00
"/api/v1/applications/{name}/operation" : {
"delete" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "TerminateOperation terminates the currently running operation" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_TerminateOperation" ,
2018-07-14 00:13:31 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-07-14 00:13:31 +00:00
"schema" : {
"$ref" : "#/definitions/applicationOperationTerminateResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-07-14 00:13:31 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/applications/{name}/pods/{podName}/logs" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "PodLogs returns stream of log entries for the specified pod. Pod" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_PodLogs" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "podName" ,
"in" : "path" ,
"required" : true
} ,
2018-11-30 23:40:01 +00:00
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
2018-06-25 20:49:38 +00:00
{
"type" : "string" ,
"name" : "container" ,
"in" : "query"
} ,
{
"type" : "string" ,
"format" : "int64" ,
"name" : "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" : "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" : "sinceTime.nanos" ,
"in" : "query"
} ,
{
"type" : "string" ,
"format" : "int64" ,
"name" : "tailLines" ,
"in" : "query"
} ,
{
"type" : "boolean" ,
"name" : "follow" ,
"in" : "query"
2021-01-25 19:48:49 +00:00
} ,
{
"type" : "string" ,
"name" : "untilTime" ,
"in" : "query"
2021-01-27 23:48:37 +00:00
} ,
{
"type" : "string" ,
"name" : "filter" ,
"in" : "query"
2021-02-08 17:27:24 +00:00
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response.(streaming responses)" ,
2018-06-25 20:49:38 +00:00
"schema" : {
2020-09-18 22:39:56 +00:00
"type" : "object" ,
"title" : "Stream result of applicationLogEntry" ,
"properties" : {
"error" : {
"$ref" : "#/definitions/runtimeStreamError"
} ,
"result" : {
"$ref" : "#/definitions/applicationLogEntry"
}
}
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2018-08-15 22:01:29 +00:00
"/api/v1/applications/{name}/resource" : {
2018-11-28 21:38:02 +00:00
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "GetResource returns single application resource" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_GetResource" ,
2018-11-28 21:38:02 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
}
] ,
"responses" : {
2018-12-28 23:57:52 +00:00
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-12-28 23:57:52 +00:00
"schema" : {
"$ref" : "#/definitions/applicationApplicationResourceResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-12-28 23:57:52 +00:00
}
}
} ,
"post" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "PatchResource patch single application resource" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_PatchResource" ,
2018-12-28 23:57:52 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
2019-02-26 23:57:47 +00:00
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"type" : "string"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "patchType" ,
"in" : "query"
2018-12-28 23:57:52 +00:00
}
] ,
"responses" : {
2018-11-28 21:38:02 +00:00
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-11-28 21:38:02 +00:00
"schema" : {
"$ref" : "#/definitions/applicationApplicationResourceResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-11-28 21:38:02 +00:00
}
}
} ,
2018-08-15 22:01:29 +00:00
"delete" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "DeleteResource deletes a single application resource" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_DeleteResource" ,
2018-08-15 22:01:29 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
2020-07-09 20:38:32 +00:00
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
} ,
{
"type" : "boolean" ,
"name" : "force" ,
"in" : "query"
2021-03-09 13:04:14 +00:00
} ,
{
"type" : "boolean" ,
"name" : "orphan" ,
"in" : "query"
2018-08-15 22:01:29 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-08-15 22:01:29 +00:00
"schema" : {
"$ref" : "#/definitions/applicationApplicationResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-08-15 22:01:29 +00:00
}
}
}
} ,
2019-04-16 21:50:44 +00:00
"/api/v1/applications/{name}/resource/actions" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "ListResourceActions returns list of resource actions" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_ListResourceActions" ,
2019-04-16 21:50:44 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-04-16 21:50:44 +00:00
"schema" : {
"$ref" : "#/definitions/applicationResourceActionsListResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-04-16 21:50:44 +00:00
}
}
2019-04-19 17:27:12 +00:00
} ,
2019-04-16 21:50:44 +00:00
"post" : {
"tags" : [
"ApplicationService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "RunResourceAction run resource action" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_RunResourceAction" ,
2019-04-16 21:50:44 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"type" : "string"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "resourceName" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
2019-04-16 21:50:44 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-04-16 21:50:44 +00:00
"schema" : {
"$ref" : "#/definitions/applicationApplicationResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-04-16 21:50:44 +00:00
}
}
}
} ,
2019-06-21 22:51:48 +00:00
"/api/v1/applications/{name}/revisions/{revision}/metadata" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Get the meta-data (author, date, tags, message) for a specific revision of the application" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_RevisionMetadata" ,
2019-06-21 22:51:48 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "the application's name" ,
2019-06-21 22:51:48 +00:00
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "the revision of the app" ,
2019-06-21 22:51:48 +00:00
"name" : "revision" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-06-21 22:51:48 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1RevisionMetadata"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-06-21 22:51:48 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/applications/{name}/rollback" : {
"post" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Rollback syncs an application to its target state" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Rollback" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/applicationApplicationRollbackRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/applications/{name}/spec" : {
"put" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "UpdateSpec updates an application spec" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_UpdateSpec" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1ApplicationSpec"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"name" : "validate" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1ApplicationSpec"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/applications/{name}/sync" : {
"post" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Sync syncs an application to its target state" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Sync" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/applicationApplicationSyncRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Application"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2019-10-08 22:20:19 +00:00
"/api/v1/applications/{name}/syncwindows" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
2020-11-16 17:03:15 +00:00
"summary" : "Get returns sync windows of the application" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_GetApplicationSyncWindows" ,
2019-10-08 22:20:19 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-10-08 22:20:19 +00:00
"schema" : {
"$ref" : "#/definitions/applicationApplicationSyncWindowsResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-10-08 22:20:19 +00:00
}
}
}
} ,
2019-07-11 23:00:47 +00:00
"/api/v1/certificates" : {
"get" : {
"tags" : [
"CertificateService"
] ,
2019-07-12 17:19:51 +00:00
"summary" : "List all available repository certificates" ,
2020-12-09 19:33:54 +00:00
"operationId" : "CertificateService_ListCertificates" ,
2019-07-11 23:00:47 +00:00
"parameters" : [
{
"type" : "string" ,
"description" : "A file-glob pattern (not regular expression) the host name has to match." ,
"name" : "hostNamePattern" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "The type of the certificate to match (ssh or https)." ,
"name" : "certType" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "The sub type of the certificate to match (protocol dependent, usually only used for ssh certs)." ,
"name" : "certSubType" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-07-11 23:00:47 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1RepositoryCertificateList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-07-11 23:00:47 +00:00
}
}
} ,
"post" : {
"tags" : [
"CertificateService"
] ,
2019-07-12 17:19:51 +00:00
"summary" : "Creates repository certificates on the server" ,
2020-12-09 19:33:54 +00:00
"operationId" : "CertificateService_CreateCertificate" ,
2019-07-11 23:00:47 +00:00
"parameters" : [
{
2020-07-09 20:38:32 +00:00
"description" : "List of certificates to be created" ,
2019-07-11 23:00:47 +00:00
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1RepositoryCertificateList"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"description" : "Whether to upsert already existing certificates." ,
"name" : "upsert" ,
"in" : "query"
2019-07-11 23:00:47 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-07-11 23:00:47 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1RepositoryCertificateList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-07-11 23:00:47 +00:00
}
}
} ,
"delete" : {
"tags" : [
"CertificateService"
] ,
2019-07-12 17:19:51 +00:00
"summary" : "Delete the certificates that match the RepositoryCertificateQuery" ,
2020-12-09 19:33:54 +00:00
"operationId" : "CertificateService_DeleteCertificate" ,
2020-07-09 20:38:32 +00:00
"parameters" : [
{
"type" : "string" ,
"description" : "A file-glob pattern (not regular expression) the host name has to match." ,
"name" : "hostNamePattern" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "The type of the certificate to match (ssh or https)." ,
"name" : "certType" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "The sub type of the certificate to match (protocol dependent, usually only used for ssh certs)." ,
"name" : "certSubType" ,
"in" : "query"
}
] ,
2019-07-11 23:00:47 +00:00
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-07-11 23:00:47 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1RepositoryCertificateList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-07-11 23:00:47 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/clusters" : {
"get" : {
"tags" : [
"ClusterService"
] ,
"summary" : "List returns list of clusters" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ClusterService_List" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "server" ,
"in" : "query"
2020-06-20 23:12:46 +00:00
} ,
{
"type" : "string" ,
"name" : "name" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1ClusterList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
"post" : {
"tags" : [
"ClusterService"
] ,
"summary" : "Create creates a cluster" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ClusterService_Create" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"name" : "upsert" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/clusters/{cluster.server}" : {
"put" : {
"tags" : [
"ClusterService"
] ,
"summary" : "Update updates a cluster" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ClusterService_Update" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "Server is the API server URL of the Kubernetes cluster" ,
2018-06-25 20:49:38 +00:00
"name" : "cluster.server" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "array" ,
"items" : {
"type" : "string"
} ,
"collectionFormat" : "multi" ,
"name" : "updatedFields" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/clusters/{server}" : {
"get" : {
"tags" : [
"ClusterService"
] ,
"summary" : "Get returns a cluster by server address" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ClusterService_Get" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "server" ,
"in" : "path" ,
"required" : true
2020-06-20 23:12:46 +00:00
} ,
{
"type" : "string" ,
"name" : "name" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
"delete" : {
"tags" : [
"ClusterService"
] ,
"summary" : "Delete deletes a cluster" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ClusterService_Delete" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "server" ,
"in" : "path" ,
"required" : true
2020-07-09 20:38:32 +00:00
} ,
{
"type" : "string" ,
"name" : "name" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/clusterClusterResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2020-06-23 00:51:20 +00:00
"/api/v1/clusters/{server}/invalidate-cache" : {
"post" : {
"tags" : [
"ClusterService"
] ,
"summary" : "InvalidateCache invalidates cluster cache" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ClusterService_InvalidateCache" ,
2020-06-23 00:51:20 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "server" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-06-23 00:51:20 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-06-23 00:51:20 +00:00
}
}
}
} ,
2019-06-21 20:34:56 +00:00
"/api/v1/clusters/{server}/rotate-auth" : {
"post" : {
"tags" : [
"ClusterService"
] ,
2020-06-23 00:51:20 +00:00
"summary" : "RotateAuth rotates the bearer token used for a cluster" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ClusterService_RotateAuth" ,
2019-06-21 20:34:56 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "server" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-06-21 20:34:56 +00:00
"schema" : {
"$ref" : "#/definitions/clusterClusterResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-06-21 20:34:56 +00:00
}
}
}
} ,
2020-06-22 16:21:53 +00:00
"/api/v1/gpgkeys" : {
"get" : {
"tags" : [
"GPGKeyService"
] ,
"summary" : "List all available repository certificates" ,
2020-12-09 19:33:54 +00:00
"operationId" : "GPGKeyService_List" ,
2020-06-22 16:21:53 +00:00
"parameters" : [
{
"type" : "string" ,
"description" : "The GPG key ID to query for." ,
"name" : "keyID" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-06-22 16:21:53 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1GnuPGPublicKeyList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-06-22 16:21:53 +00:00
}
}
} ,
"post" : {
"tags" : [
"GPGKeyService"
] ,
"summary" : "Create one or more GPG public keys in the server's configuration" ,
2020-12-09 19:33:54 +00:00
"operationId" : "GPGKeyService_Create" ,
2020-06-22 16:21:53 +00:00
"parameters" : [
{
2020-07-09 20:38:32 +00:00
"description" : "Raw key data of the GPG key(s) to create" ,
2020-06-22 16:21:53 +00:00
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1GnuPGPublicKey"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"description" : "Whether to upsert already existing public keys." ,
"name" : "upsert" ,
"in" : "query"
2020-06-22 16:21:53 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-06-22 16:21:53 +00:00
"schema" : {
"$ref" : "#/definitions/gpgkeyGnuPGPublicKeyCreateResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-06-22 16:21:53 +00:00
}
}
} ,
"delete" : {
"tags" : [
"GPGKeyService"
] ,
"summary" : "Delete specified GPG public key from the server's configuration" ,
2020-12-09 19:33:54 +00:00
"operationId" : "GPGKeyService_Delete" ,
2020-07-09 20:38:32 +00:00
"parameters" : [
{
"type" : "string" ,
"description" : "The GPG key ID to query for." ,
"name" : "keyID" ,
"in" : "query"
}
] ,
2020-06-22 16:21:53 +00:00
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-06-22 16:21:53 +00:00
"schema" : {
"$ref" : "#/definitions/gpgkeyGnuPGPublicKeyResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-06-22 16:21:53 +00:00
}
}
}
} ,
"/api/v1/gpgkeys/{keyID}" : {
"get" : {
"tags" : [
"GPGKeyService"
] ,
"summary" : "Get information about specified GPG public key from the server" ,
2020-12-09 19:33:54 +00:00
"operationId" : "GPGKeyService_Get" ,
2020-06-22 16:21:53 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "The GPG key ID to query for" ,
2020-06-22 16:21:53 +00:00
"name" : "keyID" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-06-22 16:21:53 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1GnuPGPublicKey"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-06-22 16:21:53 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/projects" : {
"get" : {
"tags" : [
"ProjectService"
] ,
"summary" : "List returns list of projects" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_List" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1AppProjectList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
"post" : {
"tags" : [
"ProjectService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "Create a new project" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_Create" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/projectProjectCreateRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1AppProject"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/projects/{name}" : {
"get" : {
"tags" : [
"ProjectService"
] ,
"summary" : "Get returns a project by name" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_Get" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1AppProject"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
2018-07-24 15:48:13 +00:00
} ,
"delete" : {
2018-06-25 20:49:38 +00:00
"tags" : [
2018-07-24 15:48:13 +00:00
"ProjectService"
2018-06-25 20:49:38 +00:00
] ,
2018-07-24 15:48:13 +00:00
"summary" : "Delete deletes a project" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_Delete" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2018-07-24 15:48:13 +00:00
"name" : "name" ,
"in" : "path" ,
"required" : true
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
2018-07-24 15:48:13 +00:00
"$ref" : "#/definitions/projectEmptyResponse"
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
2018-07-24 15:48:13 +00:00
}
} ,
2021-08-16 16:38:37 +00:00
"/api/v1/projects/{name}/detailed" : {
"get" : {
"tags" : [
"ProjectService"
] ,
"summary" : "GetDetailedProject returns a project that include project, global project and scoped resources by name" ,
"operationId" : "ProjectService_GetDetailedProject" ,
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/projectDetailedProjectsResponse"
}
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
}
}
} ,
2018-08-09 22:55:43 +00:00
"/api/v1/projects/{name}/events" : {
"get" : {
"tags" : [
"ProjectService"
] ,
"summary" : "ListEvents returns a list of project events" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_ListEvents" ,
2018-08-09 22:55:43 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-08-09 22:55:43 +00:00
"schema" : {
"$ref" : "#/definitions/v1EventList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-08-09 22:55:43 +00:00
}
}
}
} ,
2020-10-26 17:39:39 +00:00
"/api/v1/projects/{name}/globalprojects" : {
"get" : {
"tags" : [
"ProjectService"
] ,
"summary" : "Get returns a virtual project by name" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_GetGlobalProjects" ,
2020-10-26 17:39:39 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/projectGlobalProjectsResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-10-26 17:39:39 +00:00
}
}
}
} ,
2019-10-08 22:20:19 +00:00
"/api/v1/projects/{name}/syncwindows" : {
2019-10-01 22:23:09 +00:00
"get" : {
"tags" : [
"ProjectService"
] ,
2019-10-08 22:20:19 +00:00
"summary" : "GetSchedulesState returns true if there are any active sync syncWindows" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_GetSyncWindowsState" ,
2019-10-01 22:23:09 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "name" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-10-01 22:23:09 +00:00
"schema" : {
2019-10-08 22:20:19 +00:00
"$ref" : "#/definitions/projectSyncWindowsResponse"
2019-10-01 22:23:09 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-10-01 22:23:09 +00:00
}
}
}
} ,
2018-07-24 15:48:13 +00:00
"/api/v1/projects/{project.metadata.name}" : {
"put" : {
2018-06-25 20:49:38 +00:00
"tags" : [
2018-07-24 15:48:13 +00:00
"ProjectService"
2018-06-25 20:49:38 +00:00
] ,
2018-07-24 15:48:13 +00:00
"summary" : "Update updates a project" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_Update" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
2018-07-24 15:48:13 +00:00
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "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" ,
2018-07-24 15:48:13 +00:00
"name" : "project.metadata.name" ,
"in" : "path" ,
"required" : true
} ,
2018-06-25 20:49:38 +00:00
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2018-07-24 15:48:13 +00:00
"$ref" : "#/definitions/projectProjectUpdateRequest"
2018-06-25 20:49:38 +00:00
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
2018-07-24 15:48:13 +00:00
"$ref" : "#/definitions/v1alpha1AppProject"
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2018-08-15 19:54:24 +00:00
"/api/v1/projects/{project}/roles/{role}/token" : {
"post" : {
"tags" : [
"ProjectService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "Create a new project token" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_CreateToken" ,
2018-08-15 19:54:24 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "project" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "role" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/projectProjectTokenCreateRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-08-15 19:54:24 +00:00
"schema" : {
"$ref" : "#/definitions/projectProjectTokenResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-08-15 19:54:24 +00:00
}
}
2018-09-13 02:49:20 +00:00
}
} ,
"/api/v1/projects/{project}/roles/{role}/token/{iat}" : {
2018-08-15 19:54:24 +00:00
"delete" : {
"tags" : [
"ProjectService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "Delete a new project token" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ProjectService_DeleteToken" ,
2018-08-15 19:54:24 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "project" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "role" ,
"in" : "path" ,
"required" : true
2018-09-13 02:49:20 +00:00
} ,
{
"type" : "string" ,
"format" : "int64" ,
"name" : "iat" ,
"in" : "path" ,
"required" : true
2020-07-09 20:38:32 +00:00
} ,
{
"type" : "string" ,
"name" : "id" ,
"in" : "query"
2018-08-15 19:54:24 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-08-15 19:54:24 +00:00
"schema" : {
"$ref" : "#/definitions/projectEmptyResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-08-15 19:54:24 +00:00
}
}
}
} ,
2019-10-17 00:17:47 +00:00
"/api/v1/repocreds" : {
"get" : {
"tags" : [
"RepoCredsService"
] ,
"summary" : "ListRepositoryCredentials gets a list of all configured repository credential sets" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepoCredsService_ListRepositoryCredentials" ,
2019-10-17 00:17:47 +00:00
"parameters" : [
{
"type" : "string" ,
"description" : "Repo URL for query." ,
"name" : "url" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-10-17 00:17:47 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1RepoCredsList"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-10-17 00:17:47 +00:00
}
}
} ,
"post" : {
"tags" : [
"RepoCredsService"
] ,
"summary" : "CreateRepositoryCredentials creates a new repository credential set" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepoCredsService_CreateRepositoryCredentials" ,
2019-10-17 00:17:47 +00:00
"parameters" : [
{
2020-07-09 20:38:32 +00:00
"description" : "Repository definition" ,
2019-10-17 00:17:47 +00:00
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1RepoCreds"
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"description" : "Whether to create in upsert mode." ,
"name" : "upsert" ,
"in" : "query"
2019-10-17 00:17:47 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-10-17 00:17:47 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1RepoCreds"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-10-17 00:17:47 +00:00
}
}
}
} ,
"/api/v1/repocreds/{creds.url}" : {
"put" : {
"tags" : [
"RepoCredsService"
] ,
"summary" : "UpdateRepositoryCredentials updates a repository credential set" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepoCredsService_UpdateRepositoryCredentials" ,
2019-10-17 00:17:47 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "URL is the URL that this credentials matches to" ,
2019-10-17 00:17:47 +00:00
"name" : "creds.url" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1RepoCreds"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-10-17 00:17:47 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1RepoCreds"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-10-17 00:17:47 +00:00
}
}
}
} ,
"/api/v1/repocreds/{url}" : {
"delete" : {
"tags" : [
"RepoCredsService"
] ,
"summary" : "DeleteRepositoryCredentials deletes a repository credential set from the configuration" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepoCredsService_DeleteRepositoryCredentials" ,
2019-10-17 00:17:47 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "url" ,
"in" : "path" ,
"required" : true
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-10-17 00:17:47 +00:00
"schema" : {
"$ref" : "#/definitions/repocredsRepoCredsResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-10-17 00:17:47 +00:00
}
}
}
} ,
2018-07-24 15:48:13 +00:00
"/api/v1/repositories" : {
"get" : {
2018-06-25 20:49:38 +00:00
"tags" : [
2018-07-24 15:48:13 +00:00
"RepositoryService"
2018-06-25 20:49:38 +00:00
] ,
2019-10-17 00:17:47 +00:00
"summary" : "ListRepositories gets a list of all configured repositories" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_ListRepositories" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2019-10-17 00:17:47 +00:00
"description" : "Repo URL for query." ,
2018-07-24 15:48:13 +00:00
"name" : "repo" ,
"in" : "query"
2019-10-17 00:17:47 +00:00
} ,
{
"type" : "boolean" ,
"description" : "Whether to force a cache refresh on repo's connection state." ,
"name" : "forceRefresh" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
2018-07-24 15:48:13 +00:00
"$ref" : "#/definitions/v1alpha1RepositoryList"
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
2018-07-24 15:48:13 +00:00
} ,
"post" : {
2018-06-25 20:49:38 +00:00
"tags" : [
2018-07-24 15:48:13 +00:00
"RepositoryService"
2018-06-25 20:49:38 +00:00
] ,
2019-10-17 00:17:47 +00:00
"summary" : "CreateRepository creates a new repository configuration" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_CreateRepository" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
2020-07-09 20:38:32 +00:00
"description" : "Repository definition" ,
2018-06-25 20:49:38 +00:00
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2018-07-24 15:48:13 +00:00
"$ref" : "#/definitions/v1alpha1Repository"
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "boolean" ,
"description" : "Whether to create in upsert mode." ,
"name" : "upsert" ,
"in" : "query"
} ,
{
"type" : "boolean" ,
"description" : "Whether to operate on credential set instead of repository." ,
"name" : "credsOnly" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
2018-07-24 15:48:13 +00:00
"$ref" : "#/definitions/v1alpha1Repository"
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/repositories/{repo.repo}" : {
"put" : {
"tags" : [
"RepositoryService"
] ,
2019-10-17 00:17:47 +00:00
"summary" : "UpdateRepository updates a repository configuration" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_UpdateRepository" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"description" : "Repo contains the URL to the remote repository" ,
2018-06-25 20:49:38 +00:00
"name" : "repo.repo" ,
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1alpha1Repository"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Repository"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/repositories/{repo}" : {
2020-05-04 07:20:48 +00:00
"get" : {
"tags" : [
"RepositoryService"
] ,
"summary" : "Get returns a repository or its credentials" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_Get" ,
2020-05-04 07:20:48 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "Repo URL for query" ,
2020-05-04 07:20:48 +00:00
"name" : "repo" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "boolean" ,
"description" : "Whether to force a cache refresh on repo's connection state." ,
"name" : "forceRefresh" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2020-05-04 07:20:48 +00:00
"schema" : {
"$ref" : "#/definitions/v1alpha1Repository"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-05-04 07:20:48 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"delete" : {
"tags" : [
"RepositoryService"
] ,
2019-10-17 00:17:47 +00:00
"summary" : "DeleteRepository deletes a repository from the configuration" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_DeleteRepository" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "Repo URL for query" ,
2018-06-25 20:49:38 +00:00
"name" : "repo" ,
"in" : "path" ,
"required" : true
2020-07-09 20:38:32 +00:00
} ,
{
"type" : "boolean" ,
"description" : "Whether to force a cache refresh on repo's connection state." ,
"name" : "forceRefresh" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/repositoryRepoResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2018-07-25 18:03:00 +00:00
"/api/v1/repositories/{repo}/apps" : {
2018-06-25 20:49:38 +00:00
"get" : {
"tags" : [
"RepositoryService"
] ,
2021-07-13 17:02:03 +00:00
"summary" : "ListApps returns list of apps in the repo" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_ListApps" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "repo" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "revision" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
2018-07-25 18:03:00 +00:00
"$ref" : "#/definitions/repositoryRepoAppsResponse"
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2019-09-26 19:05:12 +00:00
"/api/v1/repositories/{repo}/helmcharts" : {
2018-08-03 17:10:38 +00:00
"get" : {
"tags" : [
"RepositoryService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "GetHelmCharts returns list of helm charts in the specified repository" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_GetHelmCharts" ,
2018-08-03 17:10:38 +00:00
"parameters" : [
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "Repo URL for query" ,
2018-08-03 17:10:38 +00:00
"name" : "repo" ,
"in" : "path" ,
"required" : true
2019-10-17 00:17:47 +00:00
} ,
{
"type" : "boolean" ,
"description" : "Whether to force a cache refresh on repo's connection state." ,
"name" : "forceRefresh" ,
"in" : "query"
2019-09-26 19:05:12 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-09-26 19:05:12 +00:00
"schema" : {
"$ref" : "#/definitions/repositoryHelmChartsResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-09-26 19:05:12 +00:00
}
}
}
} ,
2020-11-02 03:25:37 +00:00
"/api/v1/repositories/{repo}/refs" : {
"get" : {
"tags" : [
"RepositoryService"
] ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_ListRefs" ,
2020-11-02 03:25:37 +00:00
"parameters" : [
{
"type" : "string" ,
"description" : "Repo URL for query" ,
"name" : "repo" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "boolean" ,
"description" : "Whether to force a cache refresh on repo's connection state." ,
"name" : "forceRefresh" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/repositoryRefs"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-11-02 03:25:37 +00:00
}
}
}
} ,
2019-09-26 19:05:12 +00:00
"/api/v1/repositories/{repo}/validate" : {
"post" : {
"tags" : [
"RepositoryService"
] ,
"summary" : "ValidateAccess validates access to a repository with given parameters" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_ValidateAccess" ,
2019-09-26 19:05:12 +00:00
"parameters" : [
2018-08-03 17:10:38 +00:00
{
"type" : "string" ,
2020-07-09 20:38:32 +00:00
"description" : "The URL to the repo" ,
2019-09-26 19:05:12 +00:00
"name" : "repo" ,
2018-08-03 17:10:38 +00:00
"in" : "path" ,
"required" : true
} ,
{
2020-07-09 20:38:32 +00:00
"description" : "The URL to the repo" ,
2019-09-26 19:05:12 +00:00
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2019-03-05 22:56:47 +00:00
"type" : "string"
2019-09-26 19:05:12 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
{
"type" : "string" ,
"description" : "Username for accessing repo." ,
"name" : "username" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "Password for accessing repo." ,
"name" : "password" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "Private key data for accessing SSH repository." ,
"name" : "sshPrivateKey" ,
"in" : "query"
} ,
{
"type" : "boolean" ,
"description" : "Whether to skip certificate or host key validation." ,
"name" : "insecure" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "TLS client cert data for accessing HTTPS repository." ,
"name" : "tlsClientCertData" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "TLS client cert key for accessing HTTPS repository." ,
"name" : "tlsClientCertKey" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "The type of the repo." ,
"name" : "type" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "The name of the repo." ,
"name" : "name" ,
"in" : "query"
} ,
{
"type" : "boolean" ,
"description" : "Whether helm-oci support should be enabled for this repo." ,
"name" : "enableOci" ,
"in" : "query"
2021-02-19 22:24:32 +00:00
} ,
{
"type" : "string" ,
"description" : "Github App Private Key PEM data." ,
"name" : "githubAppPrivateKey" ,
"in" : "query"
} ,
{
"type" : "string" ,
"format" : "int64" ,
"description" : "Github App ID of the app used to access the repo." ,
"name" : "githubAppID" ,
"in" : "query"
} ,
{
"type" : "string" ,
"format" : "int64" ,
"description" : "Github App Installation ID of the installed GitHub App." ,
"name" : "githubAppInstallationID" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "Github App Enterprise base url if empty will default to https://api.github.com." ,
"name" : "githubAppEnterpriseBaseUrl" ,
"in" : "query"
2021-06-16 12:45:10 +00:00
} ,
{
"type" : "string" ,
"description" : "HTTP/HTTPS proxy to access the repository." ,
"name" : "proxy" ,
"in" : "query"
2018-08-03 17:10:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-08-03 17:10:38 +00:00
"schema" : {
2019-09-26 19:05:12 +00:00
"$ref" : "#/definitions/repositoryRepoResponse"
2018-08-03 17:10:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-08-03 17:10:38 +00:00
}
}
}
} ,
2019-09-26 19:05:12 +00:00
"/api/v1/repositories/{source.repoURL}/appdetails" : {
2019-07-11 23:00:47 +00:00
"post" : {
"tags" : [
"RepositoryService"
] ,
2019-09-26 19:05:12 +00:00
"summary" : "GetAppDetails returns application details by given path" ,
2020-12-09 19:33:54 +00:00
"operationId" : "RepositoryService_GetAppDetails" ,
2019-07-11 23:00:47 +00:00
"parameters" : [
{
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"description" : "RepoURL is the URL to the repository (Git or Helm) that contains the application manifests" ,
2019-09-26 19:05:12 +00:00
"name" : "source.repoURL" ,
2019-07-11 23:00:47 +00:00
"in" : "path" ,
"required" : true
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2019-09-26 19:05:12 +00:00
"$ref" : "#/definitions/repositoryRepoAppDetailsQuery"
2019-07-11 23:00:47 +00:00
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-07-11 23:00:47 +00:00
"schema" : {
2019-09-26 19:05:12 +00:00
"$ref" : "#/definitions/repositoryRepoAppDetailsResponse"
2019-07-11 23:00:47 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-07-11 23:00:47 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/session" : {
"post" : {
"tags" : [
"SessionService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "Create a new JWT for authentication and set a cookie if using HTTP" ,
2020-12-09 19:33:54 +00:00
"operationId" : "SessionService_Create" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/sessionSessionCreateRequest"
}
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/sessionSessionResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
"delete" : {
"tags" : [
"SessionService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "Delete an existing JWT cookie if using HTTP" ,
2020-12-09 19:33:54 +00:00
"operationId" : "SessionService_Delete" ,
2018-06-25 20:49:38 +00:00
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/sessionSessionResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2019-09-05 20:31:04 +00:00
"/api/v1/session/userinfo" : {
"get" : {
"tags" : [
"SessionService"
] ,
"summary" : "Get the current user's info" ,
2020-12-09 19:33:54 +00:00
"operationId" : "SessionService_GetUserInfo" ,
2019-09-05 20:31:04 +00:00
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2019-09-05 20:31:04 +00:00
"schema" : {
"$ref" : "#/definitions/sessionGetUserInfoResponse"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2019-09-05 20:31:04 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/v1/settings" : {
"get" : {
"tags" : [
"SettingsService"
] ,
2018-11-05 19:29:01 +00:00
"summary" : "Get returns Argo CD settings" ,
2020-12-09 19:33:54 +00:00
"operationId" : "SettingsService_Get" ,
2018-06-25 20:49:38 +00:00
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/clusterSettings"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"/api/v1/stream/applications" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
2020-10-20 18:28:57 +00:00
"summary" : "Watch returns stream of application change events" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_Watch" ,
2018-06-25 20:49:38 +00:00
"parameters" : [
{
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "the application's name." ,
2018-06-25 20:49:38 +00:00
"name" : "name" ,
"in" : "query"
} ,
{
2018-12-18 02:23:35 +00:00
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "forces application reconciliation if set to true." ,
2018-06-25 20:49:38 +00:00
"name" : "refresh" ,
"in" : "query"
} ,
{
"type" : "array" ,
"items" : {
"type" : "string"
} ,
2020-07-09 20:38:32 +00:00
"collectionFormat" : "multi" ,
2019-10-08 17:04:30 +00:00
"description" : "the project names to restrict returned list applications." ,
2018-06-25 20:49:38 +00:00
"name" : "project" ,
"in" : "query"
2019-05-13 21:58:22 +00:00
} ,
{
"type" : "string" ,
2019-10-08 17:04:30 +00:00
"description" : "when specified with a watch call, shows changes that occur after that particular version of a resource." ,
2019-05-13 21:58:22 +00:00
"name" : "resourceVersion" ,
"in" : "query"
2019-10-08 17:04:30 +00:00
} ,
{
"type" : "string" ,
"description" : "the selector to to restrict returned list to applications only with matched labels." ,
"name" : "selector" ,
"in" : "query"
2021-03-12 17:07:22 +00:00
} ,
{
"type" : "string" ,
"description" : "the repoURL to restrict returned list applications." ,
"name" : "repo" ,
"in" : "query"
2018-06-25 20:49:38 +00:00
}
] ,
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response.(streaming responses)" ,
2018-06-25 20:49:38 +00:00
"schema" : {
2020-09-18 22:39:56 +00:00
"type" : "object" ,
"title" : "Stream result of v1alpha1ApplicationWatchEvent" ,
"properties" : {
"error" : {
"$ref" : "#/definitions/runtimeStreamError"
} ,
"result" : {
"$ref" : "#/definitions/v1alpha1ApplicationWatchEvent"
}
}
2018-06-25 20:49:38 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
} ,
2020-08-31 17:18:12 +00:00
"/api/v1/stream/applications/{applicationName}/resource-tree" : {
"get" : {
"tags" : [
"ApplicationService"
] ,
"summary" : "Watch returns stream of application resource tree" ,
2020-12-09 19:33:54 +00:00
"operationId" : "ApplicationService_WatchResourceTree" ,
2020-08-31 17:18:12 +00:00
"parameters" : [
{
"type" : "string" ,
"name" : "applicationName" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "string" ,
"name" : "namespace" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "name" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "version" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "group" ,
"in" : "query"
} ,
{
"type" : "string" ,
"name" : "kind" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
"description" : "A successful response.(streaming responses)" ,
"schema" : {
2020-09-18 22:39:56 +00:00
"type" : "object" ,
"title" : "Stream result of v1alpha1ApplicationTree" ,
"properties" : {
"error" : {
"$ref" : "#/definitions/runtimeStreamError"
} ,
"result" : {
"$ref" : "#/definitions/v1alpha1ApplicationTree"
}
}
2020-08-31 17:18:12 +00:00
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2020-08-31 17:18:12 +00:00
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"/api/version" : {
"get" : {
"tags" : [
"VersionService"
] ,
"summary" : "Version returns version information of the API server" ,
2020-12-09 19:33:54 +00:00
"operationId" : "VersionService_Version" ,
2018-06-25 20:49:38 +00:00
"responses" : {
"200" : {
2020-07-09 20:38:32 +00:00
"description" : "A successful response." ,
2018-06-25 20:49:38 +00:00
"schema" : {
"$ref" : "#/definitions/versionVersionMessage"
}
2020-12-09 19:33:54 +00:00
} ,
"default" : {
"description" : "An unexpected error response." ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
2018-06-25 20:49:38 +00:00
}
}
}
}
} ,
"definitions" : {
2020-03-17 22:31:37 +00:00
"accountAccount" : {
"type" : "object" ,
"properties" : {
"capabilities" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"enabled" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2020-03-17 22:31:37 +00:00
} ,
"name" : {
"type" : "string"
} ,
"tokens" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/accountToken"
}
}
}
} ,
"accountAccountsList" : {
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/accountAccount"
}
}
}
} ,
2019-10-31 23:06:29 +00:00
"accountCanIResponse" : {
"type" : "object" ,
"properties" : {
"value" : {
"type" : "string"
}
}
} ,
2020-03-17 22:31:37 +00:00
"accountCreateTokenRequest" : {
"type" : "object" ,
"properties" : {
"expiresIn" : {
"type" : "string" ,
"format" : "int64" ,
"title" : "expiresIn represents a duration in seconds"
} ,
2020-04-15 22:19:25 +00:00
"id" : {
"type" : "string"
} ,
2020-03-17 22:31:37 +00:00
"name" : {
"type" : "string"
}
}
} ,
"accountCreateTokenResponse" : {
"type" : "object" ,
"properties" : {
"token" : {
"type" : "string"
}
}
} ,
"accountEmptyResponse" : {
"type" : "object"
} ,
"accountToken" : {
"type" : "object" ,
"properties" : {
"expiresAt" : {
"type" : "string" ,
"format" : "int64"
} ,
"id" : {
"type" : "string"
} ,
"issuedAt" : {
"type" : "string" ,
"format" : "int64"
}
}
} ,
2018-07-16 20:52:40 +00:00
"accountUpdatePasswordRequest" : {
"type" : "object" ,
"properties" : {
"currentPassword" : {
"type" : "string"
} ,
2020-03-17 22:31:37 +00:00
"name" : {
"type" : "string"
} ,
2018-07-16 20:52:40 +00:00
"newPassword" : {
"type" : "string"
}
}
} ,
"accountUpdatePasswordResponse" : {
"type" : "object"
} ,
2019-02-25 22:25:25 +00:00
"applicationApplicationPatchRequest" : {
"type" : "object" ,
"title" : "ApplicationPatchRequest is a request to patch an application" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"patch" : {
"type" : "string"
2019-07-02 20:41:25 +00:00
} ,
"patchType" : {
"type" : "string"
2019-02-25 22:25:25 +00:00
}
}
} ,
2018-11-28 21:38:02 +00:00
"applicationApplicationResourceResponse" : {
"type" : "object" ,
"properties" : {
"manifest" : {
"type" : "string"
}
}
} ,
2018-06-25 20:49:38 +00:00
"applicationApplicationResponse" : {
"type" : "object"
} ,
"applicationApplicationRollbackRequest" : {
"type" : "object" ,
"properties" : {
"dryRun" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-06-25 20:49:38 +00:00
} ,
"id" : {
"type" : "string" ,
"format" : "int64"
} ,
"name" : {
"type" : "string"
} ,
"prune" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-06-25 20:49:38 +00:00
}
}
} ,
"applicationApplicationSyncRequest" : {
"type" : "object" ,
"title" : "ApplicationSyncRequest is a request to apply the config state to live state" ,
"properties" : {
"dryRun" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-06-25 20:49:38 +00:00
} ,
2020-06-10 22:28:07 +00:00
"infos" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1Info"
}
} ,
2019-06-18 02:09:43 +00:00
"manifests" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
2018-06-25 20:49:38 +00:00
"name" : {
"type" : "string"
} ,
"prune" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-06-25 20:49:38 +00:00
} ,
2018-10-10 17:12:20 +00:00
"resources" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1SyncOperationResource"
}
} ,
2020-07-28 17:14:17 +00:00
"retryStrategy" : {
"$ref" : "#/definitions/v1alpha1RetryStrategy"
} ,
2018-06-25 20:49:38 +00:00
"revision" : {
"type" : "string"
2018-07-07 07:54:06 +00:00
} ,
"strategy" : {
"$ref" : "#/definitions/v1alpha1SyncStrategy"
2021-02-12 00:12:05 +00:00
} ,
"syncOptions" : {
"$ref" : "#/definitions/applicationSyncOptions"
2018-06-25 20:49:38 +00:00
}
}
} ,
2019-10-08 22:20:19 +00:00
"applicationApplicationSyncWindow" : {
"type" : "object" ,
"properties" : {
"duration" : {
"type" : "string"
} ,
"kind" : {
"type" : "string"
} ,
"manualSync" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-10-08 22:20:19 +00:00
} ,
"schedule" : {
"type" : "string"
}
}
} ,
"applicationApplicationSyncWindowsResponse" : {
"type" : "object" ,
"properties" : {
"activeWindows" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/applicationApplicationSyncWindow"
}
} ,
"assignedWindows" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/applicationApplicationSyncWindow"
}
} ,
"canSync" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-10-08 22:20:19 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"applicationLogEntry" : {
"type" : "object" ,
"properties" : {
"content" : {
"type" : "string"
} ,
2020-10-29 16:37:59 +00:00
"last" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2020-10-29 16:37:59 +00:00
} ,
2021-02-11 01:58:13 +00:00
"podName" : {
"type" : "string"
} ,
2018-06-25 20:49:38 +00:00
"timeStamp" : {
"$ref" : "#/definitions/v1Time"
2021-01-25 19:48:49 +00:00
} ,
"timeStampStr" : {
"type" : "string"
2018-06-25 20:49:38 +00:00
}
}
} ,
2019-02-13 23:20:40 +00:00
"applicationManagedResourcesResponse" : {
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceDiff"
}
}
}
} ,
2018-07-14 00:13:31 +00:00
"applicationOperationTerminateResponse" : {
"type" : "object"
} ,
2019-04-16 21:50:44 +00:00
"applicationResourceActionsListResponse" : {
"type" : "object" ,
"properties" : {
"actions" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceAction"
}
}
}
} ,
2021-02-12 00:12:05 +00:00
"applicationSyncOptions" : {
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
2020-10-30 16:58:45 +00:00
"applicationv1alpha1EnvEntry" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "EnvEntry represents an entry in the application's environment" ,
2020-10-30 16:58:45 +00:00
"properties" : {
"name" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Name is the name of the variable, usually expressed in uppercase"
2020-10-30 16:58:45 +00:00
} ,
"value" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Value is the value of the variable"
2020-10-30 16:58:45 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"clusterClusterResponse" : {
"type" : "object"
} ,
"clusterConnector" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"type" : {
"type" : "string"
}
}
} ,
"clusterDexConfig" : {
"type" : "object" ,
"properties" : {
"connectors" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/clusterConnector"
}
}
}
} ,
2019-07-01 23:57:40 +00:00
"clusterGoogleAnalyticsConfig" : {
"type" : "object" ,
"properties" : {
"anonymizeUsers" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-07-01 23:57:40 +00:00
} ,
"trackingID" : {
"type" : "string"
}
}
} ,
2019-08-20 17:34:54 +00:00
"clusterHelp" : {
"type" : "object" ,
"title" : "Help settings" ,
"properties" : {
"chatText" : {
"type" : "string" ,
"title" : "the text for getting chat help, defaults to \"Chat now!\""
} ,
"chatUrl" : {
"type" : "string" ,
"title" : "the URL for getting chat help, this will typically be your Slack channel for support"
}
}
} ,
2018-10-29 08:36:53 +00:00
"clusterOIDCConfig" : {
"type" : "object" ,
"properties" : {
2019-03-22 10:23:51 +00:00
"cliClientID" : {
"type" : "string"
} ,
2018-10-29 08:36:53 +00:00
"clientID" : {
"type" : "string"
} ,
2019-08-23 15:18:34 +00:00
"idTokenClaims" : {
"type" : "object" ,
"additionalProperties" : {
"$ref" : "#/definitions/oidcClaim"
}
} ,
2018-10-29 08:36:53 +00:00
"issuer" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
2019-05-16 14:34:20 +00:00
} ,
"scopes" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
2018-10-29 08:36:53 +00:00
}
}
} ,
2019-10-04 22:24:23 +00:00
"clusterPlugin" : {
"type" : "object" ,
"title" : "Plugin settings" ,
"properties" : {
"name" : {
"type" : "string" ,
"title" : "the name of the plugin, e.g. \"kasane\""
}
}
} ,
2018-06-25 20:49:38 +00:00
"clusterSettings" : {
"type" : "object" ,
"properties" : {
2019-02-27 08:38:12 +00:00
"appLabelKey" : {
2019-02-14 05:04:38 +00:00
"type" : "string"
} ,
2020-04-02 16:50:42 +00:00
"configManagementPlugins" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ConfigManagementPlugin"
}
} ,
2018-06-25 20:49:38 +00:00
"dexConfig" : {
"$ref" : "#/definitions/clusterDexConfig"
} ,
2019-07-01 23:57:40 +00:00
"googleAnalytics" : {
"$ref" : "#/definitions/clusterGoogleAnalyticsConfig"
} ,
2019-08-20 17:34:54 +00:00
"help" : {
"$ref" : "#/definitions/clusterHelp"
} ,
2019-08-02 23:57:33 +00:00
"kustomizeOptions" : {
"$ref" : "#/definitions/v1alpha1KustomizeOptions"
} ,
2020-04-15 19:04:31 +00:00
"kustomizeVersions" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
2018-10-29 08:36:53 +00:00
"oidcConfig" : {
"$ref" : "#/definitions/clusterOIDCConfig"
} ,
2021-08-25 06:21:03 +00:00
"passwordPattern" : {
"type" : "string"
} ,
2019-10-04 22:24:23 +00:00
"plugins" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/clusterPlugin"
}
} ,
2019-04-02 20:59:55 +00:00
"resourceOverrides" : {
"type" : "object" ,
"additionalProperties" : {
"$ref" : "#/definitions/v1alpha1ResourceOverride"
}
} ,
2019-07-01 19:10:36 +00:00
"statusBadgeEnabled" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-07-01 19:10:36 +00:00
} ,
2021-02-02 20:24:43 +00:00
"uiBannerContent" : {
"type" : "string"
} ,
"uiBannerURL" : {
"type" : "string"
} ,
2020-08-10 17:13:40 +00:00
"uiCssURL" : {
"type" : "string"
} ,
2018-06-25 20:49:38 +00:00
"url" : {
"type" : "string"
2020-03-17 22:31:37 +00:00
} ,
"userLoginsDisabled" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-06-25 20:49:38 +00:00
}
}
} ,
2020-06-22 16:21:53 +00:00
"gpgkeyGnuPGPublicKeyCreateResponse" : {
"type" : "object" ,
"title" : "Response to a public key creation request" ,
"properties" : {
"created" : {
"$ref" : "#/definitions/v1alpha1GnuPGPublicKeyList"
} ,
"skipped" : {
"type" : "array" ,
"title" : "List of key IDs that haven been skipped because they already exist on the server" ,
"items" : {
"type" : "string"
}
}
}
} ,
"gpgkeyGnuPGPublicKeyResponse" : {
"type" : "object" ,
"title" : "Generic (empty) response for GPG public key CRUD requests"
} ,
2019-08-23 15:18:34 +00:00
"oidcClaim" : {
"type" : "object" ,
"properties" : {
"essential" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-08-23 15:18:34 +00:00
} ,
"value" : {
"type" : "string"
} ,
"values" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
2021-08-16 16:38:37 +00:00
"projectDetailedProjectsResponse" : {
"type" : "object" ,
"properties" : {
2021-08-25 16:53:58 +00:00
"clusters" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
} ,
2021-08-16 16:38:37 +00:00
"globalProjects" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1AppProject"
}
} ,
"project" : {
"$ref" : "#/definitions/v1alpha1AppProject"
} ,
"repositories" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1Repository"
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"projectEmptyResponse" : {
"type" : "object"
} ,
2020-10-26 17:39:39 +00:00
"projectGlobalProjectsResponse" : {
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1AppProject"
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"projectProjectCreateRequest" : {
"description" : "ProjectCreateRequest defines project creation parameters." ,
"type" : "object" ,
"properties" : {
"project" : {
"$ref" : "#/definitions/v1alpha1AppProject"
2019-08-26 20:21:09 +00:00
} ,
"upsert" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-06-25 20:49:38 +00:00
}
}
} ,
2018-08-15 19:54:24 +00:00
"projectProjectTokenCreateRequest" : {
"description" : "ProjectTokenCreateRequest defines project token creation parameters." ,
"type" : "object" ,
"properties" : {
"description" : {
"type" : "string"
} ,
"expiresIn" : {
"type" : "string" ,
"format" : "int64" ,
"title" : "expiresIn represents a duration in seconds"
} ,
2020-04-13 21:13:05 +00:00
"id" : {
"type" : "string"
} ,
2018-08-15 19:54:24 +00:00
"project" : {
"type" : "string"
} ,
"role" : {
"type" : "string"
}
}
} ,
"projectProjectTokenResponse" : {
"description" : "ProjectTokenResponse wraps the created token or returns an empty string if deleted." ,
"type" : "object" ,
"properties" : {
"token" : {
"type" : "string"
}
}
} ,
2018-06-25 20:49:38 +00:00
"projectProjectUpdateRequest" : {
"type" : "object" ,
"properties" : {
"project" : {
"$ref" : "#/definitions/v1alpha1AppProject"
}
}
} ,
2019-10-08 22:20:19 +00:00
"projectSyncWindowsResponse" : {
"type" : "object" ,
"properties" : {
"windows" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1SyncWindow"
}
}
}
} ,
2020-07-09 20:38:32 +00:00
"protobufAny" : {
"type" : "object" ,
"properties" : {
"type_url" : {
"type" : "string"
} ,
"value" : {
"type" : "string" ,
"format" : "byte"
}
}
} ,
2019-10-17 00:17:47 +00:00
"repocredsRepoCredsResponse" : {
"type" : "object" ,
2020-05-27 17:22:13 +00:00
"title" : "RepoCredsResponse is a response to most repository credentials requests"
2019-10-17 00:17:47 +00:00
} ,
2018-08-03 17:10:38 +00:00
"repositoryAppInfo" : {
"type" : "object" ,
"title" : "AppInfo contains application type and app file path" ,
"properties" : {
"path" : {
"type" : "string"
} ,
"type" : {
"type" : "string"
}
}
} ,
2019-02-11 21:56:30 +00:00
"repositoryDirectoryAppSpec" : {
"type" : "object" ,
"title" : "DirectoryAppSpec contains directory"
} ,
2018-07-25 18:03:00 +00:00
"repositoryHelmAppSpec" : {
"type" : "object" ,
2019-09-06 22:37:25 +00:00
"title" : "HelmAppSpec contains helm app name in source repo" ,
2018-07-25 18:03:00 +00:00
"properties" : {
2020-01-29 16:26:05 +00:00
"fileParameters" : {
"type" : "array" ,
"title" : "helm file parameters" ,
"items" : {
"$ref" : "#/definitions/v1alpha1HelmFileParameter"
}
} ,
2018-07-25 18:03:00 +00:00
"name" : {
"type" : "string"
} ,
2019-03-05 22:56:47 +00:00
"parameters" : {
"type" : "array" ,
2019-08-19 15:14:48 +00:00
"title" : "the output of `helm inspect values`" ,
2019-03-05 22:56:47 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1HelmParameter"
}
} ,
2018-08-03 17:10:38 +00:00
"valueFiles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
2019-08-09 17:47:02 +00:00
} ,
"values" : {
2019-08-19 15:14:48 +00:00
"type" : "string" ,
"title" : "the contents of values.yaml"
2018-07-25 18:03:00 +00:00
}
}
} ,
2019-09-26 19:05:12 +00:00
"repositoryHelmChart" : {
2019-04-16 15:52:48 +00:00
"type" : "object" ,
"properties" : {
2019-09-26 19:05:12 +00:00
"name" : {
2019-04-16 15:52:48 +00:00
"type" : "string"
2019-09-26 19:05:12 +00:00
} ,
"versions" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"repositoryHelmChartsResponse" : {
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/repositoryHelmChart"
}
2019-04-16 15:52:48 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"repositoryKsonnetAppSpec" : {
"type" : "object" ,
"title" : "KsonnetAppSpec contains Ksonnet app response\nThis roughly reflects: ksonnet/ksonnet/metadata/app/schema.go" ,
"properties" : {
"environments" : {
"type" : "object" ,
"additionalProperties" : {
"$ref" : "#/definitions/repositoryKsonnetEnvironment"
}
} ,
"name" : {
"type" : "string"
} ,
2019-03-05 22:56:47 +00:00
"parameters" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1KsonnetParameter"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
"repositoryKsonnetEnvironment" : {
"type" : "object" ,
"properties" : {
"destination" : {
"$ref" : "#/definitions/repositoryKsonnetEnvironmentDestination"
} ,
"k8sVersion" : {
2020-05-27 17:22:13 +00:00
"description" : "KubernetesVersion is the kubernetes version the targeted cluster is running on." ,
2018-06-25 20:49:38 +00:00
"type" : "string"
} ,
"name" : {
"type" : "string" ,
"title" : "Name is the user defined name of an environment"
}
}
} ,
"repositoryKsonnetEnvironmentDestination" : {
"type" : "object" ,
"properties" : {
"namespace" : {
"type" : "string" ,
"title" : "Namespace is the namespace of the Kubernetes server that targets should be deployed to"
} ,
"server" : {
"description" : "Server is the Kubernetes server that the cluster is running on." ,
"type" : "string"
}
}
} ,
2018-08-15 21:54:56 +00:00
"repositoryKustomizeAppSpec" : {
"type" : "object" ,
2019-09-06 22:37:25 +00:00
"title" : "KustomizeAppSpec contains kustomize images" ,
2018-08-15 21:54:56 +00:00
"properties" : {
2019-03-27 19:54:23 +00:00
"images" : {
2019-08-02 20:13:27 +00:00
"description" : "images is a list of available images." ,
2019-03-27 19:54:23 +00:00
"type" : "array" ,
"items" : {
"type" : "string"
}
2018-08-15 21:54:56 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"repositoryManifestResponse" : {
"type" : "object" ,
"properties" : {
"manifests" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"namespace" : {
"type" : "string"
} ,
"revision" : {
2019-11-01 20:41:35 +00:00
"type" : "string" ,
"title" : "resolved revision"
2018-06-25 20:49:38 +00:00
} ,
"server" : {
"type" : "string"
2019-03-04 08:56:36 +00:00
} ,
"sourceType" : {
"type" : "string"
2020-06-22 16:21:53 +00:00
} ,
"verifyResult" : {
"type" : "string" ,
"title" : "Raw response of git verify-commit operation (always the empty string for Helm)"
2018-06-25 20:49:38 +00:00
}
}
} ,
2020-11-02 03:25:37 +00:00
"repositoryRefs" : {
"type" : "object" ,
"title" : "A subset of the repository's named refs" ,
"properties" : {
"branches" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"tags" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
2019-09-26 19:05:12 +00:00
"repositoryRepoAppDetailsQuery" : {
"type" : "object" ,
"title" : "RepoAppDetailsQuery contains query information for app details request" ,
"properties" : {
2021-03-23 21:05:11 +00:00
"appName" : {
"type" : "string"
} ,
2019-09-26 19:05:12 +00:00
"source" : {
"$ref" : "#/definitions/v1alpha1ApplicationSource"
}
}
} ,
2018-08-03 17:10:38 +00:00
"repositoryRepoAppDetailsResponse" : {
"type" : "object" ,
"title" : "RepoAppDetailsResponse application details" ,
"properties" : {
2019-02-11 21:56:30 +00:00
"directory" : {
"$ref" : "#/definitions/repositoryDirectoryAppSpec"
} ,
2018-08-03 17:10:38 +00:00
"helm" : {
"$ref" : "#/definitions/repositoryHelmAppSpec"
} ,
"ksonnet" : {
"$ref" : "#/definitions/repositoryKsonnetAppSpec"
} ,
2018-08-15 21:54:56 +00:00
"kustomize" : {
"$ref" : "#/definitions/repositoryKustomizeAppSpec"
} ,
2018-08-03 17:10:38 +00:00
"type" : {
"type" : "string"
}
}
} ,
2018-07-25 18:03:00 +00:00
"repositoryRepoAppsResponse" : {
2018-06-25 20:49:38 +00:00
"type" : "object" ,
2018-07-25 18:03:00 +00:00
"title" : "RepoAppsResponse contains applications of specified repository" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2018-08-03 17:10:38 +00:00
"items" : {
2018-06-25 20:49:38 +00:00
"type" : "array" ,
"items" : {
2018-08-03 17:10:38 +00:00
"$ref" : "#/definitions/repositoryAppInfo"
2018-06-25 20:49:38 +00:00
}
}
}
} ,
"repositoryRepoResponse" : {
"type" : "object"
} ,
2020-12-09 19:33:54 +00:00
"runtimeError" : {
"type" : "object" ,
"properties" : {
"code" : {
"type" : "integer" ,
"format" : "int32"
} ,
"details" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/protobufAny"
}
} ,
"error" : {
"type" : "string"
} ,
"message" : {
"type" : "string"
}
}
} ,
2020-07-09 20:38:32 +00:00
"runtimeStreamError" : {
"type" : "object" ,
"properties" : {
"details" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/protobufAny"
}
} ,
"grpc_code" : {
"type" : "integer" ,
"format" : "int32"
} ,
"http_code" : {
"type" : "integer" ,
"format" : "int32"
} ,
"http_status" : {
"type" : "string"
} ,
"message" : {
"type" : "string"
}
}
} ,
2019-09-05 20:31:04 +00:00
"sessionGetUserInfoResponse" : {
"type" : "object" ,
"title" : "The current user's userInfo info" ,
"properties" : {
"groups" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"iss" : {
"type" : "string"
} ,
"loggedIn" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-09-05 20:31:04 +00:00
} ,
"username" : {
"type" : "string"
}
}
} ,
2018-06-25 20:49:38 +00:00
"sessionSessionCreateRequest" : {
"description" : "SessionCreateRequest is for logging in." ,
"type" : "object" ,
"properties" : {
"password" : {
"type" : "string"
} ,
"token" : {
"type" : "string"
} ,
"username" : {
"type" : "string"
}
}
} ,
"sessionSessionResponse" : {
"description" : "SessionResponse wraps the created token or returns an empty string if deleted." ,
"type" : "object" ,
"properties" : {
"token" : {
"type" : "string"
}
}
} ,
"v1Event" : {
2021-01-06 08:07:46 +00:00
"description" : "Event is a report of an event somewhere in the cluster. Events\nhave a limited retention time and triggers and messages may evolve\nwith time. Event consumers should not rely on the timing of an event\nwith a given Reason reflecting a consistent underlying trigger, or the\ncontinued existence of events with that Reason. Events should be\ntreated as informative, best-effort, supplemental data." ,
2018-06-25 20:49:38 +00:00
"type" : "object" ,
"properties" : {
"action" : {
"type" : "string" ,
"title" : "What action was taken/failed regarding to the Regarding object.\n+optional"
} ,
"count" : {
"type" : "integer" ,
"format" : "int32" ,
"title" : "The number of times this event has occurred.\n+optional"
} ,
"eventTime" : {
"$ref" : "#/definitions/v1MicroTime"
} ,
"firstTimestamp" : {
"$ref" : "#/definitions/v1Time"
} ,
"involvedObject" : {
"$ref" : "#/definitions/v1ObjectReference"
} ,
"lastTimestamp" : {
"$ref" : "#/definitions/v1Time"
} ,
"message" : {
"type" : "string" ,
"title" : "A human-readable description of the status of this operation.\nTODO: decide on maximum length.\n+optional"
} ,
"metadata" : {
2018-11-09 17:58:07 +00:00
"$ref" : "#/definitions/v1ObjectMeta"
2018-06-25 20:49:38 +00:00
} ,
"reason" : {
"type" : "string" ,
"title" : "This should be a short, machine understandable string that gives the reason\nfor the transition into the object's current status.\nTODO: provide exact specification for format.\n+optional"
} ,
"related" : {
"$ref" : "#/definitions/v1ObjectReference"
} ,
"reportingComponent" : {
"type" : "string" ,
"title" : "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.\n+optional"
} ,
"reportingInstance" : {
"type" : "string" ,
"title" : "ID of the controller instance, e.g. `kubelet-xyzf`.\n+optional"
} ,
"series" : {
"$ref" : "#/definitions/v1EventSeries"
} ,
"source" : {
"$ref" : "#/definitions/v1EventSource"
} ,
"type" : {
"type" : "string" ,
"title" : "Type of this event (Normal, Warning), new types could be added in the future\n+optional"
}
}
} ,
"v1EventList" : {
"description" : "EventList is a list of events." ,
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"title" : "List of events" ,
"items" : {
"$ref" : "#/definitions/v1Event"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
}
}
} ,
"v1EventSeries" : {
"description" : "EventSeries contain information on series of events, i.e. thing that was/is happening\ncontinuously for some time." ,
"type" : "object" ,
"properties" : {
"count" : {
"type" : "integer" ,
"format" : "int32" ,
"title" : "Number of occurrences in this series up to the last heartbeat time"
} ,
"lastObservedTime" : {
"$ref" : "#/definitions/v1MicroTime"
}
}
} ,
"v1EventSource" : {
"description" : "EventSource contains information for an event." ,
"type" : "object" ,
"properties" : {
"component" : {
"type" : "string" ,
"title" : "Component from which the event is generated.\n+optional"
} ,
"host" : {
"type" : "string" ,
"title" : "Node name on which the event is generated.\n+optional"
}
}
} ,
2019-12-11 02:33:58 +00:00
"v1FieldsV1" : {
2020-10-13 20:01:26 +00:00
"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:<name>', where <name> is the name of a field in a struct, or key in a map\n'v:<value>', where <value> is the exact json formatted value of a list item\n'i:<index>', where <index> is position of a item in a list\n'k:<keys>', where <keys> 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\n+protobuf.options.(gogoproto.goproto_stringer)=false" ,
2019-06-25 09:52:58 +00:00
"type" : "object" ,
"properties" : {
2019-12-11 02:33:58 +00:00
"Raw" : {
"description" : "Raw is the underlying serialization of this object." ,
"type" : "string" ,
"format" : "byte"
2019-06-25 09:52:58 +00:00
}
}
} ,
2018-09-11 22:10:47 +00:00
"v1GroupKind" : {
"description" : "+protobuf.options.(gogoproto.goproto_stringer)=false" ,
"type" : "object" ,
"title" : "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying\nconcepts during lookup stages without having partially valid types" ,
"properties" : {
"group" : {
"type" : "string"
} ,
"kind" : {
"type" : "string"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1ListMeta" : {
"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" : {
2018-11-09 17:58:07 +00:00
"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." ,
2018-06-25 20:49:38 +00:00
"type" : "string"
} ,
2019-12-11 02:33:58 +00:00
"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"
} ,
2018-06-25 20:49:38 +00:00
"resourceVersion" : {
"type" : "string" ,
2019-12-11 02:33:58 +00:00
"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"
2018-06-25 20:49:38 +00:00
} ,
"selfLink" : {
2019-12-11 02:33:58 +00:00
"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"
2018-06-25 20:49:38 +00:00
}
}
} ,
2019-04-02 15:48:34 +00:00
"v1LoadBalancerIngress" : {
"description" : "LoadBalancerIngress represents the status of a load-balancer ingress point:\ntraffic intended for the service should be sent to an ingress point." ,
"type" : "object" ,
"properties" : {
"hostname" : {
"type" : "string" ,
"title" : "Hostname is set for load-balancer ingress points that are DNS based\n(typically AWS load-balancers)\n+optional"
} ,
"ip" : {
"type" : "string" ,
"title" : "IP is set for load-balancer ingress points that are IP based\n(typically GCE or OpenStack load-balancers)\n+optional"
2021-01-06 08:07:46 +00:00
} ,
"ports" : {
"type" : "array" ,
"title" : "Ports is a list of records of service ports\nIf used, every port defined in the service should have an entry in it\n+listType=atomic\n+optional" ,
"items" : {
"$ref" : "#/definitions/v1PortStatus"
}
2019-04-02 15:48:34 +00:00
}
}
} ,
2019-06-25 09:52:58 +00:00
"v1ManagedFieldsEntry" : {
"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"
} ,
2019-12-11 02:33:58 +00:00
"fieldsType" : {
"type" : "string" ,
"title" : "FieldsType is the discriminator for the different fields format and version.\nThere is currently only one possible value: \"FieldsV1\""
} ,
"fieldsV1" : {
"$ref" : "#/definitions/v1FieldsV1"
2019-06-25 09:52:58 +00:00
} ,
"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" : {
"$ref" : "#/definitions/v1Time"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1MicroTime" : {
"description" : "MicroTime is version of Time with microsecond level precision.\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"
}
}
} ,
2021-01-05 20:28:14 +00:00
"v1NodeSystemInfo" : {
"description" : "NodeSystemInfo is a set of ids/uuids to uniquely identify the node." ,
"type" : "object" ,
"properties" : {
"architecture" : {
"type" : "string" ,
"title" : "The Architecture reported by the node"
} ,
"bootID" : {
"description" : "Boot ID reported by the node." ,
"type" : "string"
} ,
"containerRuntimeVersion" : {
"description" : "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)." ,
"type" : "string"
} ,
"kernelVersion" : {
"description" : "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)." ,
"type" : "string"
} ,
"kubeProxyVersion" : {
"description" : "KubeProxy Version reported by the node." ,
"type" : "string"
} ,
"kubeletVersion" : {
"description" : "Kubelet Version reported by the node." ,
"type" : "string"
} ,
"machineID" : {
"type" : "string" ,
"title" : "MachineID reported by the node. For unique machine identification\nin the cluster this field is preferred. Learn more from man(5)\nmachine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"
} ,
"operatingSystem" : {
"type" : "string" ,
"title" : "The Operating System reported by the node"
} ,
"osImage" : {
"description" : "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))." ,
"type" : "string"
} ,
"systemUUID" : {
"type" : "string" ,
"title" : "SystemUUID reported by the node. For unique machine identification\nMachineID is preferred. This field is specific to Red Hat hosts\nhttps://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"
}
}
} ,
2018-11-09 17:58:07 +00:00
"v1ObjectMeta" : {
"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" : {
"$ref" : "#/definitions/v1Time"
} ,
"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" : {
"$ref" : "#/definitions/v1Time"
} ,
"finalizers" : {
"type" : "array" ,
2020-07-09 20:38:32 +00:00
"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.\nFinalizers may be processed and removed in any order. Order is NOT enforced\nbecause it introduces significant risk of stuck finalizers.\nfinalizers is a shared field, any actor with permission can reorder it.\nIf the finalizer list is processed in order, then this can lead to a situation\nin which the component responsible for the first finalizer in the list is\nwaiting for a signal (field value, external system, or other) produced by a\ncomponent responsible for a finalizer later in the list, resulting in a deadlock.\nWithout enforced ordering finalizers are free to order amongst themselves and\nare not vulnerable to ordering changes in the list.\n+optional\n+patchStrategy=merge" ,
2018-11-09 17:58:07 +00:00
"items" : {
"type" : "string"
}
} ,
"generateName" : {
2019-12-11 02:33:58 +00:00
"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" ,
2018-11-09 17:58:07 +00:00
"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"
}
} ,
2019-06-25 09:52:58 +00:00
"managedFields" : {
2019-12-11 02:33:58 +00:00
"description" : "ManagedFields maps workflow-id and version to the set of fields\nthat are managed by that workflow. 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" ,
2019-06-25 09:52:58 +00:00
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ManagedFieldsEntry"
}
} ,
2018-11-09 17:58:07 +00:00
"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" : {
2020-10-13 20:01:26 +00:00
"description" : "Namespace defines the space within which 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" ,
2018-11-09 17:58:07 +00:00
"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/v1OwnerReference"
}
} ,
"resourceVersion" : {
2019-12-11 02:33:58 +00:00
"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" ,
2018-11-09 17:58:07 +00:00
"type" : "string"
} ,
"selfLink" : {
2019-12-11 02:33:58 +00:00
"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"
2018-11-09 17:58:07 +00:00
} ,
"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"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1ObjectReference" : {
"type" : "object" ,
2020-08-05 18:36:40 +00:00
"title" : "ObjectReference contains enough information to let you inspect or modify the referred object.\n---\nNew uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.\n 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.\n 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular\n restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\".\n Those cannot be well described when embedded.\n 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.\n 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity\n during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple\n and the version of the actual struct is irrelevant.\n 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type\n will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control.\nInstead of using this type, create a locally provided and used type that is well-focused on your reference.\nFor example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 .\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object" ,
2018-06-25 20:49:38 +00:00
"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" ,
2019-12-11 02:33:58 +00:00
"title" : "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\n+optional"
2018-06-25 20:49:38 +00:00
} ,
"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" ,
2019-12-11 02:33:58 +00:00
"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"
2018-06-25 20:49:38 +00:00
} ,
"uid" : {
"type" : "string" ,
"title" : "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids\n+optional"
}
}
} ,
"v1OwnerReference" : {
2019-06-25 09:52:58 +00:00
"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." ,
2018-06-25 20:49:38 +00:00
"type" : "object" ,
"properties" : {
"apiVersion" : {
"description" : "API version of the referent." ,
"type" : "string"
} ,
"blockOwnerDeletion" : {
"type" : "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" ,
"title" : "If true, this reference points to the managing controller.\n+optional"
} ,
"kind" : {
"type" : "string" ,
2019-12-11 02:33:58 +00:00
"title" : "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
2018-06-25 20:49:38 +00:00
} ,
"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"
}
}
} ,
2021-01-06 08:07:46 +00:00
"v1PortStatus" : {
"type" : "object" ,
"properties" : {
"error" : {
"type" : "string" ,
"title" : "Error is to record the problem with the service port\nThe format of the error shall comply with the following rules:\n- built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.\n---\nThe regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)\n+optional\n+kubebuilder:validation:Required\n+kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`\n+kubebuilder:validation:MaxLength=316"
} ,
"port" : {
"type" : "integer" ,
"format" : "int32" ,
"title" : "Port is the port number of the service port of which status is recorded here"
} ,
"protocol" : {
"type" : "string" ,
"title" : "Protocol is the protocol of the service port of which status is recorded here\nThe supported values are: \"TCP\", \"UDP\", \"SCTP\""
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1Time" : {
"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"
}
}
} ,
2018-09-13 07:09:23 +00:00
"v1alpha1AWSAuthConfig" : {
"type" : "object" ,
"title" : "AWSAuthConfig is an AWS IAM authentication configuration" ,
"properties" : {
"clusterName" : {
"type" : "string" ,
"title" : "ClusterName contains AWS cluster name"
} ,
"roleARN" : {
"description" : "RoleARN contains optional role ARN. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain." ,
"type" : "string"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1AppProject" : {
"type" : "object" ,
2019-06-27 21:44:49 +00:00
"title" : "AppProject provides a logical grouping of applications, providing controls for:\n* where the apps may deploy to (cluster whitelist)\n* what may be deployed (repository whitelist, resource whitelist/blacklist)\n* who can access these applications (roles, OIDC group claims bindings)\n* and what they can do (RBAC policies)\n* automation access to these roles (JWT tokens)\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object\n+kubebuilder:resource:path=appprojects,shortName=appproj;appprojs" ,
2018-06-25 20:49:38 +00:00
"properties" : {
"metadata" : {
2018-11-09 17:58:07 +00:00
"$ref" : "#/definitions/v1ObjectMeta"
2018-06-25 20:49:38 +00:00
} ,
"spec" : {
"$ref" : "#/definitions/v1alpha1AppProjectSpec"
2020-06-25 22:11:24 +00:00
} ,
"status" : {
"$ref" : "#/definitions/v1alpha1AppProjectStatus"
2018-06-25 20:49:38 +00:00
}
}
} ,
"v1alpha1AppProjectList" : {
"type" : "object" ,
"title" : "AppProjectList is list of AppProject resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1AppProject"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
}
}
} ,
"v1alpha1AppProjectSpec" : {
"type" : "object" ,
2018-11-23 19:31:20 +00:00
"title" : "AppProjectSpec is the specification of an AppProject" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2020-08-04 15:06:28 +00:00
"clusterResourceBlacklist" : {
"type" : "array" ,
"title" : "ClusterResourceBlacklist contains list of blacklisted cluster level resources" ,
"items" : {
"$ref" : "#/definitions/v1GroupKind"
}
} ,
2018-09-11 22:10:47 +00:00
"clusterResourceWhitelist" : {
"type" : "array" ,
"title" : "ClusterResourceWhitelist contains list of whitelisted cluster level resources" ,
"items" : {
"$ref" : "#/definitions/v1GroupKind"
}
} ,
2018-06-25 20:49:38 +00:00
"description" : {
"type" : "string" ,
"title" : "Description contains optional project description"
} ,
"destinations" : {
"type" : "array" ,
"title" : "Destinations contains list of destinations available for deployment" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ApplicationDestination"
}
2018-06-27 23:15:26 +00:00
} ,
2018-09-11 22:10:47 +00:00
"namespaceResourceBlacklist" : {
"type" : "array" ,
"title" : "NamespaceResourceBlacklist contains list of blacklisted namespace level resources" ,
"items" : {
"$ref" : "#/definitions/v1GroupKind"
}
} ,
2020-03-26 23:13:31 +00:00
"namespaceResourceWhitelist" : {
"type" : "array" ,
"title" : "NamespaceResourceWhitelist contains list of whitelisted namespace level resources" ,
"items" : {
"$ref" : "#/definitions/v1GroupKind"
}
} ,
2019-08-19 15:14:48 +00:00
"orphanedResources" : {
"$ref" : "#/definitions/v1alpha1OrphanedResourcesMonitorSettings"
} ,
2018-08-15 19:54:24 +00:00
"roles" : {
"type" : "array" ,
2018-11-23 19:31:20 +00:00
"title" : "Roles are user defined RBAC roles associated with this project" ,
2018-08-15 19:54:24 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1ProjectRole"
}
} ,
2020-06-22 16:21:53 +00:00
"signatureKeys" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync" ,
2020-06-22 16:21:53 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1SignatureKey"
}
} ,
2018-08-02 17:59:05 +00:00
"sourceRepos" : {
2018-06-27 23:15:26 +00:00
"type" : "array" ,
2019-09-06 22:37:25 +00:00
"title" : "SourceRepos contains list of repository URLs which can be used for deployment" ,
2018-06-27 23:15:26 +00:00
"items" : {
"type" : "string"
}
2019-10-08 22:20:19 +00:00
} ,
"syncWindows" : {
"type" : "array" ,
"title" : "SyncWindows controls when syncs can be run for apps in this project" ,
"items" : {
"$ref" : "#/definitions/v1alpha1SyncWindow"
}
2018-06-25 20:49:38 +00:00
}
}
} ,
2020-06-25 22:11:24 +00:00
"v1alpha1AppProjectStatus" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "AppProjectStatus contains status information for AppProject CRs" ,
2020-06-25 22:11:24 +00:00
"properties" : {
"jwtTokensByRole" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "JWTTokensByRole contains a list of JWT tokens issued for a given role" ,
2020-06-25 22:11:24 +00:00
"additionalProperties" : {
"$ref" : "#/definitions/v1alpha1JWTTokens"
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1Application" : {
"type" : "object" ,
2020-10-22 21:07:05 +00:00
"title" : "Application is a definition of Application resource.\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object\n+kubebuilder:resource:path=applications,shortName=app;apps\n+kubebuilder:printcolumn:name=\"Sync Status\",type=string,JSONPath=`.status.sync.status`\n+kubebuilder:printcolumn:name=\"Health Status\",type=string,JSONPath=`.status.health.status`\n+kubebuilder:printcolumn:name=\"Revision\",type=string,JSONPath=`.status.sync.revision`,priority=10" ,
2018-06-25 20:49:38 +00:00
"properties" : {
"metadata" : {
2018-11-09 17:58:07 +00:00
"$ref" : "#/definitions/v1ObjectMeta"
2018-06-25 20:49:38 +00:00
} ,
"operation" : {
"$ref" : "#/definitions/v1alpha1Operation"
} ,
"spec" : {
"$ref" : "#/definitions/v1alpha1ApplicationSpec"
} ,
"status" : {
"$ref" : "#/definitions/v1alpha1ApplicationStatus"
}
}
} ,
"v1alpha1ApplicationCondition" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationCondition contains details about an application condition, which is usally an error or warning" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2019-10-17 02:29:52 +00:00
"lastTransitionTime" : {
"$ref" : "#/definitions/v1Time"
} ,
2018-06-25 20:49:38 +00:00
"message" : {
"type" : "string" ,
"title" : "Message contains human-readable message indicating details about condition"
} ,
"type" : {
"type" : "string" ,
"title" : "Type is an application condition type"
}
}
} ,
"v1alpha1ApplicationDestination" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationDestination holds information about the application's destination" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2020-06-20 23:12:46 +00:00
"name" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Name is an alternate way of specifying the target cluster by its symbolic name"
2020-06-20 23:12:46 +00:00
} ,
2018-06-25 20:49:38 +00:00
"namespace" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Namespace specifies the target namespace for the application's resources.\nThe namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace"
2018-06-25 20:49:38 +00:00
} ,
"server" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API"
2018-06-25 20:49:38 +00:00
}
}
} ,
"v1alpha1ApplicationList" : {
"type" : "object" ,
"title" : "ApplicationList is list of Application resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1Application"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
}
}
} ,
"v1alpha1ApplicationSource" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationSource contains all required information about the source of an application" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2019-09-26 19:05:12 +00:00
"chart" : {
2021-03-02 18:24:51 +00:00
"description" : "Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo." ,
"type" : "string"
2019-09-26 19:05:12 +00:00
} ,
2019-02-11 21:56:30 +00:00
"directory" : {
"$ref" : "#/definitions/v1alpha1ApplicationSourceDirectory"
} ,
2018-11-18 00:20:25 +00:00
"helm" : {
"$ref" : "#/definitions/v1alpha1ApplicationSourceHelm"
} ,
"ksonnet" : {
"$ref" : "#/definitions/v1alpha1ApplicationSourceKsonnet"
} ,
"kustomize" : {
"$ref" : "#/definitions/v1alpha1ApplicationSourceKustomize"
2018-10-29 23:05:22 +00:00
} ,
2018-06-25 20:49:38 +00:00
"path" : {
2021-03-02 18:24:51 +00:00
"description" : "Path is a directory path within the Git repository, and is only valid for applications sourced from Git." ,
"type" : "string"
2018-06-25 20:49:38 +00:00
} ,
2019-02-22 22:56:11 +00:00
"plugin" : {
"$ref" : "#/definitions/v1alpha1ApplicationSourcePlugin"
} ,
2018-06-25 20:49:38 +00:00
"repoURL" : {
2018-07-24 23:37:12 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "RepoURL is the URL to the repository (Git or Helm) that contains the application manifests"
2018-06-25 20:49:38 +00:00
} ,
"targetRevision" : {
2021-03-02 18:24:51 +00:00
"description" : "TargetRevision defines the revision of the source to sync the application to.\nIn case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD.\nIn case of Helm, this is a semver tag for the Chart's version." ,
"type" : "string"
2018-06-25 20:49:38 +00:00
}
}
} ,
2019-02-11 21:56:30 +00:00
"v1alpha1ApplicationSourceDirectory" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationSourceDirectory holds options for applications of type plain YAML or Jsonnet" ,
2019-02-11 21:56:30 +00:00
"properties" : {
2020-11-02 16:46:02 +00:00
"exclude" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation"
2020-11-02 16:46:02 +00:00
} ,
2021-01-04 03:17:42 +00:00
"include" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Include contains a glob pattern to match paths against that should be explicitly included during manifest generation"
2021-01-04 03:17:42 +00:00
} ,
2019-02-26 19:50:13 +00:00
"jsonnet" : {
"$ref" : "#/definitions/v1alpha1ApplicationSourceJsonnet"
} ,
2019-02-11 21:56:30 +00:00
"recurse" : {
2021-03-02 18:24:51 +00:00
"type" : "boolean" ,
"title" : "Recurse specifies whether to scan a directory recursively for manifests"
2019-02-11 21:56:30 +00:00
}
}
} ,
2018-11-18 00:20:25 +00:00
"v1alpha1ApplicationSourceHelm" : {
"type" : "object" ,
"title" : "ApplicationSourceHelm holds helm specific options" ,
"properties" : {
2020-01-29 16:26:05 +00:00
"fileParameters" : {
"type" : "array" ,
"title" : "FileParameters are file parameters to the helm template" ,
"items" : {
"$ref" : "#/definitions/v1alpha1HelmFileParameter"
}
} ,
2019-03-04 08:56:36 +00:00
"parameters" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation" ,
2019-03-04 08:56:36 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1HelmParameter"
}
} ,
2019-06-06 18:51:31 +00:00
"releaseName" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "ReleaseName is the Helm release name to use. If omitted it will use the application name"
2019-06-06 18:51:31 +00:00
} ,
2018-11-18 00:20:25 +00:00
"valueFiles" : {
"type" : "array" ,
"title" : "ValuesFiles is a list of Helm value files to use when generating a template" ,
"items" : {
"type" : "string"
}
2019-08-09 17:47:02 +00:00
} ,
"values" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Values specifies Helm values to be passed to helm template, typically defined as a block"
2020-08-25 19:36:27 +00:00
} ,
"version" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Version is the Helm version to use for templating (either \"2\" or \"3\")"
2018-11-18 00:20:25 +00:00
}
}
} ,
2019-02-26 19:50:13 +00:00
"v1alpha1ApplicationSourceJsonnet" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationSourceJsonnet holds options specific to applications of type Jsonnet" ,
2019-02-26 19:50:13 +00:00
"properties" : {
"extVars" : {
"type" : "array" ,
"title" : "ExtVars is a list of Jsonnet External Variables" ,
"items" : {
"$ref" : "#/definitions/v1alpha1JsonnetVar"
}
} ,
2020-07-13 21:18:21 +00:00
"libs" : {
"type" : "array" ,
"title" : "Additional library search dirs" ,
"items" : {
"type" : "string"
}
} ,
2019-02-26 19:50:13 +00:00
"tlas" : {
"type" : "array" ,
"title" : "TLAS is a list of Jsonnet Top-level Arguments" ,
"items" : {
"$ref" : "#/definitions/v1alpha1JsonnetVar"
}
}
}
} ,
2018-11-18 00:20:25 +00:00
"v1alpha1ApplicationSourceKsonnet" : {
"type" : "object" ,
"title" : "ApplicationSourceKsonnet holds ksonnet specific options" ,
"properties" : {
"environment" : {
"type" : "string" ,
"title" : "Environment is a ksonnet application environment name"
2019-03-04 08:56:36 +00:00
} ,
"parameters" : {
"type" : "array" ,
"title" : "Parameters are a list of ksonnet component parameter override values" ,
"items" : {
"$ref" : "#/definitions/v1alpha1KsonnetParameter"
}
2018-11-18 00:20:25 +00:00
}
}
} ,
"v1alpha1ApplicationSourceKustomize" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationSourceKustomize holds options specific to an Application source specific to Kustomize" ,
2018-11-18 00:20:25 +00:00
"properties" : {
2020-10-29 18:12:55 +00:00
"commonAnnotations" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "CommonAnnotations is a list of additional annotations to add to rendered manifests" ,
2020-10-29 18:12:55 +00:00
"additionalProperties" : {
"type" : "string"
}
} ,
2019-06-05 00:08:07 +00:00
"commonLabels" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "CommonLabels is a list of additional labels to add to rendered manifests" ,
2019-06-05 00:08:07 +00:00
"additionalProperties" : {
"type" : "string"
}
} ,
2021-06-09 17:16:43 +00:00
"forceCommonAnnotations" : {
"type" : "boolean" ,
"title" : "ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps"
} ,
"forceCommonLabels" : {
"type" : "boolean" ,
"title" : "ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps"
} ,
2019-03-27 19:54:23 +00:00
"images" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Images is a list of Kustomize image override specifications" ,
2019-03-27 19:54:23 +00:00
"items" : {
"type" : "string"
}
} ,
2018-11-18 00:20:25 +00:00
"namePrefix" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "NamePrefix is a prefix appended to resources for Kustomize apps"
2019-10-16 23:34:52 +00:00
} ,
"nameSuffix" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "NameSuffix is a suffix appended to resources for Kustomize apps"
2020-04-15 19:04:31 +00:00
} ,
"version" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Version controls which version of Kustomize to use for rendering manifests"
2018-11-18 00:20:25 +00:00
}
}
} ,
2019-02-22 22:56:11 +00:00
"v1alpha1ApplicationSourcePlugin" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationSourcePlugin holds options specific to config management plugins" ,
2019-02-22 22:56:11 +00:00
"properties" : {
2019-07-02 22:59:55 +00:00
"env" : {
"type" : "array" ,
"items" : {
2020-10-30 16:58:45 +00:00
"$ref" : "#/definitions/applicationv1alpha1EnvEntry"
2019-07-02 22:59:55 +00:00
}
} ,
2019-02-22 22:56:11 +00:00
"name" : {
"type" : "string"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1ApplicationSpec" : {
"description" : "ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision." ,
"type" : "object" ,
"properties" : {
"destination" : {
"$ref" : "#/definitions/v1alpha1ApplicationDestination"
} ,
2019-02-22 21:19:10 +00:00
"ignoreDifferences" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "IgnoreDifferences is a list of resources and their fields which should be ignored during comparison" ,
2019-02-22 21:19:10 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceIgnoreDifferences"
}
} ,
2019-06-13 17:52:37 +00:00
"info" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Info contains a list of information (URLs, email addresses, and plain text) that relates to the application" ,
2019-06-13 17:52:37 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1Info"
}
} ,
2018-06-25 20:49:38 +00:00
"project" : {
2021-03-02 18:24:51 +00:00
"description" : "Project is a reference to the project this application belongs to.\nThe empty string means that application belongs to the 'default' project." ,
2018-06-25 20:49:38 +00:00
"type" : "string"
} ,
2019-12-13 19:14:43 +00:00
"revisionHistoryLimit" : {
2021-03-02 18:24:51 +00:00
"description" : "RevisionHistoryLimit limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions.\nThis should only be changed in exceptional circumstances.\nSetting to zero will store no history. This will reduce storage used.\nIncreasing will increase the space used to store the history, so we do not recommend increasing it.\nDefault is 10." ,
2019-12-13 19:14:43 +00:00
"type" : "string" ,
"format" : "int64"
} ,
2018-06-25 20:49:38 +00:00
"source" : {
"$ref" : "#/definitions/v1alpha1ApplicationSource"
2018-09-11 21:28:53 +00:00
} ,
"syncPolicy" : {
"$ref" : "#/definitions/v1alpha1SyncPolicy"
2018-06-25 20:49:38 +00:00
}
}
} ,
"v1alpha1ApplicationStatus" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationStatus contains status information for the application" ,
2018-06-25 20:49:38 +00:00
"properties" : {
"conditions" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Conditions is a list of currently observed application conditions" ,
2018-06-25 20:49:38 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1ApplicationCondition"
}
} ,
"health" : {
"$ref" : "#/definitions/v1alpha1HealthStatus"
} ,
"history" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "History contains information about the application's sync history" ,
2018-06-25 20:49:38 +00:00
"items" : {
2018-12-04 10:52:57 +00:00
"$ref" : "#/definitions/v1alpha1RevisionHistory"
2018-06-25 20:49:38 +00:00
}
} ,
2018-12-04 10:52:57 +00:00
"observedAt" : {
"$ref" : "#/definitions/v1Time"
} ,
2018-06-25 20:49:38 +00:00
"operationState" : {
"$ref" : "#/definitions/v1alpha1OperationState"
} ,
2019-03-14 23:42:36 +00:00
"reconciledAt" : {
"$ref" : "#/definitions/v1Time"
} ,
2018-12-04 10:52:57 +00:00
"resources" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Resources is a list of Kubernetes resources managed by this application" ,
2018-12-04 10:52:57 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceStatus"
}
} ,
2019-03-18 21:39:32 +00:00
"sourceType" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "SourceType specifies the type of this application"
2019-03-18 21:39:32 +00:00
} ,
2019-05-08 16:00:45 +00:00
"summary" : {
"$ref" : "#/definitions/v1alpha1ApplicationSummary"
} ,
2018-12-04 10:52:57 +00:00
"sync" : {
"$ref" : "#/definitions/v1alpha1SyncStatus"
2018-06-25 20:49:38 +00:00
}
}
} ,
2019-05-08 16:00:45 +00:00
"v1alpha1ApplicationSummary" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationSummary contains information about URLs and container images used by an application" ,
2019-05-08 16:00:45 +00:00
"properties" : {
"externalURLs" : {
"description" : "ExternalURLs holds all external URLs of application child resources." ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"images" : {
"description" : "Images holds all images of application child resources." ,
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
2019-03-30 03:59:25 +00:00
"v1alpha1ApplicationTree" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ApplicationTree holds nodes which belongs to the application\nTODO: describe purpose of this type" ,
2019-03-30 03:59:25 +00:00
"properties" : {
2021-01-11 20:35:47 +00:00
"hosts" : {
"type" : "array" ,
"title" : "Hosts holds list of Kubernetes nodes that run application related pods" ,
"items" : {
"$ref" : "#/definitions/v1alpha1HostInfo"
}
} ,
2019-03-30 03:59:25 +00:00
"nodes" : {
2019-08-19 15:14:48 +00:00
"description" : "Nodes contains list of nodes which either directly managed by the application and children of directly managed nodes." ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceNode"
}
} ,
"orphanedNodes" : {
"description" : "OrphanedNodes contains if or orphaned nodes: nodes which are not managed by the app but in the same namespace. List is populated only if orphaned resources enabled in app project." ,
2019-03-30 03:59:25 +00:00
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceNode"
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1ApplicationWatchEvent" : {
"description" : "ApplicationWatchEvent contains information about application change." ,
"type" : "object" ,
"properties" : {
"application" : {
"$ref" : "#/definitions/v1alpha1Application"
} ,
"type" : {
"type" : "string"
}
}
} ,
2020-07-28 17:14:17 +00:00
"v1alpha1Backoff" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "Backoff is the backoff strategy to use on subsequent retries for failing syncs" ,
2020-07-28 17:14:17 +00:00
"properties" : {
"duration" : {
"type" : "string" ,
"title" : "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")"
} ,
"factor" : {
"type" : "string" ,
"format" : "int64" ,
"title" : "Factor is a factor to multiply the base duration after each failed retry"
} ,
"maxDuration" : {
"type" : "string" ,
"title" : "MaxDuration is the maximum amount of time allowed for the backoff strategy"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1Cluster" : {
"type" : "object" ,
"title" : "Cluster is the definition of a cluster resource" ,
"properties" : {
2021-07-19 18:58:58 +00:00
"clusterResources" : {
"description" : "Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode." ,
"type" : "boolean"
} ,
2018-06-25 20:49:38 +00:00
"config" : {
"$ref" : "#/definitions/v1alpha1ClusterConfig"
} ,
"connectionState" : {
"$ref" : "#/definitions/v1alpha1ConnectionState"
} ,
2020-06-23 00:51:20 +00:00
"info" : {
"$ref" : "#/definitions/v1alpha1ClusterInfo"
} ,
2018-06-25 20:49:38 +00:00
"name" : {
"type" : "string" ,
"title" : "Name of the cluster. If omitted, will use the server address"
} ,
2019-12-17 15:50:11 +00:00
"namespaces" : {
2021-03-02 18:24:51 +00:00
"description" : "Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty." ,
2019-12-17 15:50:11 +00:00
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
2021-08-25 16:53:58 +00:00
"project" : {
"type" : "string" ,
"title" : "Reference between project and cluster that allow you automatically to be added as item inside Destinations project entity"
} ,
2020-06-23 00:51:20 +00:00
"refreshRequestedAt" : {
"$ref" : "#/definitions/v1Time"
} ,
2018-06-25 20:49:38 +00:00
"server" : {
"type" : "string" ,
"title" : "Server is the API server URL of the Kubernetes cluster"
2019-09-11 23:37:00 +00:00
} ,
"serverVersion" : {
"type" : "string" ,
2020-06-23 00:51:20 +00:00
"title" : "DEPRECATED: use Info.ServerVersion field instead.\nThe server version"
2020-10-09 20:16:54 +00:00
} ,
"shard" : {
"description" : "Shard contains optional shard number. Calculated on the fly by the application controller if not specified." ,
"type" : "string" ,
"format" : "int64"
2020-06-23 00:51:20 +00:00
}
}
} ,
"v1alpha1ClusterCacheInfo" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ClusterCacheInfo contains information about the cluster cache" ,
2020-06-23 00:51:20 +00:00
"properties" : {
"apisCount" : {
"type" : "string" ,
"format" : "int64" ,
"title" : "APIsCount holds number of observed Kubernetes API count"
} ,
"lastCacheSyncTime" : {
"$ref" : "#/definitions/v1Time"
} ,
"resourcesCount" : {
"type" : "string" ,
"format" : "int64" ,
"title" : "ResourcesCount holds number of observed Kubernetes resources"
2018-06-25 20:49:38 +00:00
}
}
} ,
"v1alpha1ClusterConfig" : {
"description" : "ClusterConfig is the configuration attributes. This structure is subset of the go-client\nrest.Config with annotations added for marshalling." ,
"type" : "object" ,
"properties" : {
2018-09-13 07:09:23 +00:00
"awsAuthConfig" : {
"$ref" : "#/definitions/v1alpha1AWSAuthConfig"
} ,
2018-06-25 20:49:38 +00:00
"bearerToken" : {
"description" : "Server requires Bearer authentication. This client will not attempt to use\nrefresh tokens for an OAuth2 flow.\nTODO: demonstrate an OAuth2 compatible client." ,
"type" : "string"
} ,
2020-10-30 16:58:45 +00:00
"execProviderConfig" : {
"$ref" : "#/definitions/v1alpha1ExecProviderConfig"
} ,
2018-06-25 20:49:38 +00:00
"password" : {
"type" : "string"
} ,
"tlsClientConfig" : {
"$ref" : "#/definitions/v1alpha1TLSClientConfig"
} ,
"username" : {
"type" : "string" ,
"title" : "Server requires Basic authentication"
}
}
} ,
2020-06-23 00:51:20 +00:00
"v1alpha1ClusterInfo" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ClusterInfo contains information about the cluster" ,
2020-06-23 00:51:20 +00:00
"properties" : {
2021-06-08 23:10:24 +00:00
"apiVersions" : {
"type" : "array" ,
"title" : "APIVersions contains list of API versions supported by the cluster" ,
"items" : {
"type" : "string"
}
} ,
2020-06-23 00:51:20 +00:00
"applicationsCount" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"format" : "int64" ,
"title" : "ApplicationsCount is the number of applications managed by Argo CD on the cluster"
2020-06-23 00:51:20 +00:00
} ,
"cacheInfo" : {
"$ref" : "#/definitions/v1alpha1ClusterCacheInfo"
} ,
"connectionState" : {
"$ref" : "#/definitions/v1alpha1ConnectionState"
} ,
"serverVersion" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "ServerVersion contains information about the Kubernetes version of the cluster"
2020-06-23 00:51:20 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1ClusterList" : {
"description" : "ClusterList is a collection of Clusters." ,
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1Cluster"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
}
}
} ,
2020-04-02 16:50:42 +00:00
"v1alpha1Command" : {
"type" : "object" ,
"title" : "Command holds binary path and arguments list" ,
"properties" : {
"args" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"command" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
2018-12-20 20:48:42 +00:00
"v1alpha1ComparedTo" : {
"type" : "object" ,
"title" : "ComparedTo contains application source and target which was used for resources comparison" ,
"properties" : {
"destination" : {
"$ref" : "#/definitions/v1alpha1ApplicationDestination"
} ,
"source" : {
"$ref" : "#/definitions/v1alpha1ApplicationSource"
}
}
} ,
2020-04-02 16:50:42 +00:00
"v1alpha1ConfigManagementPlugin" : {
"type" : "object" ,
"title" : "ConfigManagementPlugin contains config management plugin configuration" ,
"properties" : {
"generate" : {
"$ref" : "#/definitions/v1alpha1Command"
} ,
"init" : {
"$ref" : "#/definitions/v1alpha1Command"
} ,
"name" : {
"type" : "string"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1ConnectionState" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ConnectionState contains information about remote resource connection state, currently used for clusters and repositories" ,
2018-06-25 20:49:38 +00:00
"properties" : {
"attemptedAt" : {
"$ref" : "#/definitions/v1Time"
} ,
"message" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Message contains human readable information about the connection status"
2018-06-25 20:49:38 +00:00
} ,
"status" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Status contains the current status indicator for the connection"
2018-06-25 20:49:38 +00:00
}
}
} ,
2020-10-30 16:58:45 +00:00
"v1alpha1ExecProviderConfig" : {
2019-07-02 22:59:55 +00:00
"type" : "object" ,
2020-10-30 16:58:45 +00:00
"title" : "ExecProviderConfig is config used to call an external command to perform cluster authentication\nSee: https://godoc.org/k8s.io/client-go/tools/clientcmd/api#ExecConfig" ,
2019-07-02 22:59:55 +00:00
"properties" : {
2020-10-30 16:58:45 +00:00
"apiVersion" : {
2019-07-02 22:59:55 +00:00
"type" : "string" ,
2020-10-30 16:58:45 +00:00
"title" : "Preferred input version of the ExecInfo"
2019-07-02 22:59:55 +00:00
} ,
2020-10-30 16:58:45 +00:00
"args" : {
"type" : "array" ,
"title" : "Arguments to pass to the command when executing it" ,
"items" : {
"type" : "string"
}
} ,
"command" : {
2019-07-02 22:59:55 +00:00
"type" : "string" ,
2020-10-30 16:58:45 +00:00
"title" : "Command to execute"
} ,
"env" : {
"type" : "object" ,
"title" : "Env defines additional environment variables to expose to the process" ,
"additionalProperties" : {
"type" : "string"
}
} ,
"installHint" : {
"type" : "string" ,
"title" : "This text is shown to the user when the executable doesn't seem to be present"
2019-07-02 22:59:55 +00:00
}
}
} ,
2020-06-22 16:21:53 +00:00
"v1alpha1GnuPGPublicKey" : {
"type" : "object" ,
"title" : "GnuPGPublicKey is a representation of a GnuPG public key" ,
"properties" : {
"fingerprint" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Fingerprint is the fingerprint of the key"
2020-06-22 16:21:53 +00:00
} ,
"keyData" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "KeyData holds the raw key data, in base64 encoded format"
2020-06-22 16:21:53 +00:00
} ,
"keyID" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "KeyID specifies the key ID, in hexadecimal string format"
2020-06-22 16:21:53 +00:00
} ,
"owner" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Owner holds the owner identification, e.g. a name and e-mail address"
2020-06-22 16:21:53 +00:00
} ,
"subType" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "SubType holds the key's sub type (e.g. rsa4096)"
2020-06-22 16:21:53 +00:00
} ,
"trust" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Trust holds the level of trust assigned to this key"
2020-06-22 16:21:53 +00:00
}
}
} ,
"v1alpha1GnuPGPublicKeyList" : {
"type" : "object" ,
"title" : "GnuPGPublicKeyList is a collection of GnuPGPublicKey objects" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1GnuPGPublicKey"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1HealthStatus" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "HealthStatus contains information about the currently observed health state of an application or resource" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2018-07-07 07:54:06 +00:00
"message" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Message is a human-readable informational message describing the health status"
2018-07-07 07:54:06 +00:00
} ,
"status" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Status holds the status code of the application or resource"
2018-07-07 07:54:06 +00:00
}
}
} ,
2020-01-29 16:26:05 +00:00
"v1alpha1HelmFileParameter" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "HelmFileParameter is a file parameter that's passed to helm template during manifest generation" ,
2020-01-29 16:26:05 +00:00
"properties" : {
"name" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Name is the name of the Helm parameter"
2020-01-29 16:26:05 +00:00
} ,
"path" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Path is the path to the file containing the values for the Helm parameter"
2020-01-29 16:26:05 +00:00
}
}
} ,
2019-03-04 08:56:36 +00:00
"v1alpha1HelmParameter" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "HelmParameter is a parameter that's passed to helm template during manifest generation" ,
2019-03-04 08:56:36 +00:00
"properties" : {
2019-07-09 19:20:36 +00:00
"forceString" : {
"type" : "boolean" ,
"title" : "ForceString determines whether to tell Helm to interpret booleans and numbers as strings"
} ,
2019-03-04 08:56:36 +00:00
"name" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Name is the name of the Helm parameter"
2019-03-04 08:56:36 +00:00
} ,
"value" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Value is the value for the Helm parameter"
2019-03-04 08:56:36 +00:00
}
}
} ,
2021-01-11 20:35:47 +00:00
"v1alpha1HostInfo" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "HostInfo holds host name and resources metrics\nTODO: describe purpose of this type\nTODO: describe members of this type" ,
2021-01-11 20:35:47 +00:00
"properties" : {
"name" : {
"type" : "string"
} ,
"resourcesInfo" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1HostResourceInfo"
}
} ,
"systemInfo" : {
"$ref" : "#/definitions/v1NodeSystemInfo"
}
}
} ,
"v1alpha1HostResourceInfo" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "TODO: describe this type" ,
2021-01-11 20:35:47 +00:00
"properties" : {
"capacity" : {
"type" : "string" ,
"format" : "int64"
} ,
"requestedByApp" : {
"type" : "string" ,
"format" : "int64"
} ,
"requestedByNeighbors" : {
"type" : "string" ,
"format" : "int64"
} ,
"resourceName" : {
"type" : "string"
}
}
} ,
2019-06-13 17:52:37 +00:00
"v1alpha1Info" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"value" : {
"type" : "string"
}
}
} ,
2018-12-12 21:16:55 +00:00
"v1alpha1InfoItem" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "InfoItem contains arbitrary, human readable information about an application" ,
2018-12-12 21:16:55 +00:00
"properties" : {
"name" : {
"description" : "Name is a human readable title for this piece of information." ,
"type" : "string"
} ,
"value" : {
"description" : "Value is human readable content." ,
"type" : "string"
}
}
} ,
2018-08-15 19:54:24 +00:00
"v1alpha1JWTToken" : {
"type" : "object" ,
"title" : "JWTToken holds the issuedAt and expiresAt values of a token" ,
"properties" : {
"exp" : {
"type" : "string" ,
"format" : "int64"
} ,
"iat" : {
"type" : "string" ,
"format" : "int64"
2020-04-13 21:13:05 +00:00
} ,
"id" : {
"type" : "string"
2018-08-15 19:54:24 +00:00
}
}
} ,
2020-06-25 22:11:24 +00:00
"v1alpha1JWTTokens" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "JWTTokens represents a list of JWT tokens" ,
2020-06-25 22:11:24 +00:00
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1JWTToken"
}
}
}
} ,
2019-02-26 19:50:13 +00:00
"v1alpha1JsonnetVar" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "JsonnetVar represents a variable to be passed to jsonnet during manifest generation" ,
2019-02-26 19:50:13 +00:00
"properties" : {
"code" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-02-26 19:50:13 +00:00
} ,
"name" : {
"type" : "string"
} ,
"value" : {
"type" : "string"
}
}
} ,
2020-04-06 19:13:50 +00:00
"v1alpha1KnownTypeField" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "KnownTypeField contains mapping between CRD field and known Kubernetes type.\nThis is mainly used for unit conversion in unknown resources (e.g. 0.1 == 100mi)\nTODO: Describe the members of this type" ,
2020-04-06 19:13:50 +00:00
"properties" : {
"field" : {
"type" : "string"
} ,
"type" : {
"type" : "string"
}
}
} ,
2019-03-04 08:56:36 +00:00
"v1alpha1KsonnetParameter" : {
"type" : "object" ,
"title" : "KsonnetParameter is a ksonnet component parameter" ,
"properties" : {
"component" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"value" : {
"type" : "string"
}
}
} ,
2019-08-02 23:57:33 +00:00
"v1alpha1KustomizeOptions" : {
"type" : "object" ,
"title" : "KustomizeOptions are options for kustomize to use when building manifests" ,
"properties" : {
2020-04-15 19:04:31 +00:00
"binaryPath" : {
"type" : "string" ,
"title" : "BinaryPath holds optional path to kustomize binary"
} ,
2019-08-02 23:57:33 +00:00
"buildOptions" : {
"type" : "string" ,
"title" : "BuildOptions is a string of build parameters to use when calling `kustomize build`"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1Operation" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "Operation contains information about a requested or running operation" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2020-06-10 22:28:07 +00:00
"info" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Info is a list of informational items for this operation" ,
2020-06-10 22:28:07 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1Info"
}
} ,
2020-03-18 20:32:39 +00:00
"initiatedBy" : {
"$ref" : "#/definitions/v1alpha1OperationInitiator"
} ,
2020-07-28 17:14:17 +00:00
"retry" : {
"$ref" : "#/definitions/v1alpha1RetryStrategy"
} ,
2018-06-25 20:49:38 +00:00
"sync" : {
"$ref" : "#/definitions/v1alpha1SyncOperation"
}
}
} ,
2020-03-18 20:32:39 +00:00
"v1alpha1OperationInitiator" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "OperationInitiator contains information about the initiator of an operation" ,
2020-03-18 20:32:39 +00:00
"properties" : {
"automated" : {
"description" : "Automated is set to true if operation was initiated automatically by the application controller." ,
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2020-03-18 20:32:39 +00:00
} ,
"username" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Username contains the name of a user who started operation"
2020-03-18 20:32:39 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1OperationState" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "OperationState contains information about state of a running operation" ,
2018-06-25 20:49:38 +00:00
"properties" : {
"finishedAt" : {
"$ref" : "#/definitions/v1Time"
} ,
"message" : {
2021-03-02 18:24:51 +00:00
"description" : "Message holds any pertinent messages when attempting to perform operation (typically errors)." ,
2018-06-25 20:49:38 +00:00
"type" : "string"
} ,
"operation" : {
"$ref" : "#/definitions/v1alpha1Operation"
} ,
"phase" : {
"type" : "string" ,
"title" : "Phase is the current phase of the operation"
} ,
2020-07-28 17:14:17 +00:00
"retryCount" : {
"type" : "string" ,
"format" : "int64" ,
"title" : "RetryCount contains time of operation retries"
} ,
2018-06-25 20:49:38 +00:00
"startedAt" : {
"$ref" : "#/definitions/v1Time"
} ,
"syncResult" : {
"$ref" : "#/definitions/v1alpha1SyncOperationResult"
}
2019-08-19 15:14:48 +00:00
}
} ,
2020-07-09 23:19:47 +00:00
"v1alpha1OrphanedResourceKey" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "OrphanedResourceKey is a reference to a resource to be ignored from" ,
2020-07-09 23:19:47 +00:00
"properties" : {
"group" : {
"type" : "string"
} ,
"kind" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
}
}
} ,
2019-08-19 15:14:48 +00:00
"v1alpha1OrphanedResourcesMonitorSettings" : {
"type" : "object" ,
"title" : "OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring" ,
"properties" : {
2020-07-09 23:19:47 +00:00
"ignore" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Ignore contains a list of resources that are to be excluded from orphaned resources monitoring" ,
2020-07-09 23:19:47 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1OrphanedResourceKey"
}
} ,
2019-08-19 15:14:48 +00:00
"warn" : {
"type" : "boolean" ,
"title" : "Warn indicates if warning condition should be created for apps which have orphaned resources"
}
2018-06-25 20:49:38 +00:00
}
} ,
2020-07-03 06:28:36 +00:00
"v1alpha1OverrideIgnoreDiff" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "TODO: describe this type" ,
2020-07-03 06:28:36 +00:00
"properties" : {
"jSONPointers" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
2021-06-04 05:06:55 +00:00
} ,
"jqPathExpressions" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
2020-07-03 06:28:36 +00:00
}
}
} ,
2018-08-15 19:54:24 +00:00
"v1alpha1ProjectRole" : {
"type" : "object" ,
"title" : "ProjectRole represents a role that has access to a project" ,
"properties" : {
"description" : {
2018-11-23 19:31:20 +00:00
"type" : "string" ,
"title" : "Description is a description of the role"
} ,
"groups" : {
"type" : "array" ,
"title" : "Groups are a list of OIDC group claims bound to this role" ,
"items" : {
"type" : "string"
}
2018-08-15 19:54:24 +00:00
} ,
"jwtTokens" : {
"type" : "array" ,
2018-11-23 19:31:20 +00:00
"title" : "JWTTokens are a list of generated JWT tokens bound to this role" ,
2018-08-15 19:54:24 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1JWTToken"
}
} ,
"name" : {
2018-11-23 19:31:20 +00:00
"type" : "string" ,
"title" : "Name is a name for this role"
2018-08-15 19:54:24 +00:00
} ,
"policies" : {
"type" : "array" ,
2021-07-13 17:02:03 +00:00
"title" : "Policies Stores a list of casbin formatted strings that define access policies for the role in the project" ,
2018-08-15 19:54:24 +00:00
"items" : {
"type" : "string"
}
}
}
} ,
2019-10-17 00:17:47 +00:00
"v1alpha1RepoCreds" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "RepoCreds holds the definition for repository credentials" ,
2019-10-17 00:17:47 +00:00
"properties" : {
2021-04-19 20:17:26 +00:00
"enableOCI" : {
"type" : "boolean" ,
"title" : "EnableOCI specifies whether helm-oci support should be enabled for this repo"
} ,
2021-02-19 22:24:32 +00:00
"githubAppEnterpriseBaseUrl" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "GithubAppEnterpriseBaseURL specifies the GitHub API URL for GitHub app authentication. If empty will default to https://api.github.com"
2021-02-19 22:24:32 +00:00
} ,
"githubAppID" : {
"type" : "string" ,
"format" : "int64" ,
2021-03-02 18:24:51 +00:00
"title" : "GithubAppId specifies the Github App ID of the app used to access the repo for GitHub app authentication"
2021-02-19 22:24:32 +00:00
} ,
"githubAppInstallationID" : {
"type" : "string" ,
"format" : "int64" ,
2021-03-02 18:24:51 +00:00
"title" : "GithubAppInstallationId specifies the ID of the installed GitHub App for GitHub app authentication"
2021-02-19 22:24:32 +00:00
} ,
"githubAppPrivateKey" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "GithubAppPrivateKey specifies the private key PEM data for authentication via GitHub app"
2021-02-19 22:24:32 +00:00
} ,
2019-10-17 00:17:47 +00:00
"password" : {
"type" : "string" ,
"title" : "Password for authenticating at the repo server"
} ,
"sshPrivateKey" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "SSHPrivateKey contains the private key data for authenticating at the repo server using SSH (only Git repos)"
2019-10-17 00:17:47 +00:00
} ,
"tlsClientCertData" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "TLSClientCertData specifies the TLS client cert data for authenticating at the repo server"
2019-10-17 00:17:47 +00:00
} ,
"tlsClientCertKey" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "TLSClientCertKey specifies the TLS client cert key for authenticating at the repo server"
2019-10-17 00:17:47 +00:00
} ,
2021-04-19 20:17:26 +00:00
"type" : {
"description" : "Type specifies the type of the repoCreds. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent." ,
"type" : "string"
} ,
2019-10-17 00:17:47 +00:00
"url" : {
"type" : "string" ,
"title" : "URL is the URL that this credentials matches to"
} ,
"username" : {
"type" : "string" ,
"title" : "Username for authenticating at the repo server"
}
}
} ,
"v1alpha1RepoCredsList" : {
"description" : "RepositoryList is a collection of Repositories." ,
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1RepoCreds"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1Repository" : {
"type" : "object" ,
2019-09-06 22:37:25 +00:00
"title" : "Repository is a repository holding application configurations" ,
2018-06-25 20:49:38 +00:00
"properties" : {
"connectionState" : {
"$ref" : "#/definitions/v1alpha1ConnectionState"
} ,
2019-07-18 19:49:49 +00:00
"enableLfs" : {
2021-03-02 18:24:51 +00:00
"description" : "EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories." ,
"type" : "boolean"
2019-07-18 19:49:49 +00:00
} ,
2020-10-27 22:37:42 +00:00
"enableOCI" : {
"type" : "boolean" ,
2021-03-02 18:24:51 +00:00
"title" : "EnableOCI specifies whether helm-oci support should be enabled for this repo"
2020-10-27 22:37:42 +00:00
} ,
2021-02-19 22:24:32 +00:00
"githubAppEnterpriseBaseUrl" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "GithubAppEnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com"
2021-02-19 22:24:32 +00:00
} ,
"githubAppID" : {
"type" : "string" ,
"format" : "int64" ,
2021-03-02 18:24:51 +00:00
"title" : "GithubAppId specifies the ID of the GitHub app used to access the repo"
2021-02-19 22:24:32 +00:00
} ,
"githubAppInstallationID" : {
"type" : "string" ,
"format" : "int64" ,
2021-03-02 18:24:51 +00:00
"title" : "GithubAppInstallationId specifies the installation ID of the GitHub App used to access the repo"
2021-02-19 22:24:32 +00:00
} ,
"githubAppPrivateKey" : {
"type" : "string" ,
"title" : "Github App Private Key PEM data"
} ,
2019-10-17 00:17:47 +00:00
"inheritedCreds" : {
"type" : "boolean" ,
"title" : "Whether credentials were inherited from a credential set"
} ,
2019-07-11 23:00:47 +00:00
"insecure" : {
"type" : "boolean" ,
2021-03-02 18:24:51 +00:00
"title" : "Insecure specifies whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys"
2019-07-11 23:00:47 +00:00
} ,
2019-03-15 21:29:10 +00:00
"insecureIgnoreHostKey" : {
"type" : "boolean" ,
2021-03-02 18:24:51 +00:00
"title" : "InsecureIgnoreHostKey should not be used anymore, Insecure is favoured\nUsed only for Git repos"
2019-09-06 22:37:25 +00:00
} ,
"name" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Name specifies a name to be used for this repo. Only used with Helm repos"
2019-03-15 21:29:10 +00:00
} ,
2018-06-25 20:49:38 +00:00
"password" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Password contains the password or PAT used for authenticating at the remote repository"
2018-06-25 20:49:38 +00:00
} ,
2021-08-16 16:38:37 +00:00
"project" : {
"type" : "string" ,
"title" : "Reference between project and repository that allow you automatically to be added as item inside SourceRepos project entity"
} ,
2021-06-16 12:45:10 +00:00
"proxy" : {
"type" : "string" ,
"title" : "Proxy specifies the HTTP/HTTPS proxy used to access the repo"
} ,
2018-06-25 20:49:38 +00:00
"repo" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Repo contains the URL to the remote repository"
2018-06-25 20:49:38 +00:00
} ,
"sshPrivateKey" : {
2021-03-02 18:24:51 +00:00
"description" : "SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos." ,
"type" : "string"
2019-09-06 22:37:25 +00:00
} ,
2019-07-25 00:25:27 +00:00
"tlsClientCertData" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "TLSClientCertData contains a certificate in PEM format for authenticating at the repo server"
2019-07-25 00:25:27 +00:00
} ,
"tlsClientCertKey" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "TLSClientCertKey contains a private key in PEM format for authenticating at the repo server"
2019-07-25 00:25:27 +00:00
} ,
2019-09-06 22:37:25 +00:00
"type" : {
2021-03-02 18:24:51 +00:00
"description" : "Type specifies the type of the repo. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent." ,
"type" : "string"
2019-09-06 22:37:25 +00:00
} ,
2018-06-25 20:49:38 +00:00
"username" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Username contains the user name used for authenticating at the remote repository"
2019-07-11 23:00:47 +00:00
}
}
} ,
"v1alpha1RepositoryCertificate" : {
"type" : "object" ,
"title" : "A RepositoryCertificate is either SSH known hosts entry or TLS certificate" ,
"properties" : {
2019-08-01 17:09:15 +00:00
"certData" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
"format" : "byte" ,
2021-03-02 18:24:51 +00:00
"title" : "CertData contains the actual certificate data, dependent on the certificate type"
2019-07-11 23:00:47 +00:00
} ,
2019-08-01 17:09:15 +00:00
"certInfo" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "CertInfo will hold additional certificate info, depdendent on the certificate type (e.g. SSH fingerprint, X509 CommonName)"
2019-07-11 23:00:47 +00:00
} ,
2019-08-01 17:09:15 +00:00
"certSubType" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "CertSubType specifies the sub type of the cert, i.e. \"ssh-rsa\""
2019-07-11 23:00:47 +00:00
} ,
2019-08-01 17:09:15 +00:00
"certType" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "CertType specifies the type of the certificate - currently one of \"https\" or \"ssh\""
2019-07-11 23:00:47 +00:00
} ,
2019-08-01 17:09:15 +00:00
"serverName" : {
2019-07-11 23:00:47 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "ServerName specifies the DNS name of the server this certificate is intended for"
2019-07-11 23:00:47 +00:00
}
}
} ,
"v1alpha1RepositoryCertificateList" : {
"type" : "object" ,
"title" : "RepositoryCertificateList is a collection of RepositoryCertificates" ,
"properties" : {
"items" : {
"type" : "array" ,
"title" : "List of certificates to be processed" ,
"items" : {
"$ref" : "#/definitions/v1alpha1RepositoryCertificate"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
2018-06-25 20:49:38 +00:00
}
}
} ,
"v1alpha1RepositoryList" : {
"description" : "RepositoryList is a collection of Repositories." ,
"type" : "object" ,
"properties" : {
"items" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1Repository"
}
} ,
"metadata" : {
"$ref" : "#/definitions/v1ListMeta"
}
}
} ,
2019-04-16 21:50:44 +00:00
"v1alpha1ResourceAction" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "TODO: describe this type\nTODO: describe members of this type" ,
2019-04-16 21:50:44 +00:00
"properties" : {
2019-10-11 03:34:40 +00:00
"disabled" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-10-04 00:11:42 +00:00
} ,
2019-04-16 21:50:44 +00:00
"name" : {
"type" : "string"
} ,
"params" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceActionParam"
}
}
}
} ,
"v1alpha1ResourceActionParam" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "TODO: describe this type\nTODO: describe members of this type" ,
2019-04-16 21:50:44 +00:00
"properties" : {
"default" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"type" : {
"type" : "string"
} ,
"value" : {
"type" : "string"
}
}
} ,
2018-12-04 01:39:55 +00:00
"v1alpha1ResourceDiff" : {
2018-06-25 20:49:38 +00:00
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ResourceDiff holds the diff of a live and target resource object\nTODO: describe members of this type" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2018-12-04 01:39:55 +00:00
"diff" : {
2019-12-26 22:42:56 +00:00
"type" : "string" ,
"title" : "Diff contains the JSON patch between target and live resource\nDeprecated: use NormalizedLiveState and PredictedLiveState to render the difference"
2018-12-04 01:39:55 +00:00
} ,
2018-12-03 18:27:43 +00:00
"group" : {
"type" : "string"
} ,
2019-08-26 20:50:19 +00:00
"hook" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-08-26 20:50:19 +00:00
} ,
2018-06-25 20:49:38 +00:00
"kind" : {
"type" : "string"
} ,
2018-12-04 01:39:55 +00:00
"liveState" : {
2019-12-26 22:42:56 +00:00
"type" : "string" ,
"title" : "TargetState contains the JSON live resource manifest"
2018-06-25 20:49:38 +00:00
} ,
2021-01-28 00:13:29 +00:00
"modified" : {
"type" : "boolean"
} ,
2018-06-25 20:49:38 +00:00
"name" : {
"type" : "string"
} ,
"namespace" : {
"type" : "string"
} ,
2019-12-26 22:42:56 +00:00
"normalizedLiveState" : {
"type" : "string" ,
"title" : "NormalizedLiveState contains JSON serialized live resource state with applied normalizations"
} ,
"predictedLiveState" : {
"type" : "string" ,
"title" : "PredictedLiveState contains JSON serialized resource state that is calculated based on normalized and target resource state"
} ,
2021-01-28 00:13:29 +00:00
"resourceVersion" : {
"type" : "string"
} ,
2018-12-04 01:39:55 +00:00
"targetState" : {
2019-12-26 22:42:56 +00:00
"type" : "string" ,
"title" : "TargetState contains the JSON serialized resource manifest defined in the Git/Helm"
2019-02-22 21:19:10 +00:00
}
}
} ,
"v1alpha1ResourceIgnoreDifferences" : {
"description" : "ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state." ,
"type" : "object" ,
"properties" : {
"group" : {
"type" : "string"
} ,
2021-06-04 05:06:55 +00:00
"jqPathExpressions" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
2019-02-22 21:19:10 +00:00
"jsonPointers" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"kind" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"namespace" : {
"type" : "string"
2018-06-25 20:49:38 +00:00
}
}
} ,
2019-03-30 03:59:25 +00:00
"v1alpha1ResourceNetworkingInfo" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ResourceNetworkingInfo holds networking resource related information\nTODO: describe members of this type" ,
2019-03-30 03:59:25 +00:00
"properties" : {
2019-04-23 17:34:53 +00:00
"externalURLs" : {
"description" : "ExternalURLs holds list of URLs which should be available externally. List is populated for ingress resources using rules hostnames." ,
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
2019-04-02 15:48:34 +00:00
"ingress" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1LoadBalancerIngress"
}
} ,
2019-03-30 03:59:25 +00:00
"labels" : {
"type" : "object" ,
"additionalProperties" : {
"type" : "string"
}
} ,
"targetLabels" : {
"type" : "object" ,
"additionalProperties" : {
"type" : "string"
}
} ,
2019-04-07 00:18:00 +00:00
"targetRefs" : {
2019-03-30 03:59:25 +00:00
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1ResourceRef"
}
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1ResourceNode" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ResourceNode contains information about live resource and its children\nTODO: describe members of this type" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2020-07-14 14:54:00 +00:00
"createdAt" : {
"$ref" : "#/definitions/v1Time"
} ,
2019-04-08 21:49:57 +00:00
"health" : {
"$ref" : "#/definitions/v1alpha1HealthStatus"
} ,
2019-04-03 22:11:48 +00:00
"images" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
2019-03-30 03:59:25 +00:00
"info" : {
2018-06-25 20:49:38 +00:00
"type" : "array" ,
"items" : {
2019-03-30 03:59:25 +00:00
"$ref" : "#/definitions/v1alpha1InfoItem"
2018-06-25 20:49:38 +00:00
}
} ,
2019-03-30 03:59:25 +00:00
"networkingInfo" : {
"$ref" : "#/definitions/v1alpha1ResourceNetworkingInfo"
2018-11-28 21:38:02 +00:00
} ,
2019-03-30 03:59:25 +00:00
"parentRefs" : {
2018-12-12 21:16:55 +00:00
"type" : "array" ,
"items" : {
2019-03-30 03:59:25 +00:00
"$ref" : "#/definitions/v1alpha1ResourceRef"
2018-12-12 21:16:55 +00:00
}
} ,
2019-03-30 03:59:25 +00:00
"resourceRef" : {
"$ref" : "#/definitions/v1alpha1ResourceRef"
} ,
"resourceVersion" : {
"type" : "string"
}
}
} ,
2019-04-02 20:59:55 +00:00
"v1alpha1ResourceOverride" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ResourceOverride holds configuration to customize resource diffing and health assessment\nTODO: describe the members of this type" ,
2019-04-02 20:59:55 +00:00
"properties" : {
2019-04-16 21:50:44 +00:00
"actions" : {
2019-04-19 17:27:12 +00:00
"type" : "string"
2019-04-16 21:50:44 +00:00
} ,
2019-04-02 20:59:55 +00:00
"healthLua" : {
"type" : "string"
} ,
"ignoreDifferences" : {
2020-07-03 06:28:36 +00:00
"$ref" : "#/definitions/v1alpha1OverrideIgnoreDiff"
2020-04-06 19:13:50 +00:00
} ,
"knownTypeFields" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1alpha1KnownTypeField"
}
2021-05-04 06:25:51 +00:00
} ,
"useOpenLibs" : {
"type" : "boolean"
2019-04-02 20:59:55 +00:00
}
}
} ,
2019-03-30 03:59:25 +00:00
"v1alpha1ResourceRef" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ResourceRef includes fields which uniquely identify a resource" ,
2019-03-30 03:59:25 +00:00
"properties" : {
"group" : {
"type" : "string"
} ,
2018-11-28 21:38:02 +00:00
"kind" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"namespace" : {
"type" : "string"
} ,
2019-05-13 22:56:40 +00:00
"uid" : {
"type" : "string"
} ,
2018-11-28 21:38:02 +00:00
"version" : {
2018-06-25 20:49:38 +00:00
"type" : "string"
}
}
} ,
2018-12-04 01:39:55 +00:00
"v1alpha1ResourceResult" : {
2018-06-25 20:49:38 +00:00
"type" : "object" ,
2018-12-04 01:39:55 +00:00
"title" : "ResourceResult holds the operation result details of a specific resource" ,
2018-06-25 20:49:38 +00:00
"properties" : {
2018-12-04 01:39:55 +00:00
"group" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Group specifies the API group of the resource"
2018-06-25 20:49:38 +00:00
} ,
2018-12-04 01:39:55 +00:00
"hookPhase" : {
2021-03-02 18:24:51 +00:00
"description" : "HookPhase contains the state of any operation associated with this resource OR hook\nThis can also contain values for non-hook resources." ,
"type" : "string"
2018-12-04 01:39:55 +00:00
} ,
"hookType" : {
2019-06-05 01:17:41 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "HookType specifies the type of the hook. Empty for non-hook resources"
2018-11-28 21:38:02 +00:00
} ,
"kind" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Kind specifies the API kind of the resource"
2018-06-25 20:49:38 +00:00
} ,
2018-12-04 01:39:55 +00:00
"message" : {
2019-06-05 01:17:41 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Message contains an informational or error message for the last sync OR operation"
2018-06-25 20:49:38 +00:00
} ,
2018-11-28 21:38:02 +00:00
"name" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Name specifies the name of the resource"
2018-11-28 21:38:02 +00:00
} ,
"namespace" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Namespace specifies the target namespace of the resource"
2018-06-25 20:49:38 +00:00
} ,
2018-12-04 01:39:55 +00:00
"status" : {
2019-06-05 01:17:41 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Status holds the final result of the sync. Will be empty if the resources is yet to be applied/pruned and is always zero-value for hooks"
2019-06-05 01:17:41 +00:00
} ,
"syncPhase" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "SyncPhase indicates the particular phase of the sync that this result was acquired in"
2018-12-04 01:39:55 +00:00
} ,
"version" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Version specifies the API version of the resource"
2018-06-25 20:49:38 +00:00
}
}
} ,
2018-12-04 01:39:55 +00:00
"v1alpha1ResourceStatus" : {
2018-11-17 01:10:04 +00:00
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "ResourceStatus holds the current sync and health status of a resource\nTODO: describe members of this type" ,
2018-11-17 01:10:04 +00:00
"properties" : {
"group" : {
"type" : "string"
} ,
"health" : {
"$ref" : "#/definitions/v1alpha1HealthStatus"
} ,
2018-12-03 18:27:43 +00:00
"hook" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-12-03 18:27:43 +00:00
} ,
2018-11-17 01:10:04 +00:00
"kind" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
2018-11-28 21:38:02 +00:00
"namespace" : {
"type" : "string"
} ,
2019-07-10 23:56:52 +00:00
"requiresPruning" : {
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2019-07-02 16:43:29 +00:00
} ,
2018-11-17 01:10:04 +00:00
"status" : {
"type" : "string"
} ,
"version" : {
"type" : "string"
}
}
} ,
2020-07-28 17:14:17 +00:00
"v1alpha1RetryStrategy" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "RetryStrategy contains information about the strategy to apply when a sync failed" ,
2020-07-28 17:14:17 +00:00
"properties" : {
"backoff" : {
"$ref" : "#/definitions/v1alpha1Backoff"
} ,
"limit" : {
2021-03-02 18:24:51 +00:00
"description" : "Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed." ,
2020-07-28 17:14:17 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"format" : "int64"
2020-07-28 17:14:17 +00:00
}
}
} ,
2018-12-04 10:52:57 +00:00
"v1alpha1RevisionHistory" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "RevisionHistory contains history information about a previous sync" ,
2018-12-04 10:52:57 +00:00
"properties" : {
2020-06-10 12:28:40 +00:00
"deployStartedAt" : {
"$ref" : "#/definitions/v1Time"
} ,
2018-12-04 10:52:57 +00:00
"deployedAt" : {
"$ref" : "#/definitions/v1Time"
} ,
"id" : {
"type" : "string" ,
2020-06-10 12:28:40 +00:00
"format" : "int64" ,
"title" : "ID is an auto incrementing identifier of the RevisionHistory"
2018-12-04 10:52:57 +00:00
} ,
"revision" : {
2020-06-10 12:28:40 +00:00
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Revision holds the revision the sync was performed against"
2019-03-04 08:56:36 +00:00
} ,
"source" : {
"$ref" : "#/definitions/v1alpha1ApplicationSource"
2018-12-04 10:52:57 +00:00
}
}
} ,
2019-06-21 22:51:48 +00:00
"v1alpha1RevisionMetadata" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "RevisionMetadata contains metadata for a specific revision in a Git repository" ,
2019-06-21 22:51:48 +00:00
"properties" : {
"author" : {
"type" : "string" ,
"title" : "who authored this revision,\ntypically their name and email, e.g. \"John Doe <john_doe@my-company.com>\",\nbut might not match this example"
} ,
"date" : {
"$ref" : "#/definitions/v1Time"
} ,
"message" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Message contains the message associated with the revision, most likely the commit message.\nThe message is truncated to the first newline or 64 characters (which ever comes first)"
2019-06-21 22:51:48 +00:00
} ,
2020-06-22 16:21:53 +00:00
"signatureInfo" : {
2021-03-02 18:24:51 +00:00
"description" : "SignatureInfo contains a hint on the signer if the revision was signed with GPG, and signature verification is enabled." ,
"type" : "string"
2020-06-22 16:21:53 +00:00
} ,
2019-06-21 22:51:48 +00:00
"tags" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Tags specifies any tags currently attached to the revision\nFloating tags can move from one revision to another" ,
2019-06-21 22:51:48 +00:00
"items" : {
"type" : "string"
}
}
}
} ,
2020-06-22 16:21:53 +00:00
"v1alpha1SignatureKey" : {
"type" : "object" ,
"title" : "SignatureKey is the specification of a key required to verify commit signatures with" ,
"properties" : {
"keyID" : {
"type" : "string" ,
"title" : "The ID of the key in hexadecimal notation"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1SyncOperation" : {
2021-03-02 18:24:51 +00:00
"description" : "SyncOperation contains details about a sync operation." ,
2018-06-25 20:49:38 +00:00
"type" : "object" ,
"properties" : {
"dryRun" : {
"type" : "boolean" ,
2021-03-02 18:24:51 +00:00
"title" : "DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync"
2018-06-25 20:49:38 +00:00
} ,
2019-06-18 02:09:43 +00:00
"manifests" : {
"type" : "array" ,
"title" : "Manifests is an optional field that overrides sync source with a local directory for development" ,
"items" : {
"type" : "string"
}
} ,
2018-06-25 20:49:38 +00:00
"prune" : {
"type" : "boolean" ,
2021-03-02 18:24:51 +00:00
"title" : "Prune specifies to delete resources from the cluster that are no longer tracked in git"
2018-06-25 20:49:38 +00:00
} ,
2018-10-10 17:12:20 +00:00
"resources" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Resources describes which resources shall be part of the sync" ,
2018-10-10 17:12:20 +00:00
"items" : {
"$ref" : "#/definitions/v1alpha1SyncOperationResource"
}
} ,
2018-06-25 20:49:38 +00:00
"revision" : {
2021-03-02 18:24:51 +00:00
"description" : "Revision is the revision (Git) or chart version (Helm) which to sync the application to\nIf omitted, will use the revision specified in app spec." ,
2018-09-11 21:28:53 +00:00
"type" : "string"
2018-07-07 07:54:06 +00:00
} ,
2019-03-04 08:56:36 +00:00
"source" : {
"$ref" : "#/definitions/v1alpha1ApplicationSource"
} ,
2020-02-10 22:09:25 +00:00
"syncOptions" : {
"type" : "array" ,
"title" : "SyncOptions provide per-sync sync-options, e.g. Validate=false" ,
"items" : {
"type" : "string"
}
} ,
2018-07-07 07:54:06 +00:00
"syncStrategy" : {
"$ref" : "#/definitions/v1alpha1SyncStrategy"
2018-06-25 20:49:38 +00:00
}
}
} ,
2018-10-10 17:12:20 +00:00
"v1alpha1SyncOperationResource" : {
"description" : "SyncOperationResource contains resources to sync." ,
"type" : "object" ,
"properties" : {
"group" : {
"type" : "string"
} ,
"kind" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
2020-06-08 22:59:59 +00:00
} ,
"namespace" : {
"type" : "string"
2018-10-10 17:12:20 +00:00
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1SyncOperationResult" : {
"type" : "object" ,
"title" : "SyncOperationResult represent result of sync operation" ,
"properties" : {
"resources" : {
"type" : "array" ,
2021-03-02 18:24:51 +00:00
"title" : "Resources contains a list of sync result items for each individual resource in a sync operation" ,
2018-06-25 20:49:38 +00:00
"items" : {
2018-12-04 01:39:55 +00:00
"$ref" : "#/definitions/v1alpha1ResourceResult"
2018-06-25 20:49:38 +00:00
}
2018-07-07 07:54:06 +00:00
} ,
"revision" : {
"type" : "string" ,
2021-03-02 18:24:51 +00:00
"title" : "Revision holds the revision this sync operation was performed to"
2019-03-04 08:56:36 +00:00
} ,
"source" : {
"$ref" : "#/definitions/v1alpha1ApplicationSource"
2018-07-07 07:54:06 +00:00
}
}
} ,
2018-09-11 21:28:53 +00:00
"v1alpha1SyncPolicy" : {
"type" : "object" ,
"title" : "SyncPolicy controls when a sync will be performed in response to updates in git" ,
"properties" : {
"automated" : {
"$ref" : "#/definitions/v1alpha1SyncPolicyAutomated"
2020-02-10 22:09:25 +00:00
} ,
2020-07-28 17:14:17 +00:00
"retry" : {
"$ref" : "#/definitions/v1alpha1RetryStrategy"
} ,
2020-02-10 22:09:25 +00:00
"syncOptions" : {
"type" : "array" ,
2020-05-27 17:22:13 +00:00
"title" : "Options allow you to specify whole app sync-options" ,
2020-02-10 22:09:25 +00:00
"items" : {
"type" : "string"
}
2018-09-11 21:28:53 +00:00
}
}
} ,
"v1alpha1SyncPolicyAutomated" : {
"type" : "object" ,
"title" : "SyncPolicyAutomated controls the behavior of an automated sync" ,
"properties" : {
2020-10-07 04:10:50 +00:00
"allowEmpty" : {
"type" : "boolean" ,
"title" : "AllowEmpty allows apps have zero live resources (default: false)"
} ,
2018-09-11 21:28:53 +00:00
"prune" : {
"type" : "boolean" ,
2021-03-02 18:24:51 +00:00
"title" : "Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)"
2019-07-25 02:26:09 +00:00
} ,
"selfHeal" : {
"type" : "boolean" ,
2021-03-02 18:24:51 +00:00
"title" : "SelfHeal specifes whether to revert resources back to their desired state upon modification in the cluster (default: false)"
2018-09-11 21:28:53 +00:00
}
}
} ,
2018-12-04 10:52:57 +00:00
"v1alpha1SyncStatus" : {
"type" : "object" ,
2021-03-02 18:24:51 +00:00
"title" : "SyncStatus contains information about the currently observed live and desired states of an application" ,
2018-12-04 10:52:57 +00:00
"properties" : {
"comparedTo" : {
2018-12-20 20:48:42 +00:00
"$ref" : "#/definitions/v1alpha1ComparedTo"
2018-12-04 10:52:57 +00:00
} ,
"revision" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Revision contains information about the revision the comparison has been performed to"
2018-12-04 10:52:57 +00:00
} ,
"status" : {
2021-03-02 18:24:51 +00:00
"type" : "string" ,
"title" : "Status is the sync state of the comparison"
2018-12-04 10:52:57 +00:00
}
}
} ,
2018-07-07 07:54:06 +00:00
"v1alpha1SyncStrategy" : {
"type" : "object" ,
2018-09-11 21:28:53 +00:00
"title" : "SyncStrategy controls the manner in which a sync is performed" ,
2018-07-07 07:54:06 +00:00
"properties" : {
"apply" : {
"$ref" : "#/definitions/v1alpha1SyncStrategyApply"
} ,
"hook" : {
"$ref" : "#/definitions/v1alpha1SyncStrategyHook"
}
}
} ,
"v1alpha1SyncStrategyApply" : {
"type" : "object" ,
"title" : "SyncStrategyApply uses `kubectl apply` to perform the apply" ,
"properties" : {
"force" : {
"description" : "Force indicates whether or not to supply the --force flag to `kubectl apply`.\nThe --force flag deletes and re-create the resource, when PATCH encounters conflict and has\nretried for 5 times." ,
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-07-07 07:54:06 +00:00
}
}
} ,
"v1alpha1SyncStrategyHook" : {
"description" : "SyncStrategyHook will perform a sync using hooks annotations.\nIf no hook annotation is specified falls back to `kubectl apply`." ,
"type" : "object" ,
"properties" : {
"syncStrategyApply" : {
"$ref" : "#/definitions/v1alpha1SyncStrategyApply"
2018-06-25 20:49:38 +00:00
}
}
} ,
2019-10-08 22:20:19 +00:00
"v1alpha1SyncWindow" : {
"type" : "object" ,
"title" : "SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps" ,
"properties" : {
"applications" : {
"type" : "array" ,
"title" : "Applications contains a list of applications that the window will apply to" ,
"items" : {
"type" : "string"
}
} ,
"clusters" : {
"type" : "array" ,
"title" : "Clusters contains a list of clusters that the window will apply to" ,
"items" : {
"type" : "string"
}
} ,
"duration" : {
"type" : "string" ,
"title" : "Duration is the amount of time the sync window will be open"
} ,
"kind" : {
"type" : "string" ,
"title" : "Kind defines if the window allows or blocks syncs"
} ,
"manualSync" : {
"type" : "boolean" ,
"title" : "ManualSync enables manual syncs when they would otherwise be blocked"
} ,
"namespaces" : {
"type" : "array" ,
"title" : "Namespaces contains a list of namespaces that the window will apply to" ,
"items" : {
"type" : "string"
}
} ,
"schedule" : {
"type" : "string" ,
"title" : "Schedule is the time the window will begin, specified in cron format"
}
}
} ,
2018-06-25 20:49:38 +00:00
"v1alpha1TLSClientConfig" : {
"type" : "object" ,
"title" : "TLSClientConfig contains settings to enable transport layer security" ,
"properties" : {
"caData" : {
"type" : "string" ,
"format" : "byte" ,
"title" : "CAData holds PEM-encoded bytes (typically read from a root certificates bundle).\nCAData takes precedence over CAFile"
} ,
"certData" : {
"type" : "string" ,
"format" : "byte" ,
"title" : "CertData holds PEM-encoded bytes (typically read from a client certificate file).\nCertData takes precedence over CertFile"
} ,
"insecure" : {
2021-03-02 18:24:51 +00:00
"description" : "Insecure specifies that the server should be accessed without verifying the TLS certificate. For testing only." ,
2020-12-09 19:33:54 +00:00
"type" : "boolean"
2018-06-25 20:49:38 +00:00
} ,
"keyData" : {
"type" : "string" ,
"format" : "byte" ,
"title" : "KeyData holds PEM-encoded bytes (typically read from a client certificate key file).\nKeyData takes precedence over KeyFile"
} ,
"serverName" : {
2018-11-28 21:38:02 +00:00
"description" : "ServerName is passed to the server for SNI and is used in the client to check server\ncertificates against. If ServerName is empty, the hostname used to contact the\nserver is used." ,
2018-06-25 20:49:38 +00:00
"type" : "string"
}
}
} ,
"versionVersionMessage" : {
"type" : "object" ,
2018-11-05 19:29:01 +00:00
"title" : "VersionMessage represents version of the Argo CD API server" ,
2018-06-25 20:49:38 +00:00
"properties" : {
"BuildDate" : {
"type" : "string"
} ,
"Compiler" : {
"type" : "string"
} ,
"GitCommit" : {
"type" : "string"
} ,
"GitTag" : {
"type" : "string"
} ,
"GitTreeState" : {
"type" : "string"
} ,
"GoVersion" : {
"type" : "string"
} ,
2019-10-04 00:07:56 +00:00
"HelmVersion" : {
"type" : "string"
} ,
2020-08-31 08:29:32 +00:00
"JsonnetVersion" : {
"type" : "string"
} ,
2018-07-24 23:37:12 +00:00
"KsonnetVersion" : {
"type" : "string"
} ,
2019-10-04 00:07:56 +00:00
"KubectlVersion" : {
"type" : "string"
} ,
"KustomizeVersion" : {
"type" : "string"
} ,
2018-06-25 20:49:38 +00:00
"Platform" : {
"type" : "string"
} ,
"Version" : {
"type" : "string"
}
}
}
}
}