-
Notifications
You must be signed in to change notification settings - Fork 5
/
patch-onload.yaml
58 lines (48 loc) · 2.24 KB
/
patch-onload.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: (c) Copyright 2023 Advanced Micro Devices, Inc.
apiVersion: onload.amd.com/v1alpha1
kind: Onload
metadata:
name: onload
spec:
# For descriptions of top-level properties,
# see ../base/onload_v1alpha1_onload.yaml
onload:
version: 8.1.2.26
# Property descriptions for the version running in your cluster is available
# via the command `kubectl explain onload.spec.onload.kernelMappings`.
# A subset of KMM properties.
# Refer to KMM documentation for KernelModuleImage, Regexp, and BuildArgs.
kernelMappings:
# Regexp is a regular expression that is used to match against the
# kernel versions of the nodes in the cluster.
# Use also in place of literal strings. Required.
- regexp: '^.*\.x86_64$'
# KernelModuleImage is the image that contains the out-of-tree kernel
# modules used by Onload. Absent image tags may be built by KMM.
# Required.
kernelModuleImage: onload/onload-module
# Build specifies the parameters that are to be passed to the Kernel
# Module Management operator when building the images that contain the
# module. The build process creates a new image which will be written to
# the location specified by the `KernelModuleImage` parameter. If empty,
# no builds will take place. Optional.
build:
# BuildArgs is an array of build variables that are provided to the
# image building backend.
# Optional. When used, both `name` & `value` are required.
buildArgs:
# Example Dockerfile ARG.
# String appended to `onload_build` script command. Optional.
- name: ONLOAD_BUILD_PARAMS
value: ""
# Example Dockerfile ARG.
# Location of `onload-source` container image. Required.
- name: ONLOAD_SOURCE
value: onload/onload-source
# ConfigMap that holds Dockerfile contents. Required.
dockerfileConfigMap:
name: onload-module-dockerfile
# SFC optionally specifies that the controller will manage the SFC
# kernel. Incompatible with boot-time loading approaches. Optional.
sfc: {}