buildpacks-community/kpack

Add k8's service bindings for dependencies in Build resource

Opened this issue · 3 comments

Hello,

We want to make all dependencies air gapped so we download it to artifactory and create a secret for all the dependencies. We want to use this as k8's service bindings. From the documentation, i see build resource will not support service binding but image resource does.

Our requirement is to do one-off builds and avoid rebuilds. so dont want to use image resource. The limitation we are facing is that we dont know how to make it air-gapped for build resource by mapping dependencies using k8's secret.

Can someone provide some input ?

Does Image Resource support dependency-mapping bindings?

Yes it is. You can add it under build section.

build:
services:
- name: dependencies
kind: Secret
apiVersion: v1