You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
918 B
42 lines
918 B
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
sapian-app: exim
|
|
name: exim
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
sapian-app: exim
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
sapian-app: exim
|
|
spec:
|
|
containers:
|
|
- image: tianon/exim4:latest
|
|
name: exim
|
|
env:
|
|
- name: GMAIL_USER
|
|
value: requerimientos@sapian.com.co
|
|
- name: GMAIL_PASSWORD
|
|
value: bbkckzxiupsdhtij
|
|
ports:
|
|
- name: smtp
|
|
containerPort: 25
|
|
protocol: TCP
|
|
resources:
|
|
restartPolicy: Always
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: sapian-agent-role
|
|
operator: In
|
|
values:
|
|
- foreman
|