This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from signalfx/tls
Add support for ssl_cert_validation
- Loading branch information
Showing
18 changed files
with
355 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,50 @@ | ||
LoadPlugin python | ||
|
||
<Plugin python> | ||
ModulePath "/opt/collectd-etcd" | ||
ModulePath "/opt/collectd-etcd" | ||
|
||
Import etcd_plugin | ||
<Module etcd_plugin> | ||
Host "etcd238" | ||
Port "2379" | ||
Cluster 1 | ||
Dimension foo bar | ||
Interval 10 | ||
</Module> | ||
<Module etcd_plugin> | ||
Host "etcd310" | ||
Port "2379" | ||
Cluster 1 | ||
Interval 10 | ||
</Module> | ||
<Module etcd_plugin> | ||
Host "etcd324" | ||
Port "2379" | ||
Cluster 2 | ||
Interval 10 | ||
EnhancedMetrics True | ||
</Module> | ||
<Module etcd_plugin> | ||
Host "etcd208" | ||
Port "2379" | ||
Cluster 2 | ||
Interval 10 | ||
EnhancedMetrics True | ||
</Module> | ||
Import etcd_plugin | ||
|
||
<Module etcd_plugin> | ||
Host "etcd208" | ||
Port "2379" | ||
Cluster 1 | ||
Interval 10 | ||
EnhancedMetrics True | ||
</Module> | ||
<Module etcd_plugin> | ||
Host "etcd238" | ||
Port "2379" | ||
Cluster 2 | ||
Dimension foo bar | ||
Interval 10 | ||
</Module> | ||
<Module etcd_plugin> | ||
Host "etcd310" | ||
Port "2379" | ||
Cluster 3 | ||
Interval 10 | ||
</Module> | ||
<Module etcd_plugin> | ||
Host "etcd324" | ||
Port "2379" | ||
Cluster 4 | ||
Interval 10 | ||
EnhancedMetrics True | ||
ssl_keyfile "/opt/testing/certs/client.key" | ||
ssl_certificate "/opt/testing/certs/client.crt" | ||
ssl_ca_certs "/opt/testing/certs/server.crt" | ||
ssl_cert_validation True | ||
</Module> | ||
<Module etcd_plugin> | ||
Host "etcd324-tls-unverified" | ||
Port "2379" | ||
Cluster 5 | ||
Interval 10 | ||
EnhancedMetrics True | ||
ssl_keyfile "/opt/testing/certs/client.key" | ||
ssl_certificate "/opt/testing/certs/client.crt" | ||
ssl_ca_certs "/opt/testing/certs/server.crt" | ||
ssl_cert_validation False | ||
</Module> | ||
</Plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM quay.io/coreos/etcd:v3.2 | ||
COPY certs/* /opt/testing/certs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIElzCCAn8CAQEwDQYJKoZIhvcNAQEFBQAwEjEQMA4GA1UEAwwHZXRjZDMyNDAg | ||
Fw0xOTA1MDkxOTM0MzVaGA8yMjkzMDIyMDE5MzQzNVowDzENMAsGA1UEAwwEdXN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eiod/g4fpRM0Xq39gGSO | ||
ZHTAh/7IXe6BFjl6DmT/2hVD9g5keuN0doOtEU4PQeYU8f+39nDZEsRGIIyZ/9j3 | ||
08Hq6UyUuwt42nz+XpGQn5rGT4CbSdYiVMgeEvuz+LmaBSUGw30A4Y4uNQfl2Ra3 | ||
OIGK3wbTemoe8AUW0+UYuRr+/rMggJ9+qrVTUIRSuiX5SF0pF5sbtNlJdJ6bSd5q | ||
UUT/D/TF22ZXOOICTDbBEYEIMR4Mre1RIkcoToQplTOzUGsK+4L+jWpcnM/FTZMw | ||
FydFUo105Jq2aUIVzRBEbT7McijEFSVQNO3IkxYk/79GKVjkie9v2hP8u9ShhM2E | ||
wrpycc6s3LyQ86TWE6hD/6wD5/WC6Bsez5zij5NIaNwZaDVnHCXdwHe1Ww92owDj | ||
zOx2DX7xWkDDZDiZWmbqnQWue7YVO46YicuQ | ||
-----END CERTIFICATE----- |
Oops, something went wrong.