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(node): the deploy driver failed with linkerd #2389

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

mantissahz
Copy link
Contributor

Linkerd will inject a container linkerd-proxy in the longhorn-manger pod by adding the annotation linkerd.io/inject: enabled. It will fail when we check the MountPropagation for the first container that is linkerd-proxy. What we want to check is the longhorn-manager container.

Ref: longhorn/longhorn#3809

Copy link
Member

@innobead innobead left a comment

Choose a reason for hiding this comment

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

In general, LGTM. However, the code can be improved.

app/post_upgrade.go Outdated Show resolved Hide resolved
controller/node_controller.go Outdated Show resolved Hide resolved
controller/volume_controller_test.go Show resolved Hide resolved
app/post_upgrade.go Outdated Show resolved Hide resolved
c3y1huang
c3y1huang previously approved these changes Dec 20, 2023
Linkerd will inject a container `linkerd-proxy` in the
longhorn-manger pod by adding the annotaion
`linkerd.io/inject: enabled`. It will fail when we check the
`MountPropagation` for the first container that is `linkerd-proxy`.
What we want to check is the `longhorn-manager` container.

Ref: 3809

Signed-off-by: James Lu <[email protected]>
@innobead innobead merged commit aea89d6 into longhorn:master Dec 20, 2023
5 checks passed
@mantissahz
Copy link
Contributor Author

@Mergifyio backport v1.5.x

Copy link

mergify bot commented Dec 20, 2023

backport v1.5.x

✅ Backports have been created

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.

3 participants