-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Addon-operator compares checksums of the current and previous helm templates. However, helm hooks are not included in manifests.
addon-operator/pkg/module_manager/module.go
Lines 330 to 337 in 510de76
| // ShouldRunHelmUpgrade tells if there is a case to run `helm upgrade`: | |
| // - Helm chart in not installed yet. | |
| // - Last release has FAILED status. | |
| // - Checksum in release values not equals to checksum argument. | |
| // - Some resources installed previously are missing. | |
| // | |
| // If all these conditions aren't met, helm upgrade can be skipped. | |
| func (m *Module) ShouldRunHelmUpgrade(helmClient client.HelmClient, releaseName string, checksum string, manifests []manifest.Manifest, logLabels map[string]string) (bool, error) { |
Metadata
Metadata
Assignees
Labels
No labels