Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (32 sloc) 930 Bytes
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: service
name: multi-stage-react-app-example
spec:
replicas: 1
selector:
matchLabels:
app: multi-stage-react-app-example
template:
metadata:
labels:
app.kubernetes.io/component: service
app: multi-stage-react-app-example
spec:
containers:
- name: multi-stage-react-app-example
image: multi-stage-react-app-example:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
volumeMounts:
- name: multi-stage-react-app-example-config-volume
mountPath: /usr/share/nginx/html/config.js
subPath: config.js
readOnly: true
volumes:
- name: multi-stage-react-app-example-config-volume
configMap:
name: multi-stage-react-app-example-config
You can’t perform that action at this time.