38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
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
|