github.com/solo-io/cue@v0.4.7/doc/tutorial/kubernetes/quick/services/proxy/nginx/kube.cue (about) 1 package kube 2 3 deployment: nginx: spec: { 4 // podTemplate defines the 'cookie cutter' used for creating 5 // new pods when necessary 6 template: { 7 spec: { 8 volumes: [{ 9 name: "secret-volume" 10 secret: secretName: "proxy-secrets" 11 }, { 12 name: "config-volume" 13 configMap: name: "nginx" 14 }] 15 containers: [{ 16 image: "nginx:1.11.10-alpine" 17 ports: [{ 18 containerPort: 80 19 }, { 20 containerPort: 443 21 }] 22 volumeMounts: [{ 23 mountPath: "/etc/ssl" 24 name: "secret-volume" 25 }, { 26 name: "config-volume" 27 mountPath: "/etc/nginx/nginx.conf" 28 subPath: "nginx.conf" 29 }] 30 }] 31 } 32 } 33 }