github.com/yrj2011/jx-test-infra@v0.0.0-20190529031832-7a2065ee98eb/prow/cluster/sinker_deployment.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Deployment
     3  metadata:
     4    name: sinker
     5    labels:
     6      app: sinker
     7  spec:
     8    replicas: 1
     9    template:
    10      metadata:
    11        labels:
    12          app: sinker
    13      spec:
    14        # serviceAccountName: "sinker" # Uncomment for use with RBAC
    15        containers:
    16        - name: sinker
    17          args:
    18          - --build-cluster=/etc/cluster/cluster
    19          - --job-config-path=/etc/job-config
    20          image: gcr.io/k8s-prow/sinker:v20180723-3632407bc
    21          volumeMounts:
    22          - mountPath: /etc/cluster
    23            name: cluster
    24            readOnly: true
    25          - name: config
    26            mountPath: /etc/config
    27            readOnly: true
    28          - name: job-config
    29            mountPath: /etc/job-config
    30            readOnly: true
    31        volumes:
    32        - name: cluster
    33          secret:
    34            defaultMode: 420
    35            secretName: build-cluster
    36        - name: config
    37          configMap:
    38            name: config
    39        - name: job-config
    40          configMap:
    41            name: job-config