yandex_kubernetes_marketplace_helm_release (Resource)
Статья создана
Обновлена 11 сентября 2025 г.
Allows management of Kubernetes product installed from Yandex Cloud Marketplace.
For more information, see official documentation.
Example Usage
//
// Create a new Kubernetes Marketplace Helm Release.
//
resource "yandex_kubernetes_marketplace_helm_release" "gatekeeper_helm_release" {
cluster_id = yandex_kubernetes_cluster.cluster_resource_name.id
product_version = "f2ecif2vt62k2637tgus" // Gatekeeper 3.12.0
name = "gatekeeper"
namespace = kubernetes_namespace.namespace_resource_name.name
user_values = {
auditInterval = "90"
constraintViolationsLimit = "30"
}
}
Schema
Required
cluster_id(String) The ID of the Kubernetes cluster where the product will be installed.name(String) The name of the deployment.namespace(String) The Kubernetes namespace where the product will be installed.product_version(String) The ID of the product version to be installed.
Optional
timeouts(Block, Optional) (see below for nested schema)user_values(Map of String, Sensitive) Values to be passed for the installation of the product. The block consists of attributes that accept string values. The exact structure depends on the particular product and may differ for different versions of the same product. Depending on the product, some values may be required, and the installation may fail if they are not provided.
applicationName and namespace, if provided in this block, override name and namespace arguments, respectively.
Read-Only
created_at(String) The Helm Release creation (first installation) timestamp.id(String) The resource identifier.product_id(String) The ID of the Marketplace product.product_name(String) The name of the Marketplace product.status(String) Status of the deployment.
Nested Schema for timeouts
Optional:
create(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).delete(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.update(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
The resource can be imported by using their resource ID. For getting the resource ID you can use Yandex Cloud Web Console
# terraform import yandex_kubernetes_marketpalce_helm_release.<resource Name> <resource Id>
terraform import yandex_kubernetes_marketpalce_helm_release.default ...