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.

46 lines
1.1 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: csi-net-noty-email
namespace: moh-prod
spec:
#replicas: 1
selector:
matchLabels:
app: csi-net-noty-email
tier: backend
track: stable
template:
metadata:
labels:
app: csi-net-noty-email
tier: backend
track: stable
spec:
containers:
- env:
- name: ASPNETCORE_URLS
value: http://+:80
- name: ASPNETCORE_ENVIRONMENT
valueFrom:
configMapKeyRef:
key: net_environment
name: service-configs
- name: config_server
valueFrom:
configMapKeyRef:
key: config_server
name: service-configs
image: harbor.moh.gov.sa/vidamoh/csi-net-base-email:4.0.2.1
name: csi-net-noty-email
ports:
- containerPort: 80
name: http
resources:
limits:
memory: 1Gi
requests:
cpu: 150m
memory: 256Mi
imagePullSecrets:
- name: regcred