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

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: authproxy
     5  spec:
     6    replicas: 1
     7    # podTemplate defines the 'cookie cutter' used for creating
     8    # new pods when necessary
     9    template:
    10      metadata:
    11        labels:
    12          # Important: these labels need to match the selector above
    13          # The api server enforces this constraint.
    14          app: authproxy
    15          domain: prod
    16      spec:
    17        containers:
    18        - name: authproxy
    19          image: skippy/oauth2_proxy:2.0.1
    20          ports:
    21          - containerPort: 4180
    22          args: [
    23            "--config=/etc/authproxy/authproxy.cfg",
    24          ]
    25          volumeMounts:
    26          - name: config-volume
    27            mountPath: /etc/authproxy
    28        volumes:
    29        - name: config-volume
    30          configMap:
    31            name: authproxy