github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/doc/tutorial/kubernetes/quick/services/infra/watcher/kube.cue (about) 1 package kube 2 3 deployment: watcher: 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: "star-example-com-secrets" 11 }] 12 containers: [{ 13 image: "gcr.io/myproj/watcher:v0.1.0" 14 ports: [{ 15 containerPort: 7080 16 }, { 17 containerPort: 7788 18 }] 19 volumeMounts: [{ 20 mountPath: "/etc/ssl" 21 name: "secret-volume" 22 }] 23 }] 24 } 25 } 26 } 27 28 deployment: watcher: spec: template: spec: containers: [{ports: [{_export: false}, _]}]