github.com/abayer/test-infra@v0.0.5/mungegithub/submit-queue/deployment.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Deployment
     3  metadata:
     4    name: @@-submit-queue
     5  spec:
     6    replicas: 1
     7    template:
     8      metadata:
     9        labels:
    10          app: submit-queue
    11          target-repo: @@
    12      spec:
    13        containers:
    14        - name: submit-queue
    15          command:
    16          - /mungegithub
    17          - --dry-run=true
    18          - --stderrthreshold=INFO
    19          - --config-path=/etc/munge-config/configmap.yaml
    20          image: gcr.io/k8s-testimages/submit-queue:2017-05-02-90fe8836
    21          ports:
    22          - name: status
    23            containerPort: 8080
    24          resources:
    25            requests:
    26              cpu: 100m
    27            limits:
    28              cpu: 100m
    29          volumeMounts:
    30          - mountPath: /etc/munge-config
    31            name: munge-config
    32          - mountPath: /etc/secret-volume
    33            name: secret-volume
    34          - mountPath: /etc/hook-secret-volume
    35            name: hook-secret-volume
    36          - mountPath: /gitrepos
    37            name: repo
    38          - mountPath: /cache
    39            name: cache-volume
    40        volumes:
    41        - name: munge-config
    42          configMap:
    43            name: @@-submit-queue-config
    44        - name: secret-volume
    45          secret:
    46            secretName: @@-github-token
    47        - name: hook-secret-volume
    48          secret:
    49            secretName: @@-github-secret
    50        - name: repo
    51          emptyDir: {}
    52        - name: cache-volume
    53          persistentVolumeClaim:
    54            claimName: @@-cache