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 36: | Line 36: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | resource "helm_release" "example" { | ||
+ | name = "testchart" | ||
+ | [[namespace]] = "helm_registry" | ||
+ | repository = "[[oci://]]localhost:5000/helm-charts" | ||
+ | version = "1.2.3" | ||
+ | chart = "test-chart" | ||
+ | } | ||
== Related == | == Related == |
Revision as of 16:46, 9 January 2024
Official examples
resource "helm_release" "example" { name = "redis" chart = "https://charts.bitnami.com/bitnami/redis-10.7.16.tgz" }
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" }
Related
See also
- Helm,
helm
[repo | template
|list
|install | unsintall
|create
|show | pull | push
|status | history | plugin
|search | upgrade | delete | lint | test | package | dependency | get | rollback | version | --help]
,helm@2
, Chart file structure, Helm Charts,values.yaml, chart.yaml
, Helm functions, Helm versions,helmfile
Deprecated:init
, variables, Mapkubeapis, .helmignore - Terraform provider:
AWS, Cloudflare
,GoogleWorkspace
,Kubernetes, Helm, .terraform/providers/
,template
,tfe
,providers.tf, dns, hashicorp/, hashicorp/tls
, Terraform provider versioning, Libvirt, datadog,terraform providers, required_version, onepassword
,rancher2
,time, terraform.tf
Advertising: