Difference between revisions of "Terraform resource: helm release"
Jump to navigation
Jump to search
↑ https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release
Line 62: | Line 62: | ||
wait_for_jobs = false | wait_for_jobs = false | ||
.../... | .../... | ||
+ | |||
+ | |||
+ | resource "helm_release" "grafana" { | ||
+ | name = "grafana" | ||
+ | create_namespace = true | ||
+ | namespace = "grafana" | ||
+ | repository = "https://grafana.github.io/helm-charts" | ||
+ | chart = "grafana" | ||
+ | |||
+ | set { | ||
+ | name = "[[cluster.enabled]]" | ||
+ | value = "true" | ||
+ | } | ||
+ | } | ||
== Errors == | == Errors == |
Revision as of 12:40, 12 February 2024
Contents
Official examples
resource "helm_release" "example" { name = "redis" chart = "https://charts.bitnami.com/bitnami/redis-10.7.16.tgz" }
resource "helm_release" "nginx-ingress" { name = "nginx-ingress" namespace = "nginx-ingress" chart = "oci://ghcr.io/nginxinc/charts/nginx-ingress" }
resource "helm_release" "example" { name = "my-redis-release" repository = "https://charts.bitnami.com/bitnami" chart = "redis" version = "6.0.1" values = [ "${file("values.yaml")}" ] set { name = "cluster.enabled" value = "true" } set { name = "metrics.enabled" value = "true" } set { name = "service.annotations.prometheus\\.io/port" value = "9127" type = "string" } }
resource "helm_release" "example" { name = "testchart" namespace = "helm_registry" repository = "oci://localhost:5000/helm-charts" version = "1.2.3" chart = "test-chart" }
resource "helm_release" "sentinelone" { name = "sentinelone" repository = "https://charts.sentinelone.com" chart = "s1-agent" namespace = "sentinelone" version = "23.x.x" create_namespace = true wait = false lint = true timeout = 900 wait_for_jobs = false .../...
resource "helm_release" "grafana" { name = "grafana" create_namespace = true namespace = "grafana" repository = "https://grafana.github.io/helm-charts" chart = "grafana"
set { name = "cluster.enabled" value = "true" } }
Errors
Related
See also
Advertising: