...

Text file src/cuelang.org/go/doc/tutorial/kubernetes/original/services/proxy/authproxy/kube.yaml

Documentation: cuelang.org/go/doc/tutorial/kubernetes/original/services/proxy/authproxy

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: authproxy
     5spec:
     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      - image: skippy/oauth2_proxy:2.0.1
    19        ports:
    20        - containerPort: 4180
    21        args: [
    22          "--config=/etc/authproxy/authproxy.cfg",
    23        ]
    24        name: authproxy
    25        volumeMounts:
    26        - name: config-volume
    27          mountPath: /etc/authproxy
    28      volumes:
    29      - name: config-volume
    30        configMap:
    31          name: authproxy

View as plain text