fix secret not working (#17810)

This commit is contained in:
zhouya0
2019-11-27 08:45:21 +08:00
committed by Kubernetes Prow Robot
parent ed0483f175
commit 9ba54f5da6
2 changed files with 24 additions and 4 deletions
@@ -35,6 +35,9 @@ spec:
- name: secret-volume
secret:
secretName: nginxsecret
- name: configmap-volume
configMap:
name: nginxconfigmap
containers:
- name: nginxhttps
image: bprashanth/nginxhttps:1.0
@@ -44,3 +47,5 @@ spec:
volumeMounts:
- mountPath: /etc/nginx/ssl
name: secret-volume
- mountPath: /etc/nginx/conf.d
name: configmap-volume