...
1package kube
2
3deployment: 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 volumeMounts: [{
17 name: "config-volume"
18 mountPath: "/etc/authproxy"
19 }]
20 }]
21 volumes: [{
22 name: "config-volume"
23 configMap: name: "authproxy"
24 }]
25 }
26 }
27}
View as plain text