-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows the applied CRDs to be traced using the same labels as currently applied to resources using a Kustomize post-render. Kustomize is not used here as the apply logic for CRDs is different from the approach used during releasing, where we inject the labels in such a way that they are written back to the Helm storage in the rendered manifest. This to match Helm's logic from which our present code is already derived (buth with support for policies). This also moves the full responsibility of dealing with the install of CRDs to ourselves, as we no longer fall back to Helm's logic when `Create` is configured as a policy during a Helm install. As this would not allow us to add the labels. Signed-off-by: Hidde Beydals <[email protected]>
- Loading branch information
Showing
1 changed file
with
103 additions
and
53 deletions.
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