Files
cmoa_installer_ansible/roles/cmoa_install/files/05-imxc/cmoa-manual.yaml
2023-05-18 12:38:30 +09:00

37 lines
647 B
YAML
Executable File

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 }}