47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||
|
|
kind: Kustomization
|
||
|
|
namePrefix: smartctl-
|
||
|
|
configurations:
|
||
|
|
- k8s/kustomizeconfig.yaml
|
||
|
|
images:
|
||
|
|
- name: registry.quorate.internal/quorate/fsharp-runner
|
||
|
|
digest: sha256:d7b904f4f0cae9fdba7c7345cdf08c91162245834a8a13658d93396272aeec83
|
||
|
|
resources:
|
||
|
|
- ../project-delivery/k8s/workflows/go-oci/parallel
|
||
|
|
- k8s/network-policy.yaml
|
||
|
|
- k8s/project.yaml
|
||
|
|
configMapGenerator:
|
||
|
|
- name: project
|
||
|
|
namespace: project-delivery
|
||
|
|
files:
|
||
|
|
- build.fsx=actions/build.fsx
|
||
|
|
- projects.fsx=actions/projects.fsx
|
||
|
|
- toolchain.fsx=actions/toolchain.fsx
|
||
|
|
- go-oci.apko.yaml=actions/runtime.apko.yaml
|
||
|
|
generatorOptions:
|
||
|
|
disableNameSuffixHash: true
|
||
|
|
labels:
|
||
|
|
app.kubernetes.io/name: project-delivery
|
||
|
|
app.kubernetes.io/instance: smartctl
|
||
|
|
patches:
|
||
|
|
- path: k8s/workflow-patch.yaml
|
||
|
|
target:
|
||
|
|
group: argoproj.io
|
||
|
|
version: v1alpha1
|
||
|
|
kind: WorkflowTemplate
|
||
|
|
name: build
|
||
|
|
replacements:
|
||
|
|
- source:
|
||
|
|
group: argoproj.io
|
||
|
|
version: v1alpha1
|
||
|
|
kind: WorkflowTemplate
|
||
|
|
name: smartctl-build
|
||
|
|
fieldPath: metadata.name
|
||
|
|
targets:
|
||
|
|
- select:
|
||
|
|
group: delivery.quorate.dev
|
||
|
|
version: v1alpha1
|
||
|
|
kind: ProjectDelivery
|
||
|
|
name: smartctl-image
|
||
|
|
fieldPaths:
|
||
|
|
- spec.workflowTemplateRef.name
|