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.

52 lines
1.4 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: csi-otp-service
namespace: moh-prod
spec:
selector:
matchLabels:
app: csi-otp-service
tier: backend
track: stable
template:
metadata:
labels:
app: csi-otp-service
tier: backend
track: stable
spec:
containers:
- env:
- name: SPRING_REDIS_SENTINEL_MASTER
valueFrom:
configMapKeyRef:
key: SPRING_REDIS_SENTINEL_MASTER
name: otp-configs
- name: SPRING_REDIS_SENTINEL_NODES
valueFrom:
configMapKeyRef:
key: SPRING_REDIS_SENTINEL_NODES
name: otp-configs
- name: KAFKA_BOOTSTRAP_SERVERS
valueFrom:
configMapKeyRef:
key: KAFKA_BOOTSTRAP_SERVERS
name: otp-configs
image: registry.cloudsolutions.com.sa/vida-qa/csi-otp-service:4.0.0.0-b3
imagePullPolicy: IfNotPresent
name: csi-otp-service
ports:
- containerPort: 80
name: http
- containerPort: 3000
name: app
resources:
limits:
cpu: 500m
memory: 1250Mi
requests:
cpu: 50m
memory: 512Mi
imagePullSecrets:
- name: regcred