-
Notifications
You must be signed in to change notification settings - Fork 260
Conversation
4a89d12
to
3aa6b4d
Compare
@sa-spag can you take a look and see if the added histogram ( |
ebe545a
to
9a0512f
Compare
Yes it does, and... helm-operator/pkg/release/release.go Lines 165 to 173 in 9a0512f
... seems to cover all interesting cases. Great work, thanks! |
9a0512f
to
98d4eb2
Compare
I successfully deployed an image built from your work and applied the new CRD as you suggested on a staging cluster. I'll keep you posted. |
d07e554
to
99ce4ce
Compare
47f0880
to
ca01cf0
Compare
// is synced. | ||
MessageChartSynced = "Chart managed by HelmRelease processed" | ||
ReleaseSynced = "ReleaseSynced" | ||
FailedReleaseSync = "FailedReleaseSync" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be out of scope but it would be awesome if we could send a separate event for rollbacks (e.g. ReleaseRollBack
).
792f511
to
aaa51db
Compare
aaa51db
to
a0541b6
Compare
90612df
to
e125d83
Compare
e125d83
to
1813965
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Great improvements! thanks @hiddeco 🥇
5c56508
to
68793ac
Compare
This commit introduces the recording of release phases in the `HelmRelease` and as a Prometheus histogram metrics. It also re-introduces the recording of release failures as a Kubernetes Event with a proper failure reason. Limitizes the amount of (obsolete) error wraps and restructures returned error messages.
68793ac
to
7556bd6
Compare
This PR adds a
phase
field to the status object of theHelmRelease
resource, this field records the current or latest action phase performed for the resource.It also introduces new Prometheus metrics for this field and restores the failure Kubernetes Event, addressing #281 and #62 (comment).