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

     1  package kube
     2  
     3  deployment: nginx: {
     4  	image: "nginx:1.11.10-alpine"
     5  
     6  	expose: port: http:  80
     7  	expose: port: https: 443
     8  
     9  	volume: "secret-volume": {
    10  		mountPath: "/etc/ssl"
    11  		spec: secret: secretName: "proxy-secrets"
    12  	}
    13  
    14  	volume: "config-volume": {
    15  		mountPath: "/etc/nginx/nginx.conf"
    16  		subPath:   "nginx.conf"
    17  		spec: configMap: name: "nginx"
    18  	}
    19  }