terraform-provider-helm icon indicating copy to clipboard operation
terraform-provider-helm copied to clipboard

Add example for helm chart from OCI registry

Open monester opened this issue 3 years ago • 1 comments

Description

Add example of helm chart stored in OCI registry as there no mentioning that helm provider has support of this source.

Acceptance tests

  • [X] Have you added an acceptance test for the functionality being added?

Release Note

Release note for CHANGELOG:

NONE

References

Issue #859

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

monester avatar May 02 '22 16:05 monester

might be handy to have an example for GCP Artifact Registry as well (took me a while to dig through stuff and get it right)

resource "helm_release" "my_helm_chart" {
  name = "something"

  repository          = "oci://<region>-docker.pkg.dev/<gcp-project-id/<registry-name>"
  repository_username = "oauth2accesstoken"
  repository_password = data.google_client_config.default.access_token

  chart             = "something"
}

chiefy avatar Jul 07 '22 14:07 chiefy

@monester It would also be good to add docs for the OCI registry block that we recently merged.

#862

Once that's added we should be able to merge this.

BBBmau avatar Jan 12 '23 20:01 BBBmau

@BBBmau it is terrible example as it would trigger to reinstall on every token update. Documentation about registry block is already added by me. :-)

monester avatar Jan 12 '23 21:01 monester