github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/cmd/peribolos/dev.yaml (about)

     1  apiVersion: batch/v1
     2  kind: Job
     3  metadata:
     4    name: peribolos
     5  spec:
     6    backoffLimit: 2
     7    template:
     8      metadata:
     9        name: peribolos
    10      spec:
    11        containers:
    12        - name: peribolos
    13          image: gcr.io/k8s-testimages/peribolos:latest  # Note: not gcr.io/k8s-prow for dev
    14          imagePullPolicy: Always  # Good practice for dev/debugging, bad for prod
    15          args:
    16          - --config-path=/etc/config/config.yaml
    17          - --github-token-path=/etc/github/oauth
    18          - --min-admins=2
    19          - --fix-org
    20          - --fix-org-members
    21          - --fix-teams
    22          - --fix-team-members
    23          #- --confirm
    24          volumeMounts:
    25          - name: oauth
    26            mountPath: /etc/github
    27            readOnly: true
    28          - name: test-config
    29            mountPath: /etc/config
    30            readOnly: true
    31        restartPolicy: Never
    32        volumes:
    33        - name: oauth
    34          secret:
    35            secretName: oauth-token
    36        - name: test-config
    37          configMap:
    38            name: peribolos-test-config
    39