blob: 0cb36d2ab7a1a8a1729d27586136112242c72582 [file] [log] [blame]
apiVersion: apps/v1
kind: Deployment
metadata:
name: $CR_APP_NAME
namespace: $KUBE_SIM_NAMESPACE
labels:
run: $CR_APP_NAME
autotest: CR
spec:
replicas: 1
selector:
matchLabels:
run: $CR_APP_NAME
template:
metadata:
labels:
run: $CR_APP_NAME
autotest: CR
spec:
containers:
- name: $CR_APP_NAME
image: $CR_IMAGE
imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
ports:
- name: http
containerPort: $CR_INTERNAL_PORT
- name: https
containerPort: $CR_INTERNAL_SECURE_PORT