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

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: watcher
     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: watcher
    15          component: infra
    16          domain: prod
    17      spec:
    18        volumes:
    19        - name: secret-volume
    20          secret:
    21            secretName: star-example-com-secrets
    22        containers:
    23        - name: watcher
    24          image: gcr.io/myproj/watcher:v0.1.0
    25          ports:
    26          - containerPort: 7080
    27          - containerPort: 7788
    28          volumeMounts:
    29            - mountPath: /etc/ssl
    30              name: secret-volume
    31