github.com/opendevstack/tailor@v1.3.5-0.20220119161809-cab064e60a67/internal/test/e2e/testdata/buildconfig/0/template.yml (about)

     1  apiVersion: v1
     2  kind: Template
     3  objects:
     4  - apiVersion: v1
     5    kind: BuildConfig
     6    metadata:
     7      name: foo
     8    spec:
     9      output:
    10        to:
    11          kind: ImageStreamTag
    12          name: 'foo:latest'
    13      postCommit: {}
    14      resources:
    15        limits:
    16          cpu: "1"
    17          memory: 256Mi
    18        requests:
    19          cpu: 500m
    20          memory: 128Mi
    21      runPolicy: Serial
    22      source:
    23        git:
    24          ref: master
    25          uri: https://github.com/opendevstack/tailor.git
    26        sourceSecret:
    27          name: token
    28        type: Git
    29      strategy:
    30        dockerStrategy:
    31          forcePull: true
    32          noCache: true
    33          buildArgs:
    34            - name: foo
    35              value: bar
    36        type: Docker
    37      successfulBuildsHistoryLimit: 5
    38      failedBuildsHistoryLimit: 5
    39      nodeSelector: null
    40      triggers: []