Provide richer diff of values changes
### Description When I have an existing `helm_release` with a set of `values[]`, and the values change, often the values are only changing by a few lines. I would like to see a more narrow diff of the selected part of the values that have changed from my last apply, rather than the current view of "old values file replaced by new values file." I'm not sure if this is feasible. But, if I have a long values file, the diff becomes meaningless if it just prints the 100 lines of old file as being replaced by 101 lines of new file, without any indicator of which line has changed. Take this example diff given a small values file change. Can you immediately tell which line has changed? ``` Terraform will perform the following actions: # helm_release.datadog[0] will be updated in-place ! resource "helm_release" "datadog" { id = "datadog" name = "datadog" ! values = [ - <<-EOT dogstatsd: originDetection: true useHostPort: true useHostPID: true useSocketVolume: true nonLocalTraffic: true # unix domain socket # keep this value in sync with helm-charts DD_DOGSTATSD_SOCKET (default is in flux) socketPath: /var/run/datadog/statsd.sock EOT, + <<-EOT dogstatsd:
Posted by jcogilvie on Apr 18, 2023, 4:25 PM
Tags
Related issues
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
Provide richer diff of values changes
### Description When I have an existing `helm_release` with a set of `values[]`, and the values change, often the values are only changing by a few lines. I would like to see a more narrow diff of the selected part of the values that have changed from my last apply, rather than the current view of "old values file replaced by new values file." I'm not sure if this is feasible. But, if I have a long values file, the diff becomes meaningless if it just prints the 100 lines of old file as being replaced by 101 lines of new file, without any indicator of which line has changed. Take this example diff given a small values file change. Can you immediately tell which line has changed? ``` Terraform will perform the following actions: # helm_release.datadog[0] will be updated in-place ! resource "helm_release" "datadog" { id = "datadog" name = "datadog" ! values = [ - <<-EOT dogstatsd: originDetection: true useHostPort: true useHostPID: true useSocketVolume: true nonLocalTraffic: true # unix domain socket # keep this value in sync with helm-charts DD_DOGSTATSD_SOCKET (default is in flux) socketPath: /var/run/datadog/statsd.sock EOT, + <<-EOT dogstatsd:
Comments (0)
No comments yet. Start the discussion.