Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix automated mirroring of livenessprobe #1714

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

ejweber
Copy link
Contributor

@ejweber ejweber commented Feb 7, 2024

Which issue(s) this PR fixes:

N/A

I discovered the issue while working on longhorn/longhorn#7428

What this PR does / why we need it:

The CSI mirroring scripts ignore images that aren't prefixed with csi- or support-bundle-kit. However, we need to mirror registry.k8s.io/sig-storage/livenessprobe in the same way as registry.k8s.io/sig-storage/csi... images. My attempt to mirror a new version of livenessprobe (https://ci.longhorn.io/job/private/job/mirror-csi-images/16/) failed.

Special notes for your reviewer:

I was surprised by the need to leave csi-|livenessprobe unquoted, but according to both ShellCheck and my testing it is correct when pattern matching (https://www.shellcheck.net/wiki/SC2076).

Additional documentation or context

It looks like this used to work in the environment variable case, but changes in #1625 broke it.

Longhorn 7428

Signed-off-by: Eric Weber <[email protected]>
@ejweber ejweber requested a review from a team as a code owner February 7, 2024 22:33
@PhanLe1010 PhanLe1010 merged commit 2f5a0e9 into longhorn:master Feb 8, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants