abstract class K8sSyslog::K8s
- K8sSyslog::K8s
- Reference
- Object
Direct Known Subclasses
Defined in:
k8s-syslog/k8s.crConstant Summary
-
TLS_CTX =
OpenSSL::SSL::Context::Client.new.tap do |ctx| if File.exists?("/var/run/secrets/kubernetes.io/serviceaccount/ca.crt") ctx.ca_certificates = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" end end
-
TLS contexts are memory heavy so reuse between all clients
Constructors
-
.new
https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/