kube-lego: Make LEGO_EMAIL a required field (#912)

* Add check for config.LEGO_EMAIL

* Don't set a default LEGO_EMAIL

* Bump chart version
This commit is contained in:
James Munnelly
2017-05-10 14:53:02 -07:00
committed by Vic Iglesias
parent 86ce997b70
commit 74da1cdbf5
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Automatically requests certificates from Let's Encrypt
name: kube-lego
version: 0.1.8
version: 0.1.9
keywords:
- kube-lego
- letsencrypt
@@ -32,6 +32,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
# {{ required "config.LEGO_EMAIL is a required field" .Values.config.LEGO_EMAIL }}
{{- range $key, $value := .Values.config }}
- name: "{{ $key }}"
value: "{{ $value }}"
+1 -1
View File
@@ -4,7 +4,7 @@
config:
## Email address to use for registration with Let's Encrypt
##
LEGO_EMAIL: my@email.tld
# LEGO_EMAIL: my@email.tld
## Let's Encrypt API endpoint
## Production: https://acme-v01.api.letsencrypt.org/directory