Skip to content

Tavasyag/helm diff - #1771

Closed
tavasyag wants to merge 9 commits into
hashicorp:mainfrom
tavasyag:tavasyag/helm-diff
Closed

Tavasyag/helm diff#1771
tavasyag wants to merge 9 commits into
hashicorp:mainfrom
tavasyag:tavasyag/helm-diff

Conversation

@tavasyag

Copy link
Copy Markdown

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Description

This PR implements a new helm_diff data source that compares a proposed Helm chart configuration against the currently deployed release in a Kubernetes cluster.
New data source: data_helm_diff in helm/data_helm_diff.go

  • Fetches current release state from Kubernetes cluster
  • Renders proposed manifest based on provided configuration
  • Compares manifests and generates unified diff output
  • Returns: diff, diff_json, has_changes, current_manifest, proposed_manifest

Acceptance tests

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

Run acceptance tests:

make testacc TEST=./helm TESTARGS="-run TestAccDataDiff"

Release Note

Release note for CHANGELOG:

`data_source/helm_diff`: New data source to compare proposed chart configuration against deployed release

References

#1732

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

@tavasyag
tavasyag requested a review from a team as a code owner March 26, 2026 07:35
@hashicorp-cla-app

hashicorp-cla-app Bot commented Mar 26, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


Tavasya Ganpati seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA.
If you have already a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.

@tavasyag
tavasyag force-pushed the tavasyag/helm-diff branch from c426750 to d0bfb30 Compare March 26, 2026 07:51
@tavasyag tavasyag closed this Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant