sigs.k8s.io/prow@v0.0.0-20240503223140-c5e374dc7eb1/test/integration/config/prow/cluster/crier_deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    namespace: default
     5    name: crier
     6    labels:
     7      app: crier
     8  spec:
     9    replicas: 1
    10    selector:
    11      matchLabels:
    12        app: crier
    13    template:
    14      metadata:
    15        labels:
    16          app: crier
    17      spec:
    18        serviceAccountName: crier
    19        terminationGracePeriodSeconds: 30
    20        containers:
    21        - name: crier
    22          image: localhost:5001/crier
    23          args:
    24          - --config-path=/etc/config/config.yaml
    25          - --github-endpoint=http://fakeghserver
    26          - --github-token-path=/etc/github/oauth
    27          - --github-workers=1
    28          volumeMounts:
    29          - name: config
    30            mountPath: /etc/config
    31            readOnly: true
    32          - name: oauth
    33            mountPath: /etc/github
    34            readOnly: true
    35        volumes:
    36        - name: config
    37          configMap:
    38            name: config
    39        - name: oauth
    40          secret:
    41            secretName: oauth-token