k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/prow/cluster/pipeline_deployment.yaml (about)

     1  kind: Deployment
     2  apiVersion: apps/v1
     3  metadata:
     4    name: prow-pipeline
     5    namespace: default
     6  spec:
     7    replicas: 1
     8    strategy:
     9      type: Recreate
    10    selector:
    11      matchLabels:
    12        app: prow-pipeline
    13    template:
    14      metadata:
    15        labels:
    16          app: prow-pipeline
    17      spec:
    18        serviceAccountName: prow-pipeline
    19        containers:
    20        - name: pipeline
    21          image: gcr.io/k8s-prow/pipeline:v20240517-ea10bd814
    22          args:
    23          - --all-contexts
    24          - --config=/etc/prow-config/config.yaml
    25          env:
    26          # Use KUBECONFIG envvar rather than --kubeconfig flag in order to provide multiple configs to merge.
    27          - name: KUBECONFIG
    28            value: "/etc/kubeconfig/config"
    29          volumeMounts:
    30          - mountPath: /etc/kubeconfig
    31            name: kubeconfig
    32            readOnly: true
    33          - mountPath: /etc/prow-config
    34            name: prow-config
    35            readOnly: true
    36        volumes:
    37        - name: kubeconfig
    38          secret:
    39            defaultMode: 420
    40            secretName: kubeconfig
    41        - name: prow-config
    42          configMap:
    43            name: config