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

     1  package kube
     2  
     3  deployment: authproxy: spec: {
     4  	// podTemplate defines the 'cookie cutter' used for creating
     5  	// new pods when necessary
     6  	template: {
     7  		spec: {
     8  			containers: [{
     9  				image: "skippy/oauth2_proxy:2.0.1"
    10  				ports: [{
    11  					containerPort: 4180
    12  				}]
    13  				args: [
    14  					"--config=/etc/authproxy/authproxy.cfg",
    15  				]
    16  
    17  				volumeMounts: [{
    18  					name:      "config-volume"
    19  					mountPath: "/etc/authproxy"
    20  				}]
    21  			}]
    22  			volumes: [{
    23  				name: "config-volume"
    24  				configMap: name: "authproxy"
    25  			}]
    26  		}
    27  	}
    28  }