-
Notifications
You must be signed in to change notification settings - Fork 60
/
cluster-builder.yaml
53 lines (51 loc) · 1.38 KB
/
cluster-builder.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{{- if not .Values.kpackImageBuilder.clusterBuilderName }}
apiVersion: kpack.io/v1alpha2
kind: ClusterStore
metadata:
name: cf-default-buildpacks
spec:
sources:
- image: gcr.io/paketo-buildpacks/java:15.0.0
- image: gcr.io/paketo-buildpacks/nodejs
- image: gcr.io/paketo-buildpacks/ruby:0.46.1
- image: gcr.io/paketo-buildpacks/procfile
- image: gcr.io/paketo-buildpacks/go
---
apiVersion: kpack.io/v1alpha2
kind: ClusterStack
metadata:
name: cf-default-stack
spec:
id: {{ .Values.kpackImageBuilder.clusterStackID | quote }}
buildImage:
image: {{ .Values.kpackImageBuilder.clusterStackBuildImage | quote }}
runImage:
image: {{ .Values.kpackImageBuilder.clusterStackRunImage | quote }}
---
apiVersion: kpack.io/v1alpha2
kind: ClusterBuilder
metadata:
name: cf-kpack-cluster-builder
spec:
serviceAccountRef:
name: kpack-service-account
namespace: {{ .Values.rootNamespace }}
tag: {{ required "builderRepository is required when clusterBuilderName is unset" .Values.kpackImageBuilder.builderRepository }}
stack:
name: cf-default-stack
kind: ClusterStack
store:
name: cf-default-buildpacks
kind: ClusterStore
order:
- group:
- id: paketo-buildpacks/java
- group:
- id: paketo-buildpacks/go
- group:
- id: paketo-buildpacks/nodejs
- group:
- id: paketo-buildpacks/ruby
- group:
- id: paketo-buildpacks/procfile
{{- end }}