This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Confirm release belongs to HR before upgrading
Before this change, when a user would create multiple HelmReleases with the same release name configured, the operator would attempt to upgrade the release indefinitely. To overcome this issue, the operator now injects the resource ID of the HelmRelease into the description of the release and confirms this value equals the resource ID of the HelmRelease it is going to run an upgrade for. If the value diverges, the status of the HelmRelease is updated to make it visible to the user and a message is logged. For backwards compatibility, and to be able to migrate existing releases to a HelmRelease, we see empty descriptions as a positive.
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters