openshit-hello-world/deployment/buildconfig.yaml
Sander Hautvast e3b8996d07 first commit
2021-04-26 15:55:20 +02:00

44 lines
No EOL
879 B
YAML

apiVersion: v1
kind: List
metadata:
name: hello-world
items:
- kind: BuildConfig
apiVersion: build.openshift.io/v1
metadata:
name: hello-world
labels:
build: hello-world
spec:
output:
to:
kind: ImageStreamTag
name: 'hello-world:latest'
resources:
limits:
cpu: 700m
memory: 800Mi
succesfulBuildsHistoryLimit: 5
failedBuildsHistoryLimit: 5
strategy:
type: Source
sourceStrategy:
from:
kind: DockerImage
name: 'open-liberty:19.0.0.9-kernel-java11'
postCommit: {}
source:
type: Binary
binary: {}
triggers:
- type: GitHub
github:
secret: 6FCAFBB9756846ED
runPolicy: Serial
- kind: ImageStream
apiVersion: image.openshift.io/v1
metadata:
labels:
build: hello-world
name: hello-world
spec: {}