Skip to content

Conversation

@cognifloyd
Copy link
Member

The initContainer for jobs.preRegisterContentCommand did not get some of the updates applied to the primary register-content command container. That may be the source of (part of) the issue reported in #320. Whether or not this fixes that issue, the mounts still need to be fixed / synchronized with the primary mounts.

Sadly, testing initContainers with helm-unittest is going to be extremely difficult because it requires assertions using the exact index of the container. When helm-unittest adds support for looking up an object in an array using a key, like name, then we can add tests for initContainers. Until then, we just have to do our best to keep the initContainers synchronized as needed.

@cognifloyd cognifloyd added Helm bug Something isn't working labels Jul 12, 2022
@cognifloyd cognifloyd self-assigned this Jul 12, 2022
@cognifloyd cognifloyd requested a review from arm4b July 12, 2022 03:41
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Jul 12, 2022
@cognifloyd cognifloyd force-pushed the fix-preRegisterContentCommand-mounts branch from 4682930 to cf7ac7b Compare July 12, 2022 03:41
@cognifloyd cognifloyd enabled auto-merge July 12, 2022 03:42
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cognifloyd cognifloyd merged commit 6190e00 into StackStorm:master Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Helm size/S PR that changes 10-29 lines. Very easy to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants