Last active
June 11, 2017 05:36
-
-
Save ranhsd/e9cbbde903c9aa9c25cfaded037efe01 to your computer and use it in GitHub Desktop.
kube-lego-deployment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: kube-lego | |
namespace: kube-lego | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: kube-lego | |
spec: | |
containers: | |
- name: kube-lego | |
image: jetstack/kube-lego:0.1.3 | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 8080 | |
env: | |
- name: LEGO_EMAIL | |
valueFrom: | |
configMapKeyRef: | |
name: kube-lego | |
key: lego.email | |
- name: LEGO_URL | |
valueFrom: | |
configMapKeyRef: | |
name: kube-lego | |
key: lego.url | |
- name: LEGO_NAMESPACE | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.namespace | |
- name: LEGO_POD_IP | |
valueFrom: | |
fieldRef: | |
fieldPath: status.podIP | |
- name: LEGO_POD_IP | |
valueFrom: | |
fieldRef: | |
fieldPath: status.podIP | |
- name: LEGO_SECRET_NAME | |
value: my-parse-app-lego-account | |
readinessProbe: | |
httpGet: | |
path: /healthz | |
port: 8080 | |
initialDelaySeconds: 5 | |
timeoutSeconds: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment