github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/mungegithub/publisher/deployment.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Deployment
     3  metadata:
     4    name: @@-publisher
     5  spec:
     6    replicas: 1
     7    template:
     8      metadata:
     9        labels:
    10          app: publisher
    11          target-repo: @@
    12      spec:
    13        containers:
    14        - name: publisher
    15          command:
    16          - /mungegithub
    17          - --dry-run=true
    18          - --alsologtostderr
    19          - --config-path=/etc/munge-config/config
    20          - 2>&1
    21          image: gcr.io/k8s-testimages/publisher:2016-05-24-86f86cd
    22          imagePullPolicy: Always
    23          resources:
    24            requests:
    25              cpu: 2000m
    26            limits:
    27              cpu: 2000m
    28          volumeMounts:
    29          - mountPath: /etc/munge-config
    30            name: munge-config
    31          - mountPath: /etc/secret-volume
    32            name: secret-volume
    33          - mountPath: /netrc
    34            name: netrc
    35          - mountPath: /gitrepos
    36            name: repo
    37        volumes:
    38        - name: munge-config
    39          configMap:
    40            name: @@-publisher-config
    41        - name: secret-volume
    42          secret:
    43            secretName: @@-github-token
    44        - name: repo
    45          emptyDir: {}
    46        - name: netrc
    47          emptyDir:
    48            medium: Memory