Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"prHourlyLimit": 10,
"prConcurrentLimit": 10,
"dependencyDashboard": false,
"extends": [
"config:recommended",
":disableDependencyDashboard",
"config:recommended",
":disableDependencyDashboard",
"config:recommended",
":disableDependencyDashboard",
"config:recommended",
":disableDependencyDashboard",
"config:recommended",
":disableDependencyDashboard",
"config:recommended",
":disableDependencyDashboard",
"config:recommended",
":disableDependencyDashboard",
"config:recommended",
":disableDependencyDashboard"
],
"forkProcessing": "enabled",
"ignorePaths": ["vendor/**"],
"enabledManagers": ["custom.regex"],
"recreateWhen": "always",
"separateMultipleMajor": false,
"separateMinorPatch": false,
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml"
],
"matchStrings": [
"[-\\s]*value:\\s*\"?(?<depName>[^:\"]+)(?::(?<currentValue>[^@\"]+))?@(?<currentDigest>sha256:[a-f0-9]{64})\"?",
"[-\\s]*image: (?<depName>.*?)(?::(?<currentValue>.*?))?@(?<currentDigest>sha256:[a-f0-9]{64})",
"- name: (?<suffix>[\\w-]+)[-\\s]*image: (?<depName>.*?)(?::(?<currentValue>.*?))?@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"versioningTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"managerFilePatterns": [
"deployments/gpu-operator/values.yaml"
],
"matchStrings": [
"[-\\s]*repository:\\s*(?<repo>\\S+)\\s*\\n(?:\\s*#.*\\n|\\s*\\n)*[-\\s]*image:\\s*(?<image>\\S+)\\s*\\n(?:\\s*#.*\\n|\\s*\\n)*[-\\s]*version:\\s*(?<currentValue>\\S+)"
],
"depNameTemplate": "{{repo}}/{{image}}",
"datasourceTemplate": "docker",
"versioningTemplate": "loose"
}
],
"packageRules": [
{
"matchPaths": ["deployments/gpu-operator/values.yaml"],
"matchPackageNames": [
"nvcr.io/nvidia/cloud-native/k8s-driver-manager",
"nvcr.io/nvidia/cloud-native/k8s-kata-manager",
"nvcr.io/nvidia/cloud-native/vgpu-device-manager",
"nvcr.io/nvidia/cloud-native/vgpu-cc-manager",
"nvcr.io/nvidia/kubevirt-gpu-device-plugin",
"nvcr.io/nvidia/k8s-device-plugin"
],
"versioning": "regex:^v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
"separateMajorMinor": false
},
{
"matchPaths": ["deployments/gpu-operator/values.yaml"],
"matchPackageNames": [
"nvcr.io/nvidia/k8s/container-toolkit",
"nvcr.io/nvidia/cloud-native/k8s-mig-manager"
],
"versioning": "regex:^v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-ubuntu(?<ubuntu>\\d+\\.\\d+)$",
"separateMajorMinor": false
},
{
"matchPaths": ["deployments/gpu-operator/values.yaml"],
"matchPackageNames": [
"nvcr.io/nvidia/cuda"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-base-ubi9$",
"separateMajorMinor": false
},
{
"groupName": "bump all nvcr packages for deploymens and clusterservice, skip driver",
"matchPackageNames": ["/.*/"]
},
{
"matchPackageNames": ["nvcr.io/nvidia/driver"],
"enabled": false
}
]
}
22 changes: 22 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Renovate

on:
workflow_dispatch:
schedule:
- cron: "0 9 * * *"

jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Renovate
uses: renovatebot/[email protected]
with:
configurationFile: .github/renovate.json
env:
RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RENOVATE_REPOSITORIES: '["shivakunv/gpu-operator"]'
RENOVATE_ONBOARDING: false
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ metadata:
"driverType": "gpu",
"repository": "nvcr.io/nvidia",
"image": "driver",
"version": "sha256:b74c06db9fda39e93d65649e1f447cb7bb82edfdc729936b4e67d11bbf9a4715",
"version": "sha256:6729c252a8877f29a1e5e336b945efa5126ea555db3c83b06e2e3d9843e647c7",
"nodeSelector": {},
"manager": {},
"repoConfig": {
Expand Down Expand Up @@ -203,13 +203,13 @@ spec:
- name: gpu-operator-image
image: ghcr.io/nvidia/gpu-operator:main-latest
- name: dcgm-exporter-image
image: nvcr.io/nvidia/k8s/dcgm-exporter@sha256:6c78381d83e2ccd84e9645d35d8768d98a52b73c75d1bb9395b5f030ce9bd3a4
image: nvcr.io/nvidia/k8s/dcgm-exporter@sha256:b848747435dfecb216484d16363a9897f64232b3c3ae7f171dde06525d8606b4
- name: dcgm-image
image: nvcr.io/nvidia/cloud-native/dcgm@sha256:ec473ac9f8e4f638e97ec5ffd6f6d3dbbfc3a53bdd07514745c8868676979bba
image: nvcr.io/nvidia/cloud-native/dcgm@sha256:954cb65ae82d3663903299b2c9dab006df8b2bb6d59115ac5f63262f3b10aa30
- name: container-toolkit-image
image: nvcr.io/nvidia/k8s/container-toolkit@sha256:51c8f71d3b3c08ae4eb4853697e3f8e6f11e435e666e08210178e6a1faf8028f
- name: driver-image
image: nvcr.io/nvidia/driver@sha256:b74c06db9fda39e93d65649e1f447cb7bb82edfdc729936b4e67d11bbf9a4715
image: nvcr.io/nvidia/driver@sha256:6729c252a8877f29a1e5e336b945efa5126ea555db3c83b06e2e3d9843e647c7
- name: driver-image-550
image: nvcr.io/nvidia/driver@sha256:8b89435d54a2e6a33c480dd0659e9a4a73f872a6187f9f9eadd934ecb45ac273
- name: driver-image-535
Expand Down Expand Up @@ -901,13 +901,13 @@ spec:
- name: "CONTAINER_TOOLKIT_IMAGE"
value: "nvcr.io/nvidia/k8s/container-toolkit@sha256:51c8f71d3b3c08ae4eb4853697e3f8e6f11e435e666e08210178e6a1faf8028f"
- name: "DCGM_IMAGE"
value: "nvcr.io/nvidia/cloud-native/dcgm@sha256:ec473ac9f8e4f638e97ec5ffd6f6d3dbbfc3a53bdd07514745c8868676979bba"
value: "nvcr.io/nvidia/cloud-native/dcgm@sha256:954cb65ae82d3663903299b2c9dab006df8b2bb6d59115ac5f63262f3b10aa30"
- name: "DCGM_EXPORTER_IMAGE"
value: "nvcr.io/nvidia/k8s/dcgm-exporter@sha256:6c78381d83e2ccd84e9645d35d8768d98a52b73c75d1bb9395b5f030ce9bd3a4"
value: "nvcr.io/nvidia/k8s/dcgm-exporter@sha256:b848747435dfecb216484d16363a9897f64232b3c3ae7f171dde06525d8606b4"
- name: "DEVICE_PLUGIN_IMAGE"
value: "nvcr.io/nvidia/k8s-device-plugin@sha256:037160a36de0f060fc21cc0cb2f795d980282ff1471b55530433ca4350b24c4f"
- name: "DRIVER_IMAGE"
value: "nvcr.io/nvidia/driver@sha256:b74c06db9fda39e93d65649e1f447cb7bb82edfdc729936b4e67d11bbf9a4715"
value: "nvcr.io/nvidia/driver@sha256:6729c252a8877f29a1e5e336b945efa5126ea555db3c83b06e2e3d9843e647c7"
- name: "DRIVER_IMAGE-550"
value: "nvcr.io/nvidia/driver@sha256:8b89435d54a2e6a33c480dd0659e9a4a73f872a6187f9f9eadd934ecb45ac273"
- name: "DRIVER_IMAGE-535"
Expand Down
18 changes: 9 additions & 9 deletions deployments/gpu-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ operator:
# to be passed during helm upgrade.
upgradeCRD: true
initContainer:
image: cuda
repository: nvcr.io/nvidia
image: cuda
version: 12.8.1-base-ubi9
imagePullPolicy: IfNotPresent
tolerations:
Expand Down Expand Up @@ -146,7 +146,7 @@ driver:
usePrecompiled: false
repository: nvcr.io/nvidia
image: driver
version: "570.158.01"
version: "570.148.08"
imagePullPolicy: IfNotPresent
imagePullSecrets: []
startupProbe:
Expand Down Expand Up @@ -192,8 +192,8 @@ driver:
timeoutSeconds: 300
deleteEmptyDir: false
manager:
image: k8s-driver-manager
repository: nvcr.io/nvidia/cloud-native
image: k8s-driver-manager
# When choosing a different version of k8s-driver-manager, DO NOT downgrade to a version lower than v0.6.4
# to ensure k8s-driver-manager stays compatible with gpu-operator starting from v24.3.0
version: v0.8.0
Expand Down Expand Up @@ -234,7 +234,7 @@ toolkit:
enabled: true
repository: nvcr.io/nvidia/k8s
image: container-toolkit
version: v1.17.8-ubuntu20.04
version: v1.17.7-ubuntu20.04
imagePullPolicy: IfNotPresent
imagePullSecrets: []
env: []
Expand All @@ -245,7 +245,7 @@ devicePlugin:
enabled: true
repository: nvcr.io/nvidia
image: k8s-device-plugin
version: v0.17.2
version: v0.17.1
imagePullPolicy: IfNotPresent
imagePullSecrets: []
args: []
Expand Down Expand Up @@ -303,7 +303,7 @@ dcgm:
enabled: false
repository: nvcr.io/nvidia/cloud-native
image: dcgm
version: 4.2.3-1-ubuntu22.04
version: 4.1.1-2-ubuntu22.04
imagePullPolicy: IfNotPresent
args: []
env: []
Expand All @@ -313,7 +313,7 @@ dcgmExporter:
enabled: true
repository: nvcr.io/nvidia/k8s
image: dcgm-exporter
version: 4.2.3-4.1.3-ubuntu22.04
version: 4.2.3-4.1.1-ubuntu22.04
imagePullPolicy: IfNotPresent
env:
- name: DCGM_EXPORTER_LISTEN
Expand Down Expand Up @@ -464,8 +464,8 @@ vgpuManager:
env: []
resources: {}
driverManager:
image: k8s-driver-manager
repository: nvcr.io/nvidia/cloud-native
image: k8s-driver-manager
# When choosing a different version of k8s-driver-manager, DO NOT downgrade to a version lower than v0.6.4
# to ensure k8s-driver-manager stays compatible with gpu-operator starting from v24.3.0
version: v0.8.0
Expand Down Expand Up @@ -498,8 +498,8 @@ vfioManager:
env: []
resources: {}
driverManager:
image: k8s-driver-manager
repository: nvcr.io/nvidia/cloud-native
image: k8s-driver-manager
# When choosing a different version of k8s-driver-manager, DO NOT downgrade to a version lower than v0.6.4
# to ensure k8s-driver-manager stays compatible with gpu-operator starting from v24.3.0
version: v0.8.0
Expand Down
28 changes: 14 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
github.com/go-logr/logr v1.4.3
github.com/mittwald/go-helm-client v0.12.17
github.com/onsi/ginkgo/v2 v2.23.3
github.com/onsi/gomega v1.36.3
github.com/onsi/ginkgo/v2 v2.25.1
github.com/onsi/gomega v1.38.2
github.com/openshift/api v0.0.0-20250311085700-14a17c7009c4
github.com/openshift/client-go v0.0.0-20250131180035-f7ec47e2d87a
github.com/operator-framework/api v0.32.0
Expand All @@ -24,7 +24,7 @@ require (
github.com/urfave/cli/v2 v2.27.7
go.uber.org/automaxprocs v1.6.0
go.uber.org/zap v1.27.0
golang.org/x/mod v0.25.0
golang.org/x/mod v0.27.0
k8s.io/api v0.33.2
k8s.io/apiextensions-apiserver v0.33.2
k8s.io/apimachinery v0.33.2
Expand All @@ -41,7 +41,7 @@ require (
github.com/BurntSushi/toml v1.5.0 // indirect
github.com/MakeNowJust/heredoc v1.0.0 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.3.0 // indirect
github.com/Masterminds/semver/v3 v3.4.0 // indirect
github.com/Masterminds/squirrel v1.5.4 // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
Expand Down Expand Up @@ -83,7 +83,7 @@ require (
github.com/google/btree v1.1.3 // indirect
github.com/google/gnostic-models v0.6.9 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
Expand Down Expand Up @@ -146,20 +146,20 @@ require (
go.opentelemetry.io/otel/trace v1.36.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
go.yaml.in/yaml/v3 v3.0.3 // indirect
golang.org/x/crypto v0.39.0 // indirect
golang.org/x/net v0.41.0 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.41.0 // indirect
golang.org/x/net v0.43.0 // indirect
golang.org/x/oauth2 v0.30.0 // indirect
golang.org/x/sync v0.15.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/term v0.32.0 // indirect
golang.org/x/text v0.26.0 // indirect
golang.org/x/sync v0.16.0 // indirect
golang.org/x/sys v0.35.0 // indirect
golang.org/x/term v0.34.0 // indirect
golang.org/x/text v0.28.0 // indirect
golang.org/x/time v0.12.0 // indirect
golang.org/x/tools v0.34.0 // indirect
golang.org/x/tools v0.36.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/grpc v1.73.0 // indirect
google.golang.org/protobuf v1.36.6 // indirect
google.golang.org/protobuf v1.36.7 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading