etcd-druid-certs

by hajowieland

Helm chartv1.0.0Verified publisher

Create Certificates and Issuers for an etcd-druid Etcd cluster

About this chart

etcd-druid-certs

Create Certificates and Issuers for an etcd-druid Etcd cluster

TL;DR;

helm repo add hajowieland https://charts.wieland.tech
helm repo update
helm install my-release hajowieland/etcd-druid-certs

Introduction

This chart deploys all certificate-related resources required to deploy etcd clusters via etcd-druid.

It creates cert-manager Custom Resources to deploy Issuers and Certificates for all etcd communication lines to be TLS encrypted.

Prerequisites

Installing the Chart

To install the chart with the release name my-release:

helm repo add hajowieland https://charts.wieland.tech
helm repo update
helm install my-release hajowieland/etcd-druid-certs

These commands deploy Certicates & Issuers which are reconciled by cert-manager and can then be referenced in an etcd-druid Etcd Custom Resource.

The Values section lists the values that can be configured during installation.

Etcd

The release name and replicas should match the name and desired replicas of the Etcd cluster you deploy the certificates for. Also note that it needs to be in the same Namespace as your Etcd.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall the my-release deployment:

helm uninstall my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Values

KeyTypeDefaultDescription
etcdNamestring""Set the name for the desired Etcd cluster - will be used in cert SANs
privateKeyobject{"algorithm":"RSA","size":4096}Certicate algorithm and size to be used in the private keys
replicasint3Replicas of the Etcd cluster
subjectobject{"organizationalUnits":["Kubernetes"],"organizations":["STACKX Cloud"]}Personalize the subject field in the certificates

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install my-release -f values.yaml hajowieland/etcd-druid-certs

Deploy etcd-druid-certs with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has etcd-druid-certs on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartetcd-druid-certs is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply