WIP: feat: add ChartSource type and Source field to Release

Signed-off-by: iammehrabsandhu <user.127.888@users.noreply.github.com>
pull/32018/head
iammehrabsandhu 6 days ago
parent c004f4ddfe
commit 666fa05c28

@ -51,6 +51,9 @@ type Release struct {
// ApplyMethod stores whether server-side or client-side apply was used for the release
// Unset (empty string) should be treated as the default of client-side apply
ApplyMethod string `json:"apply_method,omitempty"` // "ssa" | "csa"
// Source records where the chart was fetched from.
// Nil for releases created before this field was added.
Source *common.ChartSource `json:"source,omitempty"`
}
// SetStatus is a helper for setting the status on a release.

@ -51,6 +51,9 @@ type Release struct {
// ApplyMethod stores whether server-side or client-side apply was used for the release
// Unset (empty string) should be treated as the default of client-side apply
ApplyMethod string `json:"apply_method,omitempty"` // "ssa" | "csa"
// Source records where the chart was fetched from.
// Nil for releases created before this field was added.
Source *common.ChartSource `json:"source,omitempty"`
}
// SetStatus is a helper for setting the status on a release.

Loading…
Cancel
Save