Files
dsk-iac/ansible/01_old/roles/test/files/05-imxc/cmoa-manual.yaml
2023-12-19 13:36:16 +09:00

37 lines
647 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: manual
namespace: imxc
spec:
selector:
matchLabels:
app: manual
replicas: 1
template:
metadata:
labels:
app: manual
spec:
containers:
- name: manual
image: {{ .Values.global.IMXC_IN_REGISTRY }}/manual:{{ .Values.global.CMOA_MANUAL_VERSION }}
imagePullPolicy: IfNotPresent
---
apiVersion: v1
kind: Service
metadata:
name: manual
namespace: imxc
spec:
type: NodePort
selector:
app: manual
ports:
- protocol: TCP
port: 8088
targetPort: 3000
nodePort: {{ .Values.global.CMOA_MANUAL_PORT }}