29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namePrefix: cluster-health-
|
|
resources:
|
|
- ../go-oci/base
|
|
- network-policy.yaml
|
|
patches:
|
|
- target:
|
|
kind: WorkflowTemplate
|
|
name: build
|
|
patch: |-
|
|
- op: replace
|
|
path: /metadata/labels/app.kubernetes.io~1instance
|
|
value: cluster-health
|
|
- op: replace
|
|
path: /spec/podMetadata/labels/delivery.quorate.dev~1project
|
|
value: cluster-health
|
|
- op: add
|
|
path: /spec/templates/4/container/volumeMounts/-
|
|
value: {name: workflow-workspace, mountPath: /output/target, subPath: output/target}
|
|
- op: add
|
|
path: /spec/templates/8/container/volumeMounts/-
|
|
value: {name: workflow-workspace, mountPath: /output/target, subPath: output/target, readOnly: true}
|
|
- op: add
|
|
path: /spec/templates/6/container/volumeMounts/-
|
|
value: {name: workflow-workspace, mountPath: /bin/sh, subPath: toolchain/usr/bin/busybox, readOnly: true}
|
|
- op: replace
|
|
path: /spec/templates/1/volumes/2/ephemeral/volumeClaimTemplate/spec/resources/requests/storage
|
|
value: 10Gi
|