Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "releasemaxhistory"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { // Dependencies. HelmClients *clientpair.ClientPair K8sClient kubernetes.Interface Logger micrologger.Logger }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) EnsureCreated ¶
EnsureCreated checks if the helm release has failed the max number of attempts. If so we delete the oldest revision if it is over 1 minute old. So we still retry the update but at a reduced rate. This is needed because the max history setting for Helm update does not count failures.
func (*Resource) EnsureDeleted ¶
EnsureDeleted is a no-op.
Click to show internal directories.
Click to hide internal directories.