summaryrefslogtreecommitdiffstats
path: root/src/helm-charts/clearwater/templates/ellis-depl.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/helm-charts/clearwater/templates/ellis-depl.yaml')
-rw-r--r--src/helm-charts/clearwater/templates/ellis-depl.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/helm-charts/clearwater/templates/ellis-depl.yaml b/src/helm-charts/clearwater/templates/ellis-depl.yaml
new file mode 100644
index 0000000..e231bf1
--- /dev/null
+++ b/src/helm-charts/clearwater/templates/ellis-depl.yaml
@@ -0,0 +1,35 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: ellis
+spec:
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ service: ellis
+ app: ellis
+ spec:
+ containers:
+ - image: "{{ .Values.image.path }}/ellis:{{ .Values.image.tag }}"
+ imagePullPolicy: Always
+ name: ellis
+ ports:
+ - containerPort: 22
+ - containerPort: 80
+ envFrom:
+ - configMapRef:
+ name: {{ .Values.config.configmaps }}
+ env:
+ - name: MY_POD_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ livenessProbe:
+ tcpSocket:
+ port: 80
+ initialDelaySeconds: 30
+ readinessProbe:
+ tcpSocket:
+ port: 80
+ restartPolicy: Always