|
|
@ -39,12 +39,12 @@ spec: |
|
|
volumeMounts: |
|
|
volumeMounts: |
|
|
- mountPath: /etc/nginx/conf.d |
|
|
- mountPath: /etc/nginx/conf.d |
|
|
readOnly: true |
|
|
readOnly: true |
|
|
name: nginx-conf |
|
|
name: nginx-shop-conf |
|
|
imagePullPolicy: Always |
|
|
imagePullPolicy: Always |
|
|
volumes: |
|
|
volumes: |
|
|
- name: nginx-conf |
|
|
- name: nginx-shop-conf |
|
|
configMap: |
|
|
configMap: |
|
|
name: nginx-conf |
|
|
name: nginx-shop-conf |
|
|
|
|
|
|
|
|
--- |
|
|
--- |
|
|
apiVersion: v1 |
|
|
apiVersion: v1 |
|
|
@ -64,7 +64,7 @@ apiVersion: v1 |
|
|
kind: ConfigMap |
|
|
kind: ConfigMap |
|
|
metadata: |
|
|
metadata: |
|
|
namespace: dev-environment |
|
|
namespace: dev-environment |
|
|
name: nginx-conf |
|
|
name: nginx-shop-conf |
|
|
data: |
|
|
data: |
|
|
default.conf: | |
|
|
default.conf: | |
|
|
upstream backend { |
|
|
upstream backend { |
|
|
|