Commit Graph

74 Commits

Author SHA1 Message Date
Sean Eagan 5a41fdb5cc Factor out common patterns
- helm action result handling
- common fields set after release attempt (success or fail)
2020-07-20 17:21:33 +02:00
Sean Eagan c78919dd08 Uninstall fixes
* Ensure Status.LastReleaseRevision is 0 after uninstall.
* Ensure uninstall leads to ready condition being false. This has
  no effect now since uninstall is only triggered on install failure,
  but will once other triggers (such as test failure) are supported.
2020-07-20 15:24:49 +02:00
Hidde Beydals fd8d83de80 Support KeepHistory flag for Helm uninstall action
This is the companion to 'Install.Replace'.
2020-07-17 17:00:40 +02:00
Hidde Beydals 31361bd62b Refactor garbage collection to finalizer 2020-07-16 13:00:41 +02:00
Hidde Beydals 3074f9934b Broadcast events for Helm actions 2020-07-16 09:07:40 +02:00
Hidde Beydals aadbe1e19d Create HelmChart based on provided template 2020-07-10 21:09:26 +02:00
Hidde Beydals a4244cc45a Allow suspending of HelmReleases 2020-07-10 11:52:58 +02:00
stefanprodan b94dccac13 Implement event recording
- emit Kubernetes events when a release status changes
- forward events to notification controller
2020-07-09 20:19:08 +03:00
Hidde Beydals 6bded34a1b Various small changes
* newline fixes
* source-controller v0.0.2 -> v0.0.3
* pkg v0.0.2 -> v0.0.3
* const for HelmRelease kind
* wording change in README
* lockfile error message fix
2020-07-09 18:04:45 +02:00
Hidde Beydals 6eb9822327 Uninstall release on HelmRelease removal 2020-07-09 16:34:09 +02:00
Hidde Beydals 4908ec300b Remove OnCondition fields till design is clear 2020-07-08 19:41:37 +02:00
Hidde Beydals dc606ea797 Support dependencies on other releases 2020-07-08 19:41:37 +02:00
Hidde Beydals bb7f3c68ea Provide configuration flags for Helm actions 2020-07-08 19:41:30 +02:00
Hidde Beydals 4d44b1f99b Prevent spurious Helm actions 2020-07-08 16:24:03 +02:00
Hidde Beydals fd715d6eb6 Support Helm uninstall action 2020-07-08 16:23:58 +02:00
Hidde Beydals ff0e54db6a Support Helm rollback action 2020-07-08 16:23:53 +02:00
Hidde Beydals 84176d1aab Support Helm test action 2020-07-08 16:23:48 +02:00
Hidde Beydals 7f32b63784 Bookkeep revisions to determine upgrade runs 2020-07-08 16:23:48 +02:00
Hidde Beydals b58d421f5b Various small changes
* fixed Helm logging
* fixed existing release error check
2020-07-08 16:23:48 +02:00
Hidde Beydals 64c82c4f05 Use lockedfile from fluxcd/pkg 2020-07-08 16:23:48 +02:00
Hidde Beydals 12179e78e9 Refactor values to apiextensionsv1.JSON type 2020-07-08 16:23:48 +02:00
Hidde Beydals 17d6c20c15 Support Helm upgrade action 2020-07-08 16:23:44 +02:00
Hidde Beydals 51da5f0fe2 Support Helm install action 2020-07-08 16:23:38 +02:00
Hidde Beydals 2a5c905145 Init 2020-05-05 22:35:49 +02:00