gRPC API Documentation (Deprecated)
service/v1alpha1
Stability is not guaranteed.
AbortPromotionRequest
AbortPromotionRequest is the request for canceling a running promotion process.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the promotion. |
| name | string | name is the name of the promotion to abort. |
AbortPromotionResponse
AbortPromotionResponse is the response after aborting a promotion. explicitly empty
AbortVerificationRequest
AbortVerificationRequest is the request for canceling running verification processes for a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage. |
| stage | string | stage is the name of the stage whose verification should be aborted. |
AbortVerificationResponse
AbortVerificationResponse is the response after aborting verification. explicitly empty
AdminLoginRequest
AdminLoginRequest contains credentials for admin authentication.
| Field | Type | Description |
|---|---|---|
| password | string | password is the admin password. |
AdminLoginResponse
AdminLoginResponse contains the authentication token for admin access.
| Field | Type | Description |
|---|---|---|
| id_token | string | id_token is the JWT token for authenticated admin access. |
ApproveFreightRequest
ApproveFreightRequest is the request for approving freight for promotion to a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the freight. |
| name | string | name is the name of the freight to approve. |
| alias | string | alias is the alias of the freight to approve. |
| stage | string | stage is the name of the stage for which to approve the freight. |
ApproveFreightResponse
ApproveFreightResponse is the response after approving freight. explicitly empty
ArgoCDShard
ArgoCDShard represents configuration for a specific ArgoCD shard.
| Field | Type | Description |
|---|---|---|
| url | string | url is the base URL of the ArgoCD server. |
| namespace | string | namespace is the Kubernetes namespace where ArgoCD is installed. |
Claims
Claims represents a collection of OIDC claims.
| Field | Type | Description |
|---|---|---|
| claims | github.com.akuity.kargo.api.rbac.v1alpha1.Claim | Note: oneof and repeated do not work together claims is a list of OIDC claims. |
ComponentVersions
ComponentVersions contains version information for different Kargo components.
| Field | Type | Description |
|---|---|---|
| server | VersionInfo | server contains version information for the Kargo server. |
| cli | VersionInfo | cli contains version information for the Kargo CLI. |
CreateAPITokenRequest
CreateAPITokenRequest is a request to generate a new bearer token associated with a specified Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to create a token associated with a system-level Kargo Role virtual resource instead of one at the project-level. |
| project | string | project is the name of the project containing the Kargo Role virtual resource for which a new token is being created. This value is ignored if system_level is true. |
| role_name | string | role_name is the name of the Kargo Role virtual resource for which to generate a new bearer token. |
| name | string | name is the name for the bearer token to be created. |
CreateAPITokenResponse
CreateAPITokenResponse contains a newly generated bearer token in the form of a Kubernetes Secret.
| Field | Type | Description |
|---|---|---|
| token_secret | k8s.io.api.core.v1.Secret | token_secret is a Kubernetes Secret containing the token. |
CreateConfigMapRequest
CreateConfigMapRequest is the request for creating a project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to create a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project where the ConfigMap will be created. If empty and system_level is false, creates the ConfigMap in the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the ConfigMap to create. |
| description | string | description is a human-readable description of the ConfigMap. |
| data | CreateConfigMapRequest.DataEntry | data contains the key-value pairs that make up the ConfigMap. |
| replicate | bool | replicate, when true, replicates this ConfigMap to all Project namespaces by setting the kargo.akuity.io/replicate-to: "*" annotation. |
CreateConfigMapRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
CreateConfigMapResponse
CreateConfigMapResponse is the response containing the ConfigMap that was created.
| Field | Type | Description |
|---|---|---|
| config_map | k8s.io.api.core.v1.ConfigMap | config_map is the ConfigMap that was created. |
CreateGenericCredentialsRequest
CreateGenericCredentialsRequest is the request for creating new generic credentials within a project, shared namespace, or system namespace.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to create generic credentials in the system-level namespace instead of a project-level or shared namespace. |
| project | string | project is the name of the project where the generic credentials will be created. If empty and system_level is false, creates generic credentials in the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the generic credentials to create. |
| description | string | description is a human-readable description of the generic credentials. |
| data | CreateGenericCredentialsRequest.DataEntry | data contains the key-value pairs that make up the generic credentials data. |
| replicate | bool | replicate, when true, replicates these credentials to all Project namespaces by setting the kargo.akuity.io/replicate-to: "*" annotation. |
CreateGenericCredentialsRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
CreateGenericCredentialsResponse
CreateGenericCredentialsResponse contains the newly created generic credentials.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the created Kubernetes Secret containing generic credentials within the project. |
CreateOrUpdateResourceRequest
CreateOrUpdateResourceRequest contains Kubernetes resource manifests to be created or updated.
| Field | Type | Description |
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. |
CreateOrUpdateResourceResponse
CreateOrUpdateResourceResponse contains the results of creating or updating multiple resources.
| Field | Type | Description |
|---|---|---|
| results | CreateOrUpdateResourceResult | results contains the outcome for each resource create or update attempt. |
CreateOrUpdateResourceResult
CreateOrUpdateResourceResult represents the result of attempting to create or update a single resource.
| Field | Type | Description |
|---|---|---|
| created_resource_manifest | bytes | created_resource_manifest contains the newly created resource manifest. |
| updated_resource_manifest | bytes | updated_resource_manifest contains the updated existing resource manifest. |
| error | string | error contains the error message if the operation failed. |
CreateRepoCredentialsRequest
CreateRepoCredentialsRequest is the request for creating new credentials for accessing external repositories.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project where the credentials will be stored. |
| name | string | name is the name of the credentials. |
| description | string | description is a human-readable description of the credentials. |
| type | string | type specifies the credential type (git, helm, image). |
| repo_url | string | repo_url is the URL of the repository or registry these credentials apply to. |
| repo_url_is_regex | bool | repo_url_is_regex indicates whether repo_url should be treated as a regular expression. |
| username | string | username is the username for authentication. |
| password | string | password is the password or token for authentication. |
CreateRepoCredentialsResponse
CreateRepoCredentialsResponse contains the newly created repository credentials.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the created Kubernetes Secret containing the credentials. |
CreateResourceRequest
CreateResourceRequest contains Kubernetes resource manifests to be created.
| Field | Type | Description |
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. |
CreateResourceResponse
CreateResourceResponse contains the results of creating multiple resources.
| Field | Type | Description |
|---|---|---|
| results | CreateResourceResult | results contains the outcome for each resource creation attempt. |
CreateResourceResult
CreateResourceResult represents the result of attempting to create a single resource.
| Field | Type | Description |
|---|---|---|
| created_resource_manifest | bytes | created_resource_manifest contains the successfully created resource manifest. |
| error | string | error contains the error message if resource creation failed. |
CreateRoleRequest
CreateRoleRequest is a request to create a new Kargo Role virtual resource by creating its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role virtual resource to create. |
CreateRoleResponse
CreateRoleResponse contains the details of a newly created Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the newly created Kargo Role virtual resource. |
DeleteAPITokenRequest
DeleteAPITokenRequest is a request to delete a bearer token associated with a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to delete a token associated with a system-level Kargo Role virtual resource instead of one at the project-level. |
| project | string | project is the name of the project containing the token that is to be deleted. This value is ignored if system_level is true. |
| name | string | name is the name of the token to delete. |
DeleteAPITokenResponse
DeleteAPITokenResponse is the response returned after deleting a bearer token associated with a Kargo Role virtual resource. explicitly empty
DeleteAnalysisTemplateRequest
DeleteAnalysisTemplateRequest is the request for deleting an analysis template.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the analysis template. |
| name | string | name is the name of the analysis template to delete. |
DeleteAnalysisTemplateResponse
DeleteAnalysisTemplateResponse is the response returned after deleting an analysis template. explicitly empty
DeleteClusterAnalysisTemplateRequest
DeleteClusterAnalysisTemplateRequest is the request for deleting a cluster analysis template.
| Field | Type | Description |
|---|---|---|
| name | string | name is the name of the cluster analysis template to delete. |
DeleteClusterAnalysisTemplateResponse
DeleteClusterAnalysisTemplateResponse is the response returned after deleting a cluster analysis template. explicitly empty
DeleteClusterConfigRequest
explicitly empty
DeleteClusterConfigResponse
explicitly empty
DeleteConfigMapRequest
DeleteConfigMapRequest is the request for deleting a project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to delete a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project in which to delete a ConfigMap. If empty and system_level is false, deletes a shared ConfigMap. This value is ignored if system_level is true. |
| name | string | name is the name of the ConfigMap to delete. |
DeleteConfigMapResponse
DeleteConfigMapResponse is the response returned after deleting a ConfigMap. explicitly empty
DeleteFreightRequest
DeleteFreightRequest is the request for deleting freight.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the freight. |
| name | string | name is the name of the freight to delete. |
| alias | string | alias is the alias of the freight to delete. |
DeleteFreightResponse
DeleteFreightResponse is the response after deleting freight. explicitly empty
DeleteGenericCredentialsRequest
DeleteGenericCredentialsRequest is the request for deleting generic credentials.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to delete generic credentials from the system-level namespace instead of a project-level or shared namespace. |
| project | string | project is the name of the project containing the generic credentials. If empty and system_level is false, deletes generic credentials from the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the generic credentials to delete. |
DeleteGenericCredentialsResponse
DeleteGenericCredentialsResponse is the response returned after deleting generic credentials. explicitly empty
DeleteProjectConfigRequest
DeleteProjectConfigRequest is the request for removing project-level configuration.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project to delete configuration for. |
DeleteProjectConfigResponse
DeleteProjectConfigResponse is the response after deleting project configuration. explicitly empty
DeleteProjectRequest
DeleteProjectRequest is the request for deleting a project and all associated resources.
| Field | Type | Description |
|---|---|---|
| name | string | name is the name of the project to delete. |
DeleteProjectResponse
DeleteProjectResponse is the response after deleting a project. explicitly empty
DeleteRepoCredentialsRequest
DeleteRepoCredentialsRequest is the request for deleting existing repository credentials.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the credentials. If project is left empty, it will default to the "shared resources" namespace. |
| name | string | name is the name of the credentials to delete. |
DeleteRepoCredentialsResponse
DeleteRepoCredentialsResponse is the response returned after deleting repository credentials. explicitly empty
DeleteResourceRequest
DeleteResourceRequest contains Kubernetes resource manifests to be deleted.
| Field | Type | Description |
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. |
DeleteResourceResponse
DeleteResourceResponse contains the results of deleting multiple resources.
| Field | Type | Description |
|---|---|---|
| results | DeleteResourceResult | results contains the outcome for each resource deletion attempt. |
DeleteResourceResult
DeleteResourceResult represents the result of attempting to delete a single resource.
| Field | Type | Description |
|---|---|---|
| deleted_resource_manifest | bytes | deleted_resource_manifest contains the successfully deleted resource manifest. |
| error | string | error contains the error message if resource deletion failed. |
DeleteRoleRequest
DeleteRoleRequest is a request to delete a Kargo Role virtual resource by deleting its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the Kargo Role to be deleted. |
| name | string | name is the name of the Kargo Role to deleted. |
DeleteRoleResponse
DeleteRoleResponse is the response returned after deleting a Kargo Role virtual resource. explicitly empty
DeleteStageRequest
DeleteStageRequest is the request for deleting a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage. |
| name | string | name is the name of the stage to delete. |
DeleteStageResponse
DeleteStageResponse is the response after deleting a stage. explicitly empty
DeleteWarehouseRequest
DeleteWarehouseRequest is the request for deleting a warehouse.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the warehouse. |
| name | string | name is the name of the warehouse to delete. |
DeleteWarehouseResponse
DeleteWarehouseResponse is the response after deleting a warehouse. explicitly empty
FreightList
FreightList contains a list of freight resources.
| Field | Type | Description |
|---|---|---|
| freight | github.com.akuity.kargo.api.v1alpha1.Freight | freight is the list of Freight resources. |
GetAPITokenRequest
GetAPITokenRequest is a request to retrieve details of a bearer token associated with a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is for a token associated with a system-level Kargo Role virtual resource instead of one at the project-level. |
| project | string | project is the name of the project containing the requested token. This value is ignored if system_level is true. |
| name | string | name is the name of the token to retrieve. |
| format | RawFormat | format specifies the format for raw resource representation. |
GetAPITokenResponse
GetAPITokenResponse contains contains the details of a bearer token associated with a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| token_secret | k8s.io.api.core.v1.Secret | token_secret is a Kubernetes Secrets containing a redacted token associated with a Kargo Role virtual resource. |
| raw | bytes | raw is a raw YAML or JSON representation of the requested resource. |
GetAnalysisRunLogsRequest
GetAnalysisRunLogsRequest is the request for retrieving logs from an analysis run.
| Field | Type | Description |
|---|---|---|
| namespace | string | namespace is the namespace containing the analysis run. |
| name | string | name is the name of the analysis run whose logs to retrieve. |
| metric_name | string | metric_name is the specific metric whose logs to retrieve. |
| container_name | string | container_name is the specific container whose logs to retrieve. |
GetAnalysisRunLogsResponse
GetAnalysisRunLogsResponse contains a chunk of logs from the analysis run.
| Field | Type | Description |
|---|---|---|
| chunk | string | chunk is a portion of the log output from the analysis run. |
GetAnalysisRunRequest
GetAnalysisRunRequest is the request for retrieving a specific analysis run.
| Field | Type | Description |
|---|---|---|
| namespace | string | namespace is the namespace containing the analysis run. |
| name | string | name is the name of the analysis run to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetAnalysisRunResponse
GetAnalysisRunResponse contains the requested analysis run information.
| Field | Type | Description |
|---|---|---|
| analysis_run | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.AnalysisRun | analysis_run is the structured AnalysisRun resource. |
| raw | bytes | raw is the raw YAML representation of the analysis run. |
GetAnalysisTemplateRequest
GetAnalysisTemplateRequest is the request for retrieving a specific analysis template.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the analysis template. |
| name | string | name is the name of the analysis template to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetAnalysisTemplateResponse
GetAnalysisTemplateResponse contains the requested analysis template information.
| Field | Type | Description |
|---|---|---|
| analysis_template | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.AnalysisTemplate | analysis_template is the structured AnalysisTemplate resource. |
| raw | bytes | raw is the raw YAML representation of the analysis template. |
GetClusterAnalysisTemplateRequest
GetClusterAnalysisTemplateRequest is the request for retrieving a specific cluster analysis template.
| Field | Type | Description |
|---|---|---|
| name | string | name is the name of the cluster analysis template to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetClusterAnalysisTemplateResponse
GetClusterAnalysisTemplateResponse contains the requested cluster analysis template information.
| Field | Type | Description |
|---|---|---|
| cluster_analysis_template | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.ClusterAnalysisTemplate | cluster_analysis_template is the structured ClusterAnalysisTemplate resource. |
| raw | bytes | raw is the raw YAML representation of the cluster analysis template. |
GetClusterConfigRequest
| Field | Type | Description |
|---|---|---|
| format | RawFormat |
GetClusterConfigResponse
| Field | Type | Description |
|---|---|---|
| cluster_config | github.com.akuity.kargo.api.v1alpha1.ClusterConfig | |
| raw | bytes |
GetClusterPromotionTaskRequest
GetClusterPromotionTaskRequest is the request for retrieving a specific cluster promotion task.
| Field | Type | Description |
|---|---|---|
| name | string | name is the name of the cluster promotion task to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetClusterPromotionTaskResponse
GetClusterPromotionTaskResponse contains the requested cluster promotion task information.
| Field | Type | Description |
|---|---|---|
| promotion_task | github.com.akuity.kargo.api.v1alpha1.ClusterPromotionTask | promotion_task is the structured ClusterPromotionTask resource. |
| raw | bytes | raw is the raw YAML representation of the cluster promotion task. |
GetConfigMapRequest
GetConfigMapRequest is the request for getting a specific project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to get a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project in which to get the ConfigMap. If empty and system_level is false, gets a shared ConfigMap. This value is ignored if system_level is true. |
| name | string | name is the name of the ConfigMap to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetConfigMapResponse
GetConfigMapResponse contains the requested ConfigMap.
| Field | Type | Description |
|---|---|---|
| config_map | k8s.io.api.core.v1.ConfigMap | config_map is the structured Kubernetes ConfigMap object. |
| raw | bytes | raw is the raw YAML representation of the ConfigMap. |
GetConfigRequest
GetConfigRequest is the request message for retrieving server configuration.
GetConfigResponse
GetConfigResponse contains server configuration information.
| Field | Type | Description |
|---|---|---|
| argocd_shards | GetConfigResponse.ArgocdShardsEntry | argocd_shards maps shard names to their ArgoCD configuration. |
| secret_management_enabled | bool | secret_management_enabled indicates if secret management features are available. |
| system_resources_namespace | string | system_resources_namespace is the namespace used for "cluster-scoped" system secrets. |
| has_analysis_run_logs_url_template | bool | has_analysis_run_logs_url_template indicates if an analysis run logs URL template is configured. |
GetConfigResponse.ArgocdShardsEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | ArgoCDShard |
GetFreightRequest
GetFreightRequest is the request for retrieving details of specific freight.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the freight. |
| name | string | name is the name of the freight to retrieve. |
| alias | string | alias is the alias of the freight to retrieve. |
| format | RawFormat | format specifies the format for raw resource representation. |
GetFreightResponse
GetFreightResponse contains the requested freight information.
| Field | Type | Description |
|---|---|---|
| freight | github.com.akuity.kargo.api.v1alpha1.Freight | freight contains the Freight resource in structured format. |
| raw | bytes | raw contains the Freight resource in the requested raw format. |
GetProjectConfigRequest
GetProjectConfigRequest is the request for retrieving project-level configuration settings.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project to retrieve configuration for. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetProjectConfigResponse
GetProjectConfigResponse contains the requested project configuration.
| Field | Type | Description |
|---|---|---|
| project_config | github.com.akuity.kargo.api.v1alpha1.ProjectConfig | project_config is the structured ProjectConfig object. |
| raw | bytes | raw is the raw YAML representation of the project configuration. |
GetProjectRequest
GetProjectRequest is the request for retrieving details of a specific project.
| Field | Type | Description |
|---|---|---|
| name | string | name is the name of the project to retrieve. |
| format | RawFormat | format specifies the format for raw resource representation. |
GetProjectResponse
GetProjectResponse contains the requested project information.
| Field | Type | Description |
|---|---|---|
| project | github.com.akuity.kargo.api.v1alpha1.Project | project contains the Project resource in structured format. |
| raw | bytes | raw contains the Project resource in the requested raw format. |
GetPromotionRequest
GetPromotionRequest is the request for retrieving details of a specific promotion.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the promotion. |
| name | string | name is the name of the promotion to retrieve. |
| format | RawFormat | format specifies the format for raw resource representation. |
GetPromotionResponse
GetPromotionResponse contains the requested promotion information.
| Field | Type | Description |
|---|---|---|
| promotion | github.com.akuity.kargo.api.v1alpha1.Promotion | promotion contains the Promotion resource in structured format. |
| raw | bytes | raw contains the Promotion resource in the requested raw format. |
GetPromotionTaskRequest
GetPromotionTaskRequest is the request for retrieving a specific promotion task.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the promotion task. |
| name | string | name is the name of the promotion task to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetPromotionTaskResponse
GetPromotionTaskResponse contains the requested promotion task information.
| Field | Type | Description |
|---|---|---|
| promotion_task | github.com.akuity.kargo.api.v1alpha1.PromotionTask | promotion_task is the structured PromotionTask resource. |
| raw | bytes | raw is the raw YAML representation of the promotion task. |
GetPublicConfigRequest
GetPublicConfigRequest is the request message for retrieving public configuration.
GetPublicConfigResponse
GetPublicConfigResponse contains publicly accessible configuration settings.
| Field | Type | Description |
|---|---|---|
| oidc_config | OIDCConfig | oidc_config contains OpenID Connect configuration for authentication. |
| admin_account_enabled | bool | admin_account_enabled indicates if admin account authentication is available. |
| skip_auth | bool | skip_auth indicates if authentication should be bypassed. |
GetRepoCredentialsRequest
GetRepoCredentialsRequest is the request for retrieving existing repository credentials.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the credentials. |
| name | string | name is the name of the credentials to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetRepoCredentialsResponse
GetRepoCredentialsResponse contains the requested repository credentials information.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the structured Kubernetes Secret containing the credentials. |
| raw | bytes | raw is the raw YAML representation of the credentials. |
GetRoleRequest
GetRoleRequest is a request to retrieve the details of a Kargo Role virtual resource or its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to retrieve a system-level role instead of a project-level one. |
| project | string | project is the name of the project containing the Kargo Role to be retrieved. |
| name | string | name is the name of the Kargo Role to retrieve. |
| as_resources | bool | as_resources indicates whether to return the Kargo Role's underlying Kubernetes resources instead of the Kargo Role virtual resource. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML or JSON). |
GetRoleResponse
GetRoleResponse contains the details of a Kargo Role virtual resource or its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is a structured Kargo Role virtual resource. |
| resources | github.com.akuity.kargo.api.rbac.v1alpha1.RoleResources | resources is a structured RoleResources object encapsulating the Kargo Role's underlying Kubernetes resources. |
| raw | bytes | raw is a raw YAML or JSON representation of the requested resource(s). |
GetStageRequest
GetStageRequest is the request for retrieving details of a specific stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage. |
| name | string | name is the name of the stage to retrieve. |
| format | RawFormat | format specifies the format for raw resource representation. |
GetStageResponse
GetStageResponse contains the requested stage information.
| Field | Type | Description |
|---|---|---|
| stage | github.com.akuity.kargo.api.v1alpha1.Stage | stage contains the Stage resource in structured format. |
| raw | bytes | raw contains the Stage resource in the requested raw format. |
GetVersionInfoRequest
GetVersionInfoRequest is the request message for retrieving version information.
GetVersionInfoResponse
GetVersionInfoResponse contains the server's version information.
| Field | Type | Description |
|---|---|---|
| version_info | VersionInfo | version_info contains detailed version and build information. |
GetWarehouseRequest
GetWarehouseRequest is the request for retrieving details of a specific warehouse.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the warehouse. |
| name | string | name is the name of the warehouse to retrieve. |
| format | RawFormat | format specifies the format for raw resource representation. |
GetWarehouseResponse
GetWarehouseResponse contains the requested warehouse information.
| Field | Type | Description |
|---|---|---|
| warehouse | github.com.akuity.kargo.api.v1alpha1.Warehouse | warehouse contains the Warehouse resource in structured format. |
| raw | bytes | raw contains the Warehouse resource in the requested raw format. |
GrantRequest
GrantRequest is a request to assign permissions to a Kargo Role virtual resource or to bind users having specific ODIC claims to a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the Kargo Role that is the subject of the grant. |
| role | string | role is the name of the Kargo Role that is the subject of the grant. |
| user_claims | Claims | user_claims are OIDC claims to which the Kargo Role should be mapped. |
| resource_details | github.com.akuity.kargo.api.rbac.v1alpha1.ResourceDetails | resource_details are the details of permissions to be granted to the Kargo Role. |
GrantResponse
GrantResponse contains the details of a Kargo Role virtual resource after a new grant.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role that was the subject of the grant. |
ImageStageMap
ImageStageMap represents the mapping of stages to the order in which an image was promoted.
| Field | Type | Description |
|---|---|---|
| stages | ImageStageMap.StagesEntry | stages maps stage names to the order in which an image was promoted to that stage. |
ImageStageMap.StagesEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | int32 |
ListAPITokensRequest
ListAPITokensRequest is a request to list bearer tokens associated with a specified Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether to list tokens associated with system-level Kargo Role virtual resources instead of ones at the project-level. |
| project | string | project is the name of the project containing the tokens. |
| role_name | string | role_name is the name of the Kargo Role virtual resource for which to list associated tokens. |
ListAPITokensResponse
ListAPITokensResponse contains a list of bearer tokens associated with a specified Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| token_secrets | k8s.io.api.core.v1.Secret | token_secrets is the list of Kubernetes Secrets containing redacted tokens associated with a Kargo Role virtual resource. |
ListAnalysisTemplatesRequest
ListAnalysisTemplatesRequest is the request for listing all analysis templates in a project.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose analysis templates will be listed. |
ListAnalysisTemplatesResponse
ListAnalysisTemplatesResponse contains a list of analysis templates for the specified project.
| Field | Type | Description |
|---|---|---|
| analysis_templates | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.AnalysisTemplate | analysis_templates is the list of AnalysisTemplate resources within the project. |
ListClusterAnalysisTemplatesRequest
ListClusterAnalysisTemplatesRequest is the request for listing all cluster-level analysis templates.
ListClusterAnalysisTemplatesResponse
ListClusterAnalysisTemplatesResponse contains a list of cluster-level analysis templates.
| Field | Type | Description |
|---|---|---|
| cluster_analysis_templates | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.ClusterAnalysisTemplate | cluster_analysis_templates is the list of ClusterAnalysisTemplate resources. |
ListClusterPromotionTasksRequest
ListClusterPromotionTasksRequest is the request for listing all cluster-level promotion tasks.
ListClusterPromotionTasksResponse
ListClusterPromotionTasksResponse contains a list of cluster-level promotion tasks.
| Field | Type | Description |
|---|---|---|
| cluster_promotion_tasks | github.com.akuity.kargo.api.v1alpha1.ClusterPromotionTask | cluster_promotion_tasks is the list of ClusterPromotionTask resources. |
ListConfigMapsRequest
ListConfigMapsRequest is the request for listing all project-level, system-level, or shared ConfigMaps.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to list system-level ConfigMaps instead of project-level or shared ones. |
| project | string | project is the name of the project in which to list ConfigMaps. If empty and system_level is false, lists shared ConfigMaps. This value is ignored if system_level is true. |
ListConfigMapsResponse
ListConfigMapsResponse contains the list of ConfigMaps.
| Field | Type | Description |
|---|---|---|
| config_maps | k8s.io.api.core.v1.ConfigMap | config_maps is the list of ConfigMaps. |
ListGenericCredentialsRequest
ListGenericCredentialsRequest is the request for listing all generic credentials in a project, shared namespace, or system namespace.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to list generic credentials from the system-level namespace instead of a project-level or shared namespace. |
| project | string | project is the name of the project whose generic credentials will be listed. If empty and system_level is false, lists generic credentials from the shared resources namespace. This value is ignored if system_level is true. |
ListGenericCredentialsResponse
ListGenericCredentialsResponse contains a list of generic credentials for the specified project.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the list of Kubernetes Secrets containing generic credentials within the project. |
ListImagesRequest
ListImagesRequest is the request for listing images and their usage across stages.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose images should be listed. |
ListImagesResponse
ListImagesResponse contains information about images and their usage across stages.
| Field | Type | Description |
|---|---|---|
| images | ListImagesResponse.ImagesEntry | images maps image repository names to their tags and stage usage information. |
ListImagesResponse.ImagesEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | TagMap |
ListProjectEventsRequest
ListProjectEventsRequest is the request for listing events in a project.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose events will be listed. |
ListProjectEventsResponse
ListProjectEventsResponse contains a list of events for the specified project.
| Field | Type | Description |
|---|---|---|
| events | k8s.io.api.core.v1.Event | events is the list of Kubernetes Events within the project. |
ListProjectsRequest
ListProjectsRequest is the request for listing all projects with optional filtering and pagination.
| Field | Type | Description |
|---|---|---|
| page_size | int32 | page_size specifies the maximum number of projects to return per page. |
| page | int32 | page specifies which page of results to return. |
| filter | string | filter specifies an optional filter expression for projects. |
| uid | string | ui store starred projects uids, so it needs to filter it when looking at starred projects |
| mine | bool | When true, filter results to only projects where the authenticated user has been mapped to a ServiceAccount in the project's namespace. |
ListProjectsResponse
ListProjectsResponse contains the list of projects and pagination information.
| Field | Type | Description |
|---|---|---|
| projects | github.com.akuity.kargo.api.v1alpha1.Project | projects is the list of Project resources matching the request criteria. |
| total | int32 | total is the total number of projects available (across all pages). |
ListPromotionTasksRequest
ListPromotionTasksRequest is the request for listing promotion tasks in a project.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose promotion tasks will be listed. |
ListPromotionTasksResponse
ListPromotionTasksResponse contains a list of promotion tasks for the specified project.
| Field | Type | Description |
|---|---|---|
| promotion_tasks | github.com.akuity.kargo.api.v1alpha1.PromotionTask | promotion_tasks is the list of PromotionTask resources within the project. |
ListPromotionsRequest
ListPromotionsRequest is the request for retrieving all promotions, optionally filtered by stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose promotions should be listed. |
| stage | string | stage is an optional stage name to filter promotions by. |
ListPromotionsResponse
ListPromotionsResponse contains a list of promotions within a project.
| Field | Type | Description |
|---|---|---|
| promotions | github.com.akuity.kargo.api.v1alpha1.Promotion | promotions is the list of Promotion resources found in the project. |
ListRepoCredentialsRequest
ListRepoCredentialsRequest is the request for listing all repository credentials in a project.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose credentials will be listed. |
ListRepoCredentialsResponse
ListRepoCredentialsResponse contains a list of repository credentials for the specified project.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the list of Kubernetes Secrets containing the credentials. |
ListRolesRequest
ListRolesRequests is a request to retrieve the details of all Kargo Role virtual resources or their underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to list system-level roles instead of project-level roles. |
| project | string | project is the name of the project for which to list all Kargo Roles. |
| as_resources | bool | as_resources indicates whether to return each Kargo Role's underlying Kubernetes resources instead of the Kargo Role virtual resource(s). |
ListRolesResponse
ListRolesResponse contains a list of Kargo Role virtual resources or their underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| roles | github.com.akuity.kargo.api.rbac.v1alpha1.Role | Note: oneof and repeated do not work together roles is a list of Kargo Role virtual resources. |
| resources | github.com.akuity.kargo.api.rbac.v1alpha1.RoleResources | resources is a list of RoleResource objects encapsulating the Kargo Roles' underlying Kubernetes resources. |
ListStagesRequest
ListStagesRequest is the request for listing stages within a project.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose stages should be listed. |
| freight_origins | string | freight_origins is an optional list of Warehouse names to filter Stages by. When specified, only Stages that subscribe to at least one of the named Warehouses are returned. |
ListStagesResponse
ListStagesResponse contains a list of stages within a project.
| Field | Type | Description |
|---|---|---|
| stages | github.com.akuity.kargo.api.v1alpha1.Stage | stages is the list of Stage resources found in the project. |
ListWarehousesRequest
ListWarehousesRequest is the request for listing warehouses within a project.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose warehouses should be listed. |
ListWarehousesResponse
ListWarehousesResponse contains a list of warehouses within a project.
| Field | Type | Description |
|---|---|---|
| warehouses | github.com.akuity.kargo.api.v1alpha1.Warehouse | warehouses is the list of Warehouse resources found in the project. |
OIDCConfig
OIDCConfig contains OpenID Connect configuration for authentication.
| Field | Type | Description |
|---|---|---|
| issuer_url | string | issuer_url is the OIDC provider's issuer URL. |
| client_id | string | client_id is the OIDC client identifier for web applications. |
| scopes | string | scopes are the OIDC scopes to request during authentication. |
| cli_client_id | string | cli_client_id is the OIDC client identifier for CLI applications. |
PromoteDownstreamRequest
PromoteDownstreamRequest is the request for automatically promoting freight to downstream stages.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage and freight. |
| stage | string | stage is the name of the source stage from which to promote downstream. |
| freight | string | freight is the name of the freight to promote downstream. |
| freight_alias | string | freight_alias is the alias of the freight to promote downstream. |
PromoteDownstreamResponse
PromoteDownstreamResponse contains the promotions created for downstream freight promotions.
| Field | Type | Description |
|---|---|---|
| promotions | github.com.akuity.kargo.api.v1alpha1.Promotion | promotions are the Promotion resources created for downstream freight promotions. |
PromoteToStageRequest
PromoteToStageRequest is the request for promoting freight to a specific stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage and freight. |
| stage | string | stage is the name of the stage to promote freight to. |
| freight | string | freight is the name of the freight to promote. |
| freight_alias | string | freight_alias is the alias of the freight to promote. |
PromoteToStageResponse
PromoteToStageResponse contains the promotion created for the freight promotion.
| Field | Type | Description |
|---|---|---|
| promotion | github.com.akuity.kargo.api.v1alpha1.Promotion | promotion is the Promotion resource created for this freight promotion. |
QueryFreightRequest
QueryFreightRequest is the request for searching freight based on specified criteria.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project to search for freight. |
| stage | string | stage is the name of the stage to filter freight by. |
| group_by | string | group_by specifies how to group the freight results. |
| group | string | group specifies which group to return results for. |
| order_by | string | order_by specifies how to order the freight results. |
| reverse | bool | reverse indicates whether to reverse the order of results. |
| origins | string | origins filters freight by their origins (e.g., warehouse names). |
QueryFreightResponse
QueryFreightResponse contains the grouped freight search results.
| Field | Type | Description |
|---|---|---|
| groups | QueryFreightResponse.GroupsEntry | groups maps group names to their corresponding freight lists. |
QueryFreightResponse.GroupsEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | FreightList |
RefreshResourceRequest
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the object to refresh. leave blank if refreshing a cluster-config. |
| name | string | name is the name of the object to refresh. leave blank if refreshing a project or cluster config. |
| resource_type | string | resource_type is the kind of resource to refresh. should be one of: ProjectConfig, ClusterConfig, Warehouse, or Stage. |
RefreshResourceResponse
| Field | Type | Description |
|---|---|---|
| resource | google.protobuf.Any |
ReverifyRequest
ReverifyRequest is the request for triggering re-execution of verification processes for a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage. |
| stage | string | stage is the name of the stage to reverify. |
ReverifyResponse
ReverifyResponse is the response after triggering reverification. explicitly empty
RevokeRequest
RevokeRequest is a request to remove permissions from a Kargo Role virtual resource or to unbind users having specific OIDC claims from a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the Kargo Role that is the subject of the revocation. |
| role | string | role is the name of the Kargo Role that is the subject of the revocation. |
| user_claims | Claims | user_claims are OIDC claims from which the Kargo Role virtual resource will be unmapped. |
| resource_details | github.com.akuity.kargo.api.rbac.v1alpha1.ResourceDetails | resource_details are the details of permissions to be revoked from the Kargo Role. |
RevokeResponse
RevokeResponse contains the details of a Kargo Role virtual resource after a revocation.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role virtual resource that was the subject of the revocation. |
TagMap
TagMap represents the mapping of image tags to stages that have used them.
| Field | Type | Description |
|---|---|---|
| tags | TagMap.TagsEntry | tags maps image tag names to stages which have previously used that tag. |
TagMap.TagsEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | ImageStageMap |
UpdateConfigMapRequest
UpdateConfigMapRequest is the request for updating a project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to update a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project containing the ConfigMap to be updated. If empty and system_level is false, updates the ConfigMap in the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the ConfigMap to be updated. |
| description | string | description is a human-readable description of the ConfigMap. |
| data | UpdateConfigMapRequest.DataEntry | data contains the key-value pairs that make up the ConfigMap. |
| replicate | bool | replicate, when true, replicates this ConfigMap to all Project namespaces by setting the kargo.akuity.io/replicate-to: "*" annotation. |
UpdateConfigMapRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
UpdateConfigMapResponse
UpdateConfigMapResponse is the response containing the updated ConfigMap.
| Field | Type | Description |
|---|---|---|
| config_map | k8s.io.api.core.v1.ConfigMap | config_map is the updated ConfigMap. |
UpdateFreightAliasRequest
UpdateFreightAliasRequest is the request for updating a freight's alias.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the freight. |
| name | string | name is the name of the freight whose alias should be updated. |
| old_alias | string | old_alias is the current alias of the freight. |
| new_alias | string | new_alias is the new alias to assign to the freight. |
UpdateFreightAliasResponse
UpdateFreightAliasResponse is the response after updating a freight's alias. explicitly empty
UpdateGenericCredentialsRequest
UpdateGenericCredentialsRequest is the request for updating existing generic credentials.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to update generic credentials in the system-level namespace instead of a project-level or shared namespace. |
| project | string | project is the name of the project containing the generic credentials. If empty and system_level is false, updates generic credentials in the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the generic credentials to update. |
| description | string | description is a human-readable description of the generic credentials. |
| data | UpdateGenericCredentialsRequest.DataEntry | data contains the key-value pairs that make up the generic credentials data. |
| replicate | bool | replicate, when true, replicates these credentials to all Project namespaces by setting the kargo.akuity.io/replicate-to: "*" annotation. |
UpdateGenericCredentialsRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
UpdateGenericCredentialsResponse
UpdateGenericCredentialsResponse contains the updated generic credentials information.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the updated Kubernetes Secret containing generic credentials within the project. |
UpdateRepoCredentialsRequest
UpdateRepoCredentialsRequest is the request for updating existing repository credentials.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the credentials. |
| name | string | name is the name of the credentials to update. |
| description | string | description is a human-readable description of the credentials. |
| type | string | type specifies the credential type (git, helm, image). |
| repo_url | string | repo_url is the URL of the repository or registry these credentials apply to. |
| repo_url_is_regex | bool | repo_url_is_regex indicates whether repo_url should be treated as a regular expression. |
| username | string | username is the username for authentication. |
| password | string | password is the password or token for authentication. |
UpdateRepoCredentialsResponse
UpdateRepoCredentialsResponse contains the updated repository credentials information.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the updated Kubernetes Secret containing the credentials. |
UpdateResourceRequest
UpdateResourceRequest contains Kubernetes resource manifests to be updated.
| Field | Type | Description |
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. |
UpdateResourceResponse
UpdateResourceResponse contains the results of updating multiple resources.
| Field | Type | Description |
|---|---|---|
| results | UpdateResourceResult | results contains the outcome for each resource update attempt. |
UpdateResourceResult
UpdateResourceResult represents the result of attempting to update a single resource.
| Field | Type | Description |
|---|---|---|
| updated_resource_manifest | bytes | updated_resource_manifest contains the successfully updated resource manifest. |
| error | string | error contains the error message if resource update failed. |
UpdateRoleRequest
UpdateRoleRequest is a request to modify an existing Kargo Role virtual resource by updating its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role virtual resource to update. |
UpdateRoleResponse
UpdateRoleResponse contains the details of the updated Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the updated Kargo Role virtual resource. |
VersionInfo
VersionInfo contains detailed version and build information for a Kargo component.
| Field | Type | Description |
|---|---|---|
| version | string | version is the semantic version string. |
| git_commit | string | git_commit is the Git commit hash used for the build. |
| git_tree_dirty | bool | git_tree_dirty indicates whether the Git working tree was dirty during build. |
| build_time | google.protobuf.Timestamp | build_time is the timestamp when the build was created. |
| go_version | string | go_version is the Go version used for the build. |
| compiler | string | compiler is the compiler used for the build. |
| platform | string | platform is the target platform for the build. |
WatchClusterConfigRequest
explicitly empty
WatchClusterConfigResponse
| Field | Type | Description |
|---|---|---|
| cluster_config | github.com.akuity.kargo.api.v1alpha1.ClusterConfig | |
| type | string | ADDED / MODIFIED / DELETED |
WatchFreightRequest
WatchFreightRequest is the request for watching freight changes via streaming.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose freight should be watched. |
| origins | string | origins is an optional list of Warehouse names to filter Freight by. When specified, only events for Freight that originated from at least one of the named Warehouses are streamed. |
WatchFreightResponse
WatchFreightResponse contains freight change notifications.
| Field | Type | Description |
|---|---|---|
| freight | github.com.akuity.kargo.api.v1alpha1.Freight | freight is the Freight resource that changed. |
| type | string | type indicates the type of change (ADDED, MODIFIED, DELETED). ADDED / MODIFIED / DELETED |
WatchProjectConfigRequest
WatchProjectConfigRequest is the request for streaming project configuration changes.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project to watch for configuration changes. |
WatchProjectConfigResponse
WatchProjectConfigResponse provides streaming updates for project configuration changes.
| Field | Type | Description |
|---|---|---|
| project_config | github.com.akuity.kargo.api.v1alpha1.ProjectConfig | project_config is the updated ProjectConfig object. |
| type | string | type indicates the type of change (ADDED / MODIFIED / DELETED). |
WatchPromotionRequest
WatchPromotionRequest is the request for watching a specific promotion via streaming.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the promotion. |
| name | string | name is the name of the promotion to watch. |
WatchPromotionResponse
WatchPromotionResponse contains specific promotion change notifications.
| Field | Type | Description |
|---|---|---|
| promotion | github.com.akuity.kargo.api.v1alpha1.Promotion | promotion is the Promotion resource that changed. |
| type | string | type indicates the type of change (ADDED, MODIFIED, DELETED). |
WatchPromotionsRequest
WatchPromotionsRequest is the request for watching promotion changes via streaming.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose promotions should be watched. |
| stage | string | stage is an optional stage name to filter promotions by. |
WatchPromotionsResponse
WatchPromotionsResponse contains promotion change notifications.
| Field | Type | Description |
|---|---|---|
| promotion | github.com.akuity.kargo.api.v1alpha1.Promotion | promotion is the Promotion resource that changed. |
| type | string | type indicates the type of change (ADDED, MODIFIED, DELETED). |
WatchStagesRequest
WatchStagesRequest is the request for watching stage changes via streaming.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose stages should be watched. |
| name | string | name is the name of a specific stage to watch, if empty all stages in the project are watched. |
| freight_origins | string | freight_origins is an optional list of Warehouse names to filter Stages by. When specified, only events for Stages that subscribe to at least one of the named Warehouses are streamed. |
WatchStagesResponse
WatchStagesResponse contains stage change notifications.
| Field | Type | Description |
|---|---|---|
| stage | github.com.akuity.kargo.api.v1alpha1.Stage | stage is the Stage resource that changed. |
| type | string | type indicates the type of change (ADDED, MODIFIED, DELETED). |
WatchWarehousesRequest
WatchWarehousesRequest is the request for watching warehouse changes via streaming.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose warehouses should be watched. |
| name | string | name is the name of a specific warehouse to watch, if empty all warehouses in the project are watched. |
WatchWarehousesResponse
WatchWarehousesResponse contains warehouse change notifications.
| Field | Type | Description |
|---|---|---|
| warehouse | github.com.akuity.kargo.api.v1alpha1.Warehouse | warehouse is the Warehouse resource that changed. |
| type | string | type indicates the type of change (ADDED, MODIFIED, DELETED). |
RawFormat
RawFormat specifies the format for raw resource representation.
| Name | Number | Description |
|---|---|---|
| RAW_FORMAT_UNSPECIFIED | 0 | RAW_FORMAT_UNSPECIFIED indicates no specific format is requested. |
| RAW_FORMAT_JSON | 1 | RAW_FORMAT_JSON requests JSON format for raw resources. |
| RAW_FORMAT_YAML | 2 | RAW_FORMAT_YAML requests YAML format for raw resources. |
rbac/v1alpha1
Claim
| Field | Type | Description |
|---|---|---|
| name | string | |
| values | string |
ResourceDetails
| Field | Type | Description |
|---|---|---|
| resourceType | string | |
| resourceName | string | |
| verbs | string |
Role
| Field | Type | Description |
|---|---|---|
| metadata | k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta | |
| kargoManaged | bool | |
| claims | Claim | |
| rules | k8s.io.api.rbac.v1.PolicyRule |
RoleResources
| Field | Type | Description |
|---|---|---|
| metadata | k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta | |
| serviceAccount | k8s.io.api.core.v1.ServiceAccount | |
| roles | k8s.io.api.rbac.v1.Role | |
| clusterRoles | k8s.io.api.rbac.v1.ClusterRole | |
| roleBindings | k8s.io.api.rbac.v1.RoleBinding |
ServiceAccountReference
| Field | Type | Description |
|---|---|---|
| name | string | |
| namespace | string |
v1alpha1
AnalysisRunArgument
AnalysisRunArgument represents an argument to be added to an AnalysisRun.
| Field | Type | Description |
|---|---|---|
| name | string | Name is the name of the argument. |
| value | string | Value is the value of the argument. |
AnalysisRunMetadata
AnalysisRunMetadata contains optional metadata that should be applied to all AnalysisRuns.
| Field | Type | Description |
|---|---|---|
| labels | AnalysisRunMetadata.LabelsEntry | Additional labels to apply to an AnalysisRun. |
| annotations | AnalysisRunMetadata.AnnotationsEntry | Additional annotations to apply to an AnalysisRun. |
AnalysisRunMetadata.AnnotationsEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
AnalysisRunMetadata.LabelsEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
AnalysisRunReference
AnalysisRunReference is a reference to an AnalysisRun.
| Field | Type | Description |
|---|---|---|
| namespace | string | Namespace is the namespace of the AnalysisRun. |
| name | string | Name is the name of the AnalysisRun. |
| phase | string | Phase is the last observed phase of the AnalysisRun referenced by Name. |
AnalysisTemplateReference
AnalysisTemplateReference is a reference to an AnalysisTemplate.
| Field | Type | Description |
|---|---|---|
| name | string | Name is the name of the AnalysisTemplate in the same project/namespace as the Stage. |
| kind | string | Kind is the type of the AnalysisTemplate. Can be either AnalysisTemplate or ClusterAnalysisTemplate, default is AnalysisTemplate. |
ApprovedStage
ApprovedStage describes a Stage for which Freight has been (manually) approved.
| Field | Type | Description |
|---|---|---|
| approvedAt | k8s.io.apimachinery.pkg.apis.meta.v1.Time | ApprovedAt is the time at which the Freight was approved for the Stage. |
ArgoCDAppHealthStatus
ArgoCDAppHealthStatus describes the health of an ArgoCD Application.
| Field | Type | Description |
|---|---|---|
| status | string | |
| message | string |
ArgoCDAppStatus
ArgoCDAppStatus describes the current state of a single ArgoCD Application.
| Field | Type | Description |
|---|---|---|
| namespace | string | Namespace is the namespace of the ArgoCD Application. |
| name | string | Name is the name of the ArgoCD Application. |
| healthStatus | ArgoCDAppHealthStatus | HealthStatus is the health of the ArgoCD Application. |
| syncStatus | ArgoCDAppSyncStatus | SyncStatus is the sync status of the ArgoCD Application. |
ArgoCDAppSyncStatus
ArgoCDAppSyncStatus describes the sync status of an ArgoCD Application.
| Field | Type | Description |
|---|---|---|
| status | string | |
| revision | string | |
| revisions | string |
ArtifactReference
ArtifactReference is a reference to a specific version of an artifact.
| Field | Type | Description |
|---|---|---|
| artifactType | string | ArtifactType specifies the type of artifact this is. Often, but not always, it will be the media type (MIME type) of the artifact referenced by this ArtifactReference. |
| subscriptionName | string | SubscriptionName is the name of the Subscription that discovered this artifact. |
| version | string | Version identifies a specific revision of this artifact. |
| metadata | k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.JSON | Metadata is a JSON object containing a mostly opaque collection of artifact attributes. (It must be an object. It may not be a list or a scalar value.) "Mostly" because Kargo may understand how to interpret some documented, well-known, top-level keys. Those aside, this metadata is only understood by a corresponding Subscriber implementation that created it. +optional |
ArtifactoryWebhookReceiverConfig
ArtifactoryWebhookReceiverConfig describes a webhook receiver that is compatible with JFrog Artifactory payloads.
| Field | Type | Description |
|---|---|---|
| secretRef | k8s.io.api.core.v1.LocalObjectReference | SecretRef contains a reference to a Secret. For Project-scoped webhook receivers, the referenced Secret must be in the same namespace as the ProjectConfig. For cluster-scoped webhook receivers, the referenced Secret must be in the designated "system resources" namespace. The Secret's data map is expected to contain a secret-token key whose value is the shared secret used to authenticate the webhook requests sent by JFrog Artifactory. For more information please refer to the JFrog Artifactory documentation: https://jfrog.com/help/r/jfrog-platform-administration-documentation/webhooks |
| virtualRepoName | string | VirtualRepoName is the name of an Artifactory virtual repository. When unspecified, the Artifactory webhook receiver depends on the value of the webhook payload's data.repo_key field when inferring the URL of the repository from which the webhook originated, which will always be an Artifactory "local repository." In cases where a Warehouse subscribes to such a repository indirectly via a "virtual repository," there will be a discrepancy between the inferred (local) repository URL and the URL actually used by the subscription, which can prevent the receiver from identifying such a Warehouse as one in need of refreshing. When specified, the value of the VirtualRepoName field supersedes the value of the webhook payload's data.repo_key field to compensate for that discrepancy. In practice, when using virtual repositories, a separate Artifactory webhook receiver should be configured for each, but one such receiver can handle inbound webhooks from any number of local repositories that are aggregated by that virtual repository. For example, if a virtual repository proj-virtual aggregates container images from all of the proj Artifactory project's local image repositories, with a single webhook configured to post to a single receiver configured for the proj-virtual virtual repository, an image pushed to example.frog.io/proj-<local-repo-name>/<path>/image, will cause that receiver to refresh all Warehouses subscribed to example.frog.io/proj-virtual/<path>/image. +optional |
AutoPromotionHold
AutoPromotionHold is a value in the AutoPromotionHolds map. It records the details of the Promotion that established the hold.
| Field | Type | Description |
|---|---|---|
| freightName | string | FreightName is the name of the Freight selected when the hold was created. |
| origin | FreightOrigin | Origin describes the FreightOrigin pinned by this hold. It matches the enclosing map key. |
| promotionName | string | PromotionName is the name of the Promotion that established this hold. Stored here as a paper trail that survives Promotion garbage collection. |
| actor | string | Actor identifies the user who triggered the hold. |
| createdAt | k8s.io.apimachinery.pkg.apis.meta.v1.Time | CreatedAt is the creation timestamp of the Promotion that established this hold. |
AutoPromotionOptions
AutoPromotionOptions specifies options pertaining to auto-promotion.
| Field | Type | Description |
|---|---|---|
| selectionPolicy | string | SelectionPolicy specifies the rules for identifying new Freight that is eligible for auto-promotion to this Stage. This field is optional. When left unspecified, the field is implicitly treated as if its value were "NewestFreight". Accepted Values: - "NewestFreight": The newest Freight that is available to the Stage is eligible for auto-promotion. - "MatchUpstream": Only the Freight currently used immediately upstream from this Stage is eligible for auto-promotion. This policy may only be applied when the Stage has exactly one upstream Stage. |
AutoRollbackConfig
AutoRollbackConfig describes the conditions under which a Stage should automatically roll back to the last known-good (verified) Freight.
| Field | Type | Description |
|---|---|---|
| onPromotion | string | OnPromotion is the list of terminal Promotion phases that should trigger an automated rollback. Only Failed and Errored are accepted. Note that unsuccessful promotions (as opposed to unsuccessful verifications) may not necessarily indicate a problem with the Freight, since promotions might fail due to transient issues with the deployment itself (network, credential expirations, etc...). Defaults to []. +optional +listType=set |
| onVerification | string | OnVerification is the list of terminal verification phases that should trigger an automated rollback. Only Failed and Error are accepted (note: "Error", not "Errored" as in onPromotion). When absent or empty, defaults to [Failed]. +optional +listType=set |
AzureWebhookReceiverConfig
AzureWebhookReceiverConfig describes a webhook receiver that is compatible with Azure Container Registry (ACR) and Azure DevOps payloads.
| Field | Type | Description |
|---|---|---|
| secretRef | k8s.io.api.core.v1.LocalObjectReference | SecretRef contains a reference to a Secret. For Project-scoped webhook receivers, the referenced Secret must be in the same namespace as the ProjectConfig. For cluster-scoped webhook receivers, the referenced Secret must be in the designated "system resources" namespace. The Secret's data map is expected to contain a secret key whose value does NOT need to be shared directly with Azure when registering a webhook. It is used only by Kargo to create a complex, hard-to-guess URL, which implicitly serves as a shared secret. For more information about Azure webhooks, please refer to the Azure documentation: Azure Container Registry: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-repositories Azure DevOps: http://learn.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks?view=azure-devops |
BitbucketWebhookReceiverConfig
BitbucketWebhookReceiverConfig describes a webhook receiver that is compatible with Bitbucket payloads.
| Field | Type | Description |
|---|---|---|
| secretRef | k8s.io.api.core.v1.LocalObjectReference | SecretRef contains a reference to a Secret. For Project-scoped webhook receivers, the referenced Secret must be in the same namespace as the ProjectConfig. For cluster-scoped webhook receivers, the referenced Secret must be in the designated "system resources" namespace. The Secret's data map is expected to contain a secret key whose value is the shared secret used to authenticate the webhook requests sent by Bitbucket. For more information please refer to the Bitbucket documentation: https://support.atlassian.com/bitbucket-cloud/docs/manage-webhooks/ |
Chart
Chart describes a specific version of a Helm chart.
| Field | Type | Description |
|---|---|---|
| repoURL | string | RepoURL specifies the URL of a Helm chart repository. Classic chart repositories (using HTTP/S) can contain differently named charts. When this field points to such a repository, the Name field will specify the name of the chart within the repository. In the case of a repository within an OCI registry, the URL implicitly points to a specific chart and the Name field will be empty. |
| name | string | Name specifies the name of the chart. |
| version | string | Version specifies a particular version of the chart. |
ChartDiscoveryResult
ChartDiscoveryResult represents the result of a chart discovery operation for a ChartSubscription.
| Field | Type | Description |
|---|---|---|
| repoURL | string | RepoURL is the repository URL of the Helm chart, as specified in the ChartSubscription. |
| name | string | Name is the name of the Helm chart, as specified in the ChartSubscription. |
| semverConstraint | string | SemverConstraint is the constraint for which versions were discovered. This field is optional, and only populated if the ChartSubscription specifies a SemverConstraint. |
| versions | string | Versions is a list of versions discovered by the Warehouse for the ChartSubscription. An empty list indicates that the discovery operation was successful, but no versions matching the ChartSubscription criteria were found. +optional |
ChartSubscription
ChartSubscription defines a subscription to a Helm chart repository.
| Field | Type | Description |
|---|---|---|
| discoveryLimit | int64 | DiscoveryLimit is an optional limit on the number of chart versions that can be discovered for this subscription. The limit is applied after filtering charts based on the semverConstraint field. The upper limit for this field is 100. |
| insecureSkipTLSVerify | bool | InsecureSkipTLSVerify specifies whether certificate verification errors should be ignored when connecting to the repository. This should be enabled only with great caution. |
| name | string | Name specifies the name of a Helm chart to subscribe to within a classic chart repository specified by the repoURL field. This field is required when the repoURL field points to a classic chart repository and MUST otherwise be empty. |
| repoURL | string | RepoURL specifies the URL of a Helm chart repository. It may be a classic chart repository (using HTTP/S) OR a repository within an OCI registry. Classic chart repositories can contain differently named charts. When this field points to such a repository, the name field MUST also be used to specify the name of the desired chart within that repository. In the case of a repository within an OCI registry, the URL implicitly points to a specific chart and the name field MUST NOT be used. This field is required. |
| semverConstraint | string | SemverConstraint specifies constraints on what new chart versions are permissible. When left unspecified, there will be no constraints, which means the latest version of the chart will always be used. Care should be taken with leaving this field unspecified, as it can lead to the unanticipated rollout of breaking changes. |
ClusterConfig
ClusterConfig is a resource type that describes cluster-level Kargo configuration.
| Field | Type | Description |
|---|---|---|
| metadata | k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta | |
| spec | ClusterConfigSpec | Spec describes the configuration of a cluster. |
| status | ClusterConfigStatus | Status describes the current status of a ClusterConfig. |
ClusterConfigList
ClusterConfigList contains a list of ClusterConfigs.
| Field | Type | Description |
|---|---|---|
| metadata | k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta | |
| items | ClusterConfig |
ClusterConfigSpec
ClusterConfigSpec describes cluster-level Kargo configuration.
| Field | Type | Description |
|---|---|---|
| webhookReceivers | WebhookReceiverConfig | WebhookReceivers describes cluster-scoped webhook receivers used for processing events from various external platforms |
| gitClient | GitClientConfig | GitClient describes cluster-level configuration for Kargo's Git client, including committer identity and an optional signing key. If set, these values take precedence over any configuration provided at install time via the Helm chart. +optional |
| freightLinks | DeepLink | FreightLinks defines deep links shown when viewing any Freight resource across all projects in the cluster. Project-level FreightLinks defined in ProjectConfig are shown in addition to these. +optional |
| stageLinks | DeepLink | StageLinks defines deep links shown when viewing any Stage resource across all projects in the cluster. Project-level StageLinks defined in ProjectConfig are shown in addition to these. +optional |
ClusterConfigStatus
ClusterConfigStatus describes the current status of a ClusterConfig.
| Field | Type | Description |
|---|---|---|
| conditions | k8s.io.apimachinery.pkg.apis.meta.v1.Condition | Conditions contains the last observations of the ClusterConfig's current state. +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type |
| observedGeneration | int64 | ObservedGeneration represents the .metadata.generation that this ClusterConfig was reconciled against. |
| lastHandledRefresh | string | LastHandledRefresh holds the value of the most recent AnnotationKeyRefresh annotation that was handled by the controller. This field can be used to determine whether the request to refresh the resource has been handled. +optional |
| webhookReceivers | WebhookReceiverDetails | WebhookReceivers describes the status of cluster-scoped webhook receivers. |
ClusterPromotionTask
| Field | Type | Description |
|---|---|---|
| metadata | k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta | |
| spec | PromotionTaskSpec | Spec describes the desired transition of a specific Stage into a specific Freight. |
ClusterPromotionTaskList
ClusterPromotionTaskList contains a list of PromotionTasks.
| Field | Type | Description |
|---|---|---|
| metadata | k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta | |
| items | ClusterPromotionTask |
CurrentStage
CurrentStage reflects a Stage's current use of Freight.
| Field | Type | Description |
|---|---|---|
| since | k8s.io.apimachinery.pkg.apis.meta.v1.Time | Since is the time at which the Stage most recently started using the Freight. This can be used to calculate how long the Freight has been in use by the Stage. |
DeepLink
DeepLink defines a configurable external link that is rendered in the UI when viewing a Freight or Stage resource. The URL is an expression evaluated against the resource. The optional If field is an expression condition; when set, the link is only shown when the expression evaluates to true.
| Field | Type | Description |
|---|---|---|
| title | string | Title is the display label for the link. |
| url | string | URL is an expression that resolves to the link's href. |
| description | string | Description is an optional human-readable summary shown alongside the link. +optional |
| if | string | If is an optional expression condition. When set, the link is only shown when the expression evaluates to true. +optional |
DiscoveredArtifacts
DiscoveredArtifacts holds the artifacts discovered by the Warehouse for its subscriptions.
| Field | Type | Description |
|---|---|---|
| discoveredAt | k8s.io.apimachinery.pkg.apis.meta.v1.Time | DiscoveredAt is the time at which the Warehouse discovered the artifacts. +optional |
| git | GitDiscoveryResult | Git holds the commits discovered by the Warehouse for the Git subscriptions. +optional |
| images | ImageDiscoveryResult | Images holds the image references discovered by the Warehouse for the image subscriptions. +optional |
| charts | ChartDiscoveryResult | Charts holds the charts discovered by the Warehouse for the chart subscriptions. +optional |
| results | DiscoveryResult | Results holds the artifact references discovered by the Warehouse. +optional |
DiscoveredCommit
DiscoveredCommit represents a commit discovered by a Warehouse for a GitSubscription.
| Field | Type | Description |
|---|---|---|
| id | string | ID is the identifier of the commit. This typically is a SHA-1 hash. |
| branch | string | Branch is the branch in which the commit was found. This field is optional, and populated based on the CommitSelectionStrategy of the GitSubscription. |
| tag | string | Tag is the tag that resolved to this commit. This field is optional, and populated based on the CommitSelectionStrategy of the GitSubscription. |
| subject | string | Subject is the subject of the commit (i.e. the first line of the commit message). |
| author | string | Author is the author of the commit. |
| committer | string | Committer is the person who committed the commit. |
| creatorDate | k8s.io.apimachinery.pkg.apis.meta.v1.Time | CreatorDate is the commit creation date as specified by the commit, or the tagger date if the commit belongs to an annotated tag. |