Skip to content

Latest commit

 

History

History
 
 

kube-lego

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

kube-lego

kube-lego automatically requests certificates for Kubernetes Ingress resources from Let's Encrypt.

TL;DR;

$ helm install stable/kube-lego

Introduction

This chart bootstraps a kube-lego deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.4+ with Beta APIs enabled

Installing the Chart

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

$ helm install --name my-release stable/kube-lego

The command deploys kube-lego on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

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

Configuration

The following table lists the configurable parameters of the chart and their default values.

Parameter Description Default
config.LEGO_EMAIL email address to use for registration with Let's Encrypt none
config.LEGO_URL Let's Encrypt API endpoint https://acme-staging.api.letsencrypt.org/directory (staging)
config.LEGO_PORT kube-lego port 8080
image.repository kube-lego container image repository jetstack/kube-lego
image.tag kube-lego container image tag 0.1.3
image.pullPolicy kube-lego container image pull policy IfNotPresent
nodeSelector node labels for pod assignment {}
podAnnotations annotations to be added to pods {}
replicaCount desired number of pods 1
resources kube-lego resource requests and limits (YAML) {}

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

$ helm install --name my-release \
  --set config.LEGO_EMAIL=you@domain.tld \
    stable/kube-lego

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

$ helm install --name my-release -f values.yaml stable/kube-lego

Tip: You can use the default values.yaml