1package kube 2 3deployment: nginx: { 4 image: "nginx:1.11.10-alpine" 5 6 expose: port: http: 80 7 expose: port: https: 443 8 9 volume: "secret-volume": { 10 mountPath: "/etc/ssl" 11 spec: secret: secretName: "proxy-secrets" 12 } 13 14 volume: "config-volume": { 15 mountPath: "/etc/nginx/nginx.conf" 16 subPath: "nginx.conf" 17 spec: configMap: name: "nginx" 18 } 19}