Skip to content

Commit c0772a3

Browse files
authored
RHOAIENG-18400: chore(.tekton/): since ubi8 (and ubi9) minimal images fail in Konflux when subscribed with entitlement certificate, hide the certificate from our build so that it does not fail (#572)
https://redhat-internal.slack.com/archives/C04PZ7H0VA8/p1742819729272789
1 parent 6bad087 commit c0772a3

4 files changed

+12
-0
lines changed

.tekton/kf-notebook-controller-pull-request.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ spec:
214214
value: $(params.dockerfile)
215215
- name: CONTEXT
216216
value: $(params.path-context)
217+
# KFLUXSPRT-2401: rename the secret so it's not found, otherwise it breaks ubi8:minimal builds
218+
- name: ENTITLEMENT_SECRET
219+
value: no-such-thing-for-ya
217220
- name: HERMETIC
218221
value: $(params.hermetic)
219222
- name: PREFETCH_INPUT

.tekton/kf-notebook-controller-push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ spec:
213213
value: $(params.dockerfile)
214214
- name: CONTEXT
215215
value: $(params.path-context)
216+
# KFLUXSPRT-2401: rename the secret so it's not found, otherwise it breaks ubi8:minimal builds
217+
- name: ENTITLEMENT_SECRET
218+
value: no-such-thing-for-ya
216219
- name: HERMETIC
217220
value: $(params.hermetic)
218221
- name: PREFETCH_INPUT

.tekton/odh-notebook-controller-pull-request.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ spec:
214214
value: $(params.dockerfile)
215215
- name: CONTEXT
216216
value: $(params.path-context)
217+
# KFLUXSPRT-2401: rename the secret so it's not found, otherwise it breaks ubi8:minimal builds
218+
- name: ENTITLEMENT_SECRET
219+
value: no-such-thing-for-ya
217220
- name: HERMETIC
218221
value: $(params.hermetic)
219222
- name: PREFETCH_INPUT

.tekton/odh-notebook-controller-push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ spec:
213213
value: $(params.dockerfile)
214214
- name: CONTEXT
215215
value: $(params.path-context)
216+
# KFLUXSPRT-2401: rename the secret so it's not found, otherwise it breaks ubi8:minimal builds
217+
- name: ENTITLEMENT_SECRET
218+
value: no-such-thing-for-ya
216219
- name: HERMETIC
217220
value: $(params.hermetic)
218221
- name: PREFETCH_INPUT

0 commit comments

Comments
 (0)