Closed jbanety closed 3 years ago
Hi, sure, it would be a nice contribution!
The changes are looks ok, except that personaly I don't like the fact puting base64-encoded values into values.yaml. I think cleartext would be better, however I am ready to listen to any objections about this.
Could you please clarify how do you usually deploy the etcd cluster and how do you generate certificates?
I had a plan to add two additional methods for generating TLS-certificates as alternative to Helm builtin functions: cert-manager and kube-webhook-certgen job to get more deterministic output, it would be nice to have these options similar in the future.
Alternative solution can be implementing extraVolumes
and extraVolumeMounts
for linstor-controller.
I deploy my K8s cluster with Lokomotive.
The Etcd certs are stored in an assets folder after cluster creation.
I'm creating a Lokomotive component to add your kube-linstor chart to the components lib.
So I can refer to the etcd certs from my local machine.
Concerning Base64 or not, I have no opinion on that.
I'll create a PR asap.
Hi @kvaps,
I'm looking to add ability to connect to a etcd cluster. At the moment, we can do :
But etcd is secured with TLS certs so, currently, we can't make a secure connection with your helm chart. Before making a PR, I want to know if you will be OK with my solution.
Add 4 config values, and by the way we can set etcd prefix :
Create
kubernetes.io/tls
secretdb-tls.yaml
:Modify
_helpers.tpl
to add reference to certs :Modify
controller-deployment.yaml
: