Difference between revisions of "Terraform resource: helm release"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 40: Line 40:
 
* <code>[[Error: unable to build kubernetes objects]]</code>
 
* <code>[[Error: unable to build kubernetes objects]]</code>
 
* <code>[[set]]</code>
 
* <code>[[set]]</code>
 +
* <code>[[helm install]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 11:42, 31 March 2023

helm_release

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"
  }
}

Related

See also

Advertising: