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
1012 B
42 lines
1012 B
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: e-consent-mgt-ui
|
|
namespace: moh-prod
|
|
spec:
|
|
#replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: e-consent-mgt-ui
|
|
tier: backend
|
|
track: stable
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: e-consent-mgt-ui
|
|
tier: backend
|
|
track: stable
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: ASPNETCORE_ENVIRONMENT
|
|
value: Development
|
|
- name: VERSION
|
|
value: '${parameters.Tag}'
|
|
envFrom:
|
|
- configMapRef:
|
|
name: econsent-service-mnt-configs
|
|
image: 'harbor.moh.gov.sa/vidamoh/e-consent-mgt-ui:3.2'
|
|
imagePullPolicy: IfNotPresent
|
|
name: e-consent-mgt-ui
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
resources:
|
|
limits:
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 25m
|
|
memory: 256Mi
|
|
imagePullSecrets:
|
|
- name: regcred |