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