forked from tnozicka/openshift-acme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yaml
34 lines (34 loc) · 1.06 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
kind: Deployment
apiVersion: apps/v1beta1
metadata:
name: openshift-acme
labels:
app: openshift-acme
annotations:
image.alpha.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"openshift-acme:latest"},"fieldPath":"spec.template.spec.containers[0].image"}]'
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"openshift-acme:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"openshift-acme\")].image"}]'
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: openshift-acme
spec:
serviceAccountName: openshift-acme
containers:
- name: openshift-acme
image: " "
imagePullPolicy: Always
ports:
- containerPort: 5000
env:
- name: OPENSHIFT_ACME_EXPOSER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: OPENSHIFT_ACME_ACMEURL
value: "https://acme-v01.api.letsencrypt.org/directory"
- name: OPENSHIFT_ACME_LOGLEVEL
value: "4"