Comments (6)
I also notice in other code paths, we create a cpo object via
(actions.NewUpgrade/NewInstall
) which is responsible for initializing the repository client. That doesn't seem to happen within the resourceDiff
codepath and instead the cpo
object is initialized empty
and thus a repository client is never present for the getChart
call.from terraform-provider-helm.
I'd also ask that we make
return the error rather than silently failing.from terraform-provider-helm.
Currently working on a draft PR to fix this.
from terraform-provider-helm.
Hello @mmckeen, can you provide a terraform config that reproduces the output that you're experiencing? Your provided config is lacking information in order to be reproducible.
from terraform-provider-helm.
Hello @mmckeen, can you provide a terraform config that reproduces the output that you're experiencing? Your provided config is lacking information in order to be reproducible.
Hey @BBBmau 👋, the issue will show up whenever the stored manifest for the chart changes as part of the plan, I'm not able to fully produce a config with the issue since we're using private charts but any change to the resource that changes the applied manifest should be able to reproduce the issue.
from terraform-provider-helm.
We are having the same issue.
I tested using the same chart, with identical config, on two resources. One is coming from a public github repo, the other is from our private ECR using OCI. We pushed the chart as-is in our private ECR. The only one providing a manifest diff is the public one.
resource "helm_release" "prometheus_operator" {
name = "prometheus-operator"
chart = "oci://###.dkr.ecr.us-east-1.amazonaws.com/helmchart/kube-prometheus-stack"
repository_username = var.private_ecr_creds.username
repository_password = var.private_ecr_creds.password
namespace = var.namespace
version = "54.2.2"
values = sensitive([local.prometheus_values])
}
resource "helm_release" "prometheus_operator" {
name = "prometheus-operator"
repository = "https://prometheus-community.github.io/helm-charts"
chart = "kube-prometheus-stack"
namespace = var.namespace
version = "54.2.2"
values = sensitive([local.prometheus_values])
}
In these examples, local.prometheus_values
is a templated yaml values file using templatefile
. Its set sensitive just because we don't want to see the huge values diff as it has low value for us. Manifests, though are high value in the diff
Hope this helps with reproduction
from terraform-provider-helm.
Related Issues (20)
- Semver and schema HOT 1
- Argument for the Helm reset-then-reuse-values flag HOT 1
- Add custom labels to helmv3 release secret HOT 1
- Use of `template_file` prevents terraform init from working on Apple M1/2/3 machines
- Repository Password Stored in Plan HOT 3
- `metadata` always recomputes, causing redeployment for every single plan-apply HOT 2
- terraform plan got error because local chart not rendered yet HOT 5
- Drift not detected after rolling back a helm release with `helm rollback`
- unexpected error when reading response body on terraform apply HOT 1
- Regression bug "Error: non-absolute URLs should" HOT 2
- Charts.yaml is missing when installing metallb in terraform submodule HOT 2
- Support DeletionPropagation in Uninstall
- helm_release does not wait for daemonsets to be ready
- Failed helm_release parameters do not get applied but also cannot be replanned HOT 1
- GKE authentication is underdocumented HOT 1
- Improve `metadata` attribute by adding last deployed date HOT 1
- set_sensitive does not redact values if the key name contains backslash HOT 1
- Make values diff usable HOT 2
- Expose insecure-skip-tls-verify attribute to install from insecured registry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-helm.