-
Notifications
You must be signed in to change notification settings - Fork 519
etcd: Added ssl options #9414
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
etcd: Added ssl options #9414
Conversation
|
Now also based on the right version... |
Co-authored-by: Aliabbas Attarwala <124054599+aliabbas-elastic@users.noreply.github.com>
Co-authored-by: Aliabbas Attarwala <124054599+aliabbas-elastic@users.noreply.github.com>
ali786XI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for rest changes
|
Hi @aliabbas-elastic, could you let me know how I can re-trigger the build? |
|
/test |
💚 Build Succeeded
History
|
|
ishleenk17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, this PR has many files with irrelevant changes.
Maybe, related to formatting. Please revert those.
| type: group | ||
| description: > | ||
| Contains follower statistics. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff is irrelevant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes are from the elastic-package format command, do you think we should revert them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good then.
| title: etcd leader metrics | ||
| description: Collect etcd leader metrics | ||
| enabled: false | ||
| enabled: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, irrelevant diff
| - name: ssl | ||
| type: yaml | ||
| title: SSL Configuration | ||
| description: i.e. certificate, certificate_authorities, verification_mode etc. See [SSL](https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-ssl.html#ssl-client-config) for details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets use link to the Agent instead of beats here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
|
Is there also the possibility to specify file system paths instead of certificate content inline? WIth this option, you could use the respective Cert and Key files available on Kubernetes Master Nodes. |
@Alphayeeeet yes, you can specify path to certs or certs content. |
ishleenk17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
|
Package etcd - 1.1.0 containing this change is available at https://epr.elastic.co/search?package=etcd |





Proposed commit message
Add
ssloptions to the etcd integration.Checklist
changelog.ymlfile.Author's Checklist
elastic-package build, they were not made by meHow to test this PR locally
elastic-package stack. The agent deployed with the elastic-package stack needs to be added to the minikube docker network (docker network connect minikube elastic-package-stack-elastic-agent-1)/var/lib/docker/volumes/minikube/_data/lib/minikube/certs/etcdby defaultRelated issues
This is very related to:
[Stack Monitoring] Add missing metricbeat configuration to integrations #4666
I followed the pattern used in:
[Kibana] Added ssl config support to kibana module #4912
closes [ETCD] Enable configuration of CA for https connection to etcd host #9408
Screenshots