github.com/solo-io/cue@v0.4.7/doc/tutorial/kubernetes/quick/services/proxy/goget/kube.cue (about)

     1  package kube
     2  
     3  deployment: goget: 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: "goget-secrets"
    11  			}]
    12  			containers: [{
    13  				image: "gcr.io/myproj/goget:v0.5.1"
    14  				ports: [{
    15  					containerPort: 7443
    16  				}]
    17  				volumeMounts: [{
    18  					mountPath: "/etc/ssl"
    19  					name:      "secret-volume"
    20  				}]
    21  			}]
    22  		}
    23  	}
    24  }