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

     1  package kube
     2  
     3  deployment: caller: spec: {
     4  	replicas: 3
     5  	template: spec: {
     6  		volumes: [{
     7  			name: "ssd-caller"
     8  			gcePersistentDisk: {
     9  				// This disk must already exist.
    10  				pdName: "ssd-caller"
    11  			}
    12  		}, {
    13  		}, {
    14  			name: "secret-ssh-key"
    15  			secret: secretName: "secrets"
    16  		}]
    17  		containers: [{
    18  			image: "gcr.io/myproj/caller:v0.20.14"
    19  			volumeMounts: [{
    20  				name: "ssd-caller"
    21  			}, {
    22  			}, {
    23  				mountPath: "/sslcerts"
    24  				name:      "secret-ssh-key"
    25  				readOnly:  true
    26  			}]
    27  			args: [
    28  				"-env=prod",
    29  				"-key=/etc/certs/client.key",
    30  				"-cert=/etc/certs/client.pem",
    31  				"-ca=/etc/certs/servfx.ca",
    32  				"-ssh-tunnel-key=/sslcerts/tunnel-private.pem",
    33  				"-logdir=/logs",
    34  				"-event-server=events:7788",
    35  			]
    36  		}]
    37  	}
    38  }