terraform-provider-helm
terraform-provider-helm copied to clipboard
Add example for helm chart from OCI registry
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
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"
}
@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 it is terrible example as it would trigger to reinstall on every token update. Documentation about registry block is already added by me. :-)