1
0
forked from suse-edge/Factory

Update SR-IOV chart to v1.4.0

Aligning with https://github.com/suse-edge/charts/pull/167
This commit is contained in:
Steven Hardy 2024-11-15 16:49:33 +00:00 committed by Steven Hardy
parent fc3da390e9
commit 8b6dce500e
8 changed files with 52 additions and 20 deletions

View File

@ -1,5 +1,5 @@
#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:1.3.0-%RELEASE% #!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:302.0.0_up1.4.0-%RELEASE%
#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:1.3.0 #!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:302.0.0_up1.4.0
annotations: annotations:
catalog.cattle.io/experimental: "true" catalog.cattle.io/experimental: "true"
catalog.cattle.io/hidden: "true" catalog.cattle.io/hidden: "true"
@ -10,4 +10,4 @@ apiVersion: v2
description: Installs the CRDs for the SR-IOV operator description: Installs the CRDs for the SR-IOV operator
name: sriov-crd name: sriov-crd
type: application type: application
version: 1.3.0 version: 302.0.0+up1.4.0

View File

@ -1,19 +1,19 @@
#!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:1.3.0-%RELEASE% #!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:302.0.0_up1.4.0-%RELEASE%
#!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:1.3.0 #!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:302.0.0_up1.4.0
annotations: annotations:
catalog.cattle.io/auto-install: sriov-crd=match catalog.cattle.io/auto-install: sriov-crd=match
catalog.cattle.io/experimental: "true" catalog.cattle.io/experimental: "true"
catalog.cattle.io/namespace: cattle-sriov-system catalog.cattle.io/namespace: cattle-sriov-system
catalog.cattle.io/os: linux catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux catalog.cattle.io/permits-os: linux
catalog.cattle.io/upstream-version: 1.3.0 catalog.cattle.io/upstream-version: 1.4.0
apiVersion: v2 apiVersion: v2
appVersion: v1.3.0 appVersion: v1.4.0
dependencies: dependencies:
- condition: sriov-nfd.enabled - condition: sriov-nfd.enabled
name: sriov-nfd name: sriov-nfd
repository: file://./charts/sriov-nfd repository: file://./charts/sriov-nfd
version: 0.15.6 version: 0.15.7
description: SR-IOV network operator configures and manages SR-IOV networks in the description: SR-IOV network operator configures and manages SR-IOV networks in the
kubernetes cluster kubernetes cluster
home: https://github.com/k8snetworkplumbingwg/sriov-network-operator home: https://github.com/k8snetworkplumbingwg/sriov-network-operator
@ -25,4 +25,4 @@ name: sriov-network-operator
sources: sources:
- https://github.com/k8snetworkplumbingwg/sriov-network-operator - https://github.com/k8snetworkplumbingwg/sriov-network-operator
type: application type: application
version: 1.3.0 version: 302.0.0+up1.4.0

View File

@ -38,9 +38,20 @@ For additional information and methods for installing Helm, refer to the officia
### Deploy SR-IOV Network Operator ### Deploy SR-IOV Network Operator
#### Deploy from OCI repo
``` ```
$ helm install -n sriov-network-operator --create-namespace --version 1.3.0 --set sriovOperatorConfig.deploy=true sriov-network-operator oci://ghcr.io/k8snetworkplumbingwg/sriov-network-operator-chart
```
#### Deploy from project sources
```
# Clone project
$ git clone https://github.com/k8snetworkplumbingwg/sriov-network-operator.git ; cd sriov-network-operator
# Install Operator # Install Operator
$ helm install -n sriov-network-operator --create-namespace --wait sriov-network-operator ./ $ helm install -n sriov-network-operator --create-namespace --wait --set sriovOperatorConfig.deploy=true sriov-network-operator ./deployment/sriov-network-operator-chart
# View deployed resources # View deployed resources
$ kubectl -n sriov-network-operator get pods $ kubectl -n sriov-network-operator get pods
@ -128,3 +139,13 @@ This section contains general parameters that apply to both the operator and dae
| `images.sriovDevicePlugin` | SR-IOV device plugin image | | `images.sriovDevicePlugin` | SR-IOV device plugin image |
| `images.resourcesInjector` | Resources Injector image | | `images.resourcesInjector` | Resources Injector image |
| `images.webhook` | Operator Webhook image | | `images.webhook` | Operator Webhook image |
### Extra objects parameters
**Disclaimer**:
Please note that any resources deployed using the `extraDeploy` in this Helm chart are the sole responsibility of the user. It is important to review and understand the implications of these deployed resources. The maintainers of this Helm chart take no responsibility for any issues or damages caused by the deployment or operation of these resources.
| Name | description |
| ---- | ------------|
|`extraDeploy`| Array of extra objects to deploy with the release |

View File

@ -1,5 +1,5 @@
apiVersion: v2 apiVersion: v2
appVersion: v0.15.6 appVersion: v0.15.7
description: Detects hardware features available on each node in a Kubernetes cluster, description: Detects hardware features available on each node in a Kubernetes cluster,
and advertises those features using node labels and advertises those features using node labels
home: https://github.com/kubernetes-sigs/node-feature-discovery home: https://github.com/kubernetes-sigs/node-feature-discovery
@ -11,4 +11,4 @@ name: sriov-nfd
sources: sources:
- https://github.com/kubernetes-sigs/node-feature-discovery - https://github.com/kubernetes-sigs/node-feature-discovery
type: application type: application
version: 0.15.6 version: 0.15.7

View File

@ -3,7 +3,7 @@ image:
# This should be set to 'IfNotPresent' for released version # This should be set to 'IfNotPresent' for released version
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# tag, if defined will use the given image tag, else Chart.AppVersion will be used # tag, if defined will use the given image tag, else Chart.AppVersion will be used
tag: v0.15.6-build20240822 tag: v0.15.7-build20241113
imagePullSecrets: [] imagePullSecrets: []
nameOverride: "" nameOverride: ""

View File

@ -0,0 +1,8 @@
{{- range .Values.extraDeploy }}
---
{{- if typeIs "string" . }}
{{- tpl . $ }}
{{- else }}
{{- tpl (. | toYaml) $ }}
{{- end }}
{{- end }}

View File

@ -20,6 +20,8 @@ spec:
maxUnavailable: 33% maxUnavailable: 33%
template: template:
metadata: metadata:
annotations:
openshift.io/required-scc: restricted-v2
labels: labels:
name: sriov-network-operator name: sriov-network-operator
spec: spec:

View File

@ -96,26 +96,27 @@ supportedExtraNICs: []
images: images:
operator: operator:
repository: rancher/hardened-sriov-network-operator repository: rancher/hardened-sriov-network-operator
tag: v1.3.0-build20240816 tag: v1.4.0-build20241113
sriovConfigDaemon: sriovConfigDaemon:
repository: rancher/hardened-sriov-network-config-daemon repository: rancher/hardened-sriov-network-config-daemon
tag: v1.3.0-build20240816 tag: v1.4.0-build20241113
sriovCni: sriovCni:
repository: rancher/hardened-sriov-cni repository: rancher/hardened-sriov-cni
tag: v2.8.1-build20240820 tag: v2.8.1-build20241113
ibSriovCni: ibSriovCni:
repository: rancher/hardened-ib-sriov-cni repository: rancher/hardened-ib-sriov-cni
tag: v1.1.1-build20240816 tag: v1.1.1-build20241113
sriovDevicePlugin: sriovDevicePlugin:
repository: rancher/hardened-sriov-network-device-plugin repository: rancher/hardened-sriov-network-device-plugin
tag: v3.7.0-build20240816 tag: v3.8.0-build20241114
resourcesInjector: resourcesInjector:
repository: rancher/hardened-sriov-network-resources-injector repository: rancher/hardened-sriov-network-resources-injector
tag: v1.6.0-build20240816 tag: v1.6.0-build20241113
webhook: webhook:
repository: rancher/hardened-sriov-network-webhook repository: rancher/hardened-sriov-network-webhook
tag: v1.3.0-build20240816 tag: v1.4.0-build20241113
imagePullSecrets: [] imagePullSecrets: []
extraDeploy: []
global: global:
cattle: cattle:
systemDefaultRegistry: "" systemDefaultRegistry: ""