You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
helm_release has an attribute metadata that's missing "last updated" date which is always returned by Helm. That field (combined with app_revision) is quite useful to determine triggers in complex deployment scenarios, as it's the closest thing to a release UUID we have.
Potential Terraform Configuration
This is example code that implements a crude workaround that's not 100% bullet-proof (and probably violates many Terraform usage guides, but it's only an example). Availability of helm_release.foo.metadata.last_deployed would make this example trick with description obsolete.
* extend helm_release.metadata with new computed fields
- last_deployed to implement #1374
- first_deployed and notes to extend functionality further
* add tests, fix uses of helm CLI in tests
tests that are using exec.Command to call helm CLI directly were expecting kubeconfig to be at KUBECONFIG, which may not be the same as KUBE_CONFIG_PATH
---------
Co-authored-by: Alex Pilon <[email protected]>
Description
helm_release
has an attributemetadata
that's missing "last updated" date which is always returned by Helm. That field (combined withapp_revision
) is quite useful to determine triggers in complex deployment scenarios, as it's the closest thing to a release UUID we have.Potential Terraform Configuration
This is example code that implements a crude workaround that's not 100% bullet-proof (and probably violates many Terraform usage guides, but it's only an example). Availability of
helm_release.foo.metadata.last_deployed
would make this example trick with description obsolete.References
helm_release
andwait = true
#683 by adding "validator" chart; however, that's irrelevant to this feature requestexample execution
helm get all foo
showing what's available (descriptions managed by example trick from above):Community Note
The text was updated successfully, but these errors were encountered: