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 Agent volumes when an association has no CA #4833

Merged

Conversation

thbkrkr
Copy link
Contributor

@thbkrkr thbkrkr commented Sep 14, 2021

14aa58f is the fix. In a6be319 I took the opportunity to do a little refactoring (remove the warnings due to the unnecessary vols slice allocation and the conflict between the package and the variable name for association).

Resolves #4832 (comment).

@thbkrkr thbkrkr added >bug Something isn't working v1.8.0 labels Sep 14, 2021
@thbkrkr thbkrkr requested a review from david-kow September 14, 2021 11:21
Copy link
Contributor

@sebgl sebgl left a comment

Choose a reason for hiding this comment

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

👍

@thbkrkr thbkrkr added the v1.9.0 label Sep 14, 2021
@thbkrkr thbkrkr merged commit 5058f86 into elastic:master Sep 14, 2021
thbkrkr added a commit to thbkrkr/cloud-on-k8s that referenced this pull request Sep 14, 2021
This commit fixes an issue that occurs if you associate an Agent with a Kibana without TLS. In this case, the association Agent<->Kibana does not have a CA and this breaks the volumeMounts of the Agent container because we returned instead of continuing to populate the slice of volumes.
thbkrkr added a commit that referenced this pull request Sep 14, 2021
This commit fixes an issue that occurs if you associate an Agent with a Kibana without TLS. In this case, the association Agent<->Kibana does not have a CA and this breaks the volumeMounts of the Agent container because we returned instead of continuing to populate the slice of volumes.
@thbkrkr thbkrkr removed the v1.9.0 label Sep 21, 2021
@thbkrkr thbkrkr deleted the fix-agent-volume-mounts-when-assoc-has-no-ca branch October 1, 2021 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working v1.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fleet Server does not work with Kibana TLS disabled
4 participants