Files
jambonz-infrastructure/kubernetes/webapp/webapp-deployment.yaml
T

30 lines
644 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: webapp
name: webapp
spec:
replicas: 1
selector:
matchLabels:
app: webapp
template:
metadata:
labels:
app: webapp
spec:
nodeSelector:
kubernetes.io/arch: amd64
containers:
- env:
- name: REACT_APP_API_BASE_URL
value: https://api-server/v1
- name: NODE_OPTIONS
value: '--openssl-legacy-provider'
image: jambonz/webapp:latest
name: webapp
ports:
- containerPort: 3001
resources: {}
restartPolicy: Always