From 6192d56fd3dc5733c8cb49a3e986067b74636e32 Mon Sep 17 00:00:00 2001 From: Peter Colledge Date: Wed, 17 Jan 2024 09:38:11 +0000 Subject: [PATCH] cleanup: Regenerate bundle for controlPlane, affinity, imagePullPolicy --- ...onload-operator.clusterserviceversion.yaml | 19 ++++++++++++++++--- bundle/manifests/onload.amd.com_onloads.yaml | 14 ++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/bundle/manifests/onload-operator.clusterserviceversion.yaml b/bundle/manifests/onload-operator.clusterserviceversion.yaml index 809dcb0..91dafdb 100644 --- a/bundle/manifests/onload-operator.clusterserviceversion.yaml +++ b/bundle/manifests/onload-operator.clusterserviceversion.yaml @@ -14,10 +14,10 @@ metadata: }, "spec": { "devicePlugin": { - "imagePullPolicy": "Always" + "imagePullPolicy": "IfNotPresent" }, "onload": { - "imagePullPolicy": "Always", + "imagePullPolicy": "IfNotPresent", "kernelMappings": [ { "build": { @@ -51,7 +51,7 @@ metadata: } ] capabilities: Basic Install - createdAt: "2024-01-03T12:34:25Z" + createdAt: "2024-01-17T09:24:35Z" operators.operatorframework.io/builder: operator-sdk-v1.31.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 name: onload-operator.v3.0.0 @@ -177,6 +177,19 @@ spec: labels: control-plane: controller-manager spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/arch + operator: In + values: + - amd64 + - key: kubernetes.io/os + operator: In + values: + - linux containers: - args: - --leader-elect diff --git a/bundle/manifests/onload.amd.com_onloads.yaml b/bundle/manifests/onload.amd.com_onloads.yaml index c761e46..30b41c9 100644 --- a/bundle/manifests/onload.amd.com_onloads.yaml +++ b/bundle/manifests/onload.amd.com_onloads.yaml @@ -95,6 +95,20 @@ spec: description: Onload is the specification of the version of Onload to be used by this CR properties: + controlPlane: + description: ControlPlane allows fine-tuning of the Onload control + plane server. + properties: + parameters: + default: + - -K + description: Parameters is an optional list of parameters + passed to the Onload control plane server when launched + by the Onload kernel module. + items: + type: string + type: array + type: object imagePullPolicy: description: 'ImagePullPolicy is the policy used when pulling images. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images'