21 lines
539 B
YAML
21 lines
539 B
YAML
|
|
# Patch: mount the nginx ConfigMap into people-frontend to rewrite the
|
||
|
|
# hardcoded production integration URL at serve time.
|
||
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: people-frontend
|
||
|
|
namespace: lasuite
|
||
|
|
spec:
|
||
|
|
template:
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: desk
|
||
|
|
volumeMounts:
|
||
|
|
- name: nginx-conf
|
||
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
||
|
|
subPath: default.conf
|
||
|
|
volumes:
|
||
|
|
- name: nginx-conf
|
||
|
|
configMap:
|
||
|
|
name: people-frontend-nginx-conf
|