github.com/opendevstack/tailor@v1.3.5-0.20220119161809-cab064e60a67/internal/test/e2e/testdata/buildconfig/1/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        contextDir: baz
    24        git:
    25          ref: master
    26          uri: https://github.com/opendevstack/tailor.git
    27        sourceSecret:
    28          name: token
    29        type: Git
    30      strategy:
    31        dockerStrategy:
    32          forcePull: true
    33          noCache: true
    34          buildArgs:
    35            - name: foo
    36              value: bar
    37        type: Docker
    38      successfulBuildsHistoryLimit: 5
    39      failedBuildsHistoryLimit: 5
    40      nodeSelector: null
    41      triggers: []