Communicating with Tiller that has TLS enabled
See original GitHub issueI was trying to figure out how can I use the library in order to communicate with a tiller that has TLS enabled. In order to initialize the Tiller I’m using a command similar to this:
helm init --tiller-tls --tiller-tls-verify --tls-ca-cert <path-to-ca-cert> --tiller-tls-cert <path-to-tls-cert> --tiller-tls-key <path-to-tls-key>
From what I see in the Tiller class, there is support only for plain text communication(there is a constructor that accepts a ManagedChannel https://github.com/microbean/microbean-helm/issues/42, but I need to send also the Kubernetes configuration):
return ManagedChannelBuilder.forAddress(hostAddress, portForward.getLocalPort())
.idleTimeout(5L, TimeUnit.SECONDS)
.keepAliveTime(30L, TimeUnit.SECONDS)
.maxInboundMessageSize(MAX_MESSAGE_SIZE)
.usePlaintext(true)
.build();
I was curious if I can be able to do something similar to this command in order to list the Helm releases:
helm --tls --tls-ca-cert <path-to-ca-cert> --tls-cert <path-to-tls-cert> --tls-key <path-to-tls-key> list
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Yes. I will show an example after everything works.