ce7cb702218693d08ea6d83464d2457c9250027c

This commit is contained in:
ms2k 2026-11-12 20:46:28 +09:00
commit 34c5f8963c

View file

@ -0,0 +1,38 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namePrefix: relay-pub-
resources:
- ../go-oci/base
patches:
- target:
group: argoproj.io
version: v1alpha1
kind: WorkflowTemplate
name: build
patch: |-
- op: replace
path: /metadata/labels/app.kubernetes.io~1instance
value: relay-publisher-oci
- op: add
path: /spec/templates/4/container/env/2
value: &toolchain-profile
name: GO_OCI_TOOLCHAIN_PROFILE
value: busybox-tests
- op: add
path: /spec/templates/5/container/env/1
value: *toolchain-profile
- op: add
path: /spec/templates/6/container/env/2
value:
name: PATH
value: /toolchain/test-bin
- op: add
path: /spec/templates/6/container/volumeMounts/3
value:
name: workflow-workspace
mountPath: /bin/sh
subPath: toolchain/usr/bin/busybox
readOnly: true
- op: add
path: /spec/templates/8/container/env/2
value: *toolchain-profile