Skip to main content

Get

Returns the specified Helm release.

import { cloudApi, serviceClients, Session } from "@yandex-cloud/nodejs-sdk";

const GetHelmReleaseRequest =
cloudApi.k8s.marketplace_helm_release_service.GetHelmReleaseRequest;

(async () => {
const authToken = process.env["YC_OAUTH_TOKEN"];
const session = new Session({ oauthToken: authToken });
const client = session.client(serviceClients.HelmReleaseServiceClient);

const result = await client.get(
GetHelmReleaseRequest.fromPartial({
id: "id",
})
);
console.log(result);
})();

GetHelmReleaseRequest

id : string

The ID of the Helm release to retrieve.

HelmRelease

A Helm Release.

Status

  • STATUS_UNSPECIFIED

  • UNKNOWN

    Helm release status is unknown

  • DEPLOYED

    Helm release deployed.

  • UNINSTALLED

    Helm release uninstalled.

  • SUPERSEDED

    Helm release superseded.

  • FAILED

    Helm release installation failed.

  • UNINSTALLING

    Helm release is being uninstalled.

  • PENDING_INSTALL

    Helm release is to be installed.

  • PENDING_UPGRADE

    Helm release is to be updated.

  • PENDING_ROLLBACK

    Helm release is to be rolled back.

id : string

ID of a helm release.

clusterId : string

ID of the Kubernetes cluster.

appName : string

Name of the application.

appNamespace : string

Namespace of the application.

productId : string

Kubernetes marketplace product id.

productName : string

Kubernetes marketplace product name.

productVersion : string

Kubernetes marketplace product version.

status : Status

Status of a helm release.

createdAt : google.protobuf.Timestamp

Creation timestamp.