Difference between revisions of "Terraform: Helm provider"
Jump to navigation
Jump to search
(Created page with " == Related == * Terraform: Kubernetes provider == See also == * {{Helm}} * {{Terraform}} Category:Terraform") |
|||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | https://registry.terraform.io/providers/hashicorp/helm/latest/docs | ||
+ | provider "helm" {} | ||
+ | provider "helm" { | ||
+ | kubernetes { | ||
+ | config_path = "[[~/.kube/config]]" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | provider "helm" { | ||
+ | kubernetes { | ||
+ | config_path = "[[~/.kube/config]]" | ||
+ | config_context = "my-context-cluster" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/karpenter/main.tf | ||
+ | {{provider helm karpenter example}} | ||
+ | |||
+ | Resources: | ||
+ | * <code>[[Terraform resource: helm release|helm_release]]</code> | ||
+ | |||
+ | Data source: | ||
+ | * <code>[[helm template]]</code> | ||
== Related == | == Related == | ||
* [[Terraform: Kubernetes provider]] | * [[Terraform: Kubernetes provider]] | ||
− | + | * [[Terraform: kubectl provider]] | |
+ | * <code>[[Error: unable to build kubernetes objects]]</code> | ||
== See also == | == See also == | ||
+ | * {{terraform helm}} | ||
* {{Helm}} | * {{Helm}} | ||
− | |||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 13:32, 12 February 2024
https://registry.terraform.io/providers/hashicorp/helm/latest/docs
provider "helm" {}
provider "helm" { kubernetes { config_path = "~/.kube/config" } }
provider "helm" { kubernetes { config_path = "~/.kube/config" config_context = "my-context-cluster" } }
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/karpenter/main.tf provider "helm" { kubernetes { host = module.eks.cluster_endpoint cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data) exec { api_version = "client.authentication.k8s.io/v1beta1" command = "aws" # This requires the awscli to be installed locally where Terraform is executed args = ["eks", "get-token", "--cluster-name", module.eks.cluster_name] } } }
Resources:
Data source:
Related[edit]
- Terraform: Kubernetes provider
- Terraform: kubectl provider
Error: unable to build kubernetes objects
See also[edit]
- Terraform Helm,
helm_release, helm_template
- 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
Advertising: