Skip to content

Commit a14a35e

Browse files
authored
Merge pull request Mellanox#227 from rollandf/repository
chore: use vars for containers repositories
2 parents c8cc284 + 2105e0e commit a14a35e

File tree

8 files changed

+152
-105
lines changed

8 files changed

+152
-105
lines changed

docs/common/vars.rst

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,50 @@
11
.. |network-operator-version| replace:: v25.7.0-beta.1
2+
.. |network-operator-repository| replace:: nvcr.io/nvstaging/mellanox
23
.. |helm-chart-version| replace:: 25.7.0-beta.1
34
.. |ocp-channel| replace:: v25.7
45
.. |doca-driver-version| replace:: 25.04-0.6.1.0-2
6+
.. |doca-driver-repository| replace:: nvcr.io/nvstaging/mellanox
57
.. |doca-driver-version-lts| replace:: 24.10-0.7.0.0-0
68
.. |doca-init-container-version| replace:: v0.0.3
9+
.. |doca-init-container-repository| replace:: ghcr.io/mellanox
710
.. |sriov-device-plugin-version| replace:: network-operator-v25.7.0-beta.1
11+
.. |sriov-device-plugin-repository| replace:: nvcr.io/nvstaging/mellanox
812
.. |k8s-rdma-shared-dev-plugin-version| replace:: network-operator-v25.7.0-beta.1
13+
.. |k8s-rdma-shared-dev-plugin-repository| replace:: nvcr.io/nvstaging/mellanox
914
.. |ib-kubernetes-version| replace:: network-operator-v25.7.0-beta.1
15+
.. |ib-kubernetes-repository| replace:: nvcr.io/nvstaging/mellanox
1016
.. |cni-plugins-version| replace:: network-operator-v25.7.0-beta.1
17+
.. |cni-plugins-repository| replace:: nvcr.io/nvstaging/mellanox
1118
.. |multus-version| replace:: network-operator-v25.7.0-beta.1
19+
.. |multus-repository| replace:: nvcr.io/nvstaging/mellanox
1220
.. |ipoib-cni-version| replace:: network-operator-v25.7.0-beta.1
21+
.. |ipoib-cni-repository| replace:: nvcr.io/nvstaging/mellanox
1322
.. |whereabouts-version| replace:: network-operator-v25.7.0-beta.1
23+
.. |whereabouts-repository| replace:: nvcr.io/nvstaging/mellanox
1424
.. |nvidia-ipam-version| replace:: network-operator-v25.7.0-beta.1
25+
.. |nvidia-ipam-repository| replace:: nvcr.io/nvstaging/mellanox
1526
.. |nic-feature-discovery-version| replace:: network-operator-v25.7.0-beta.1
27+
.. |nic-feature-discovery-repository| replace:: nvcr.io/nvstaging/mellanox
1628
.. |sriovnetop-version| replace:: network-operator-25.4.0
29+
.. |sriovnetop-repository| replace:: nvcr.io/nvidia/mellanox
1730
.. |sriovnetop-sriov-cni-version| replace:: network-operator-v25.7.0-beta.1
31+
.. |sriovnetop-sriov-cni-repository| replace:: nvcr.io/nvstaging/mellanox
1832
.. |sriovnetop-ib-sriov-cni-version| replace:: network-operator-v25.7.0-beta.1
33+
.. |sriovnetop-ib-sriov-cni-repository| replace:: nvcr.io/nvstaging/mellanox
1934
.. |sriovnetop-sriov-device-plugin-version| replace:: network-operator-v25.7.0-beta.1
35+
.. |sriovnetop-sriov-device-plugin-repository| replace:: nvcr.io/nvstaging/mellanox
2036
.. |doca-telemetry-version| replace:: 1.21.4-doca3.0.0-host
21-
.. |node-feature-discovery-version| replace:: v0.15.6
37+
.. |doca-telemetry-repository| replace:: nvcr.io/nvidia/doca
38+
.. |node-feature-discovery-version| replace:: v0.17.0
39+
.. |node-feature-discovery-repository| replace:: registry.k8s.io/nfd
2240
.. |doca-driver-build-commit| replace:: f5de72596d639bc369566676038ac251c9575ca3
2341
.. |nic-configuration-operator-version| replace:: v1.0.3
42+
.. |nic-configuration-operator-repository| replace:: ghcr.io/mellanox
2443
.. |maintenance-operator-version| replace:: network-operator-v25.7.0-beta.1
44+
.. |maintenance-operator-repository| replace:: nvcr.io/nvstaging/mellanox
2545
.. |ovs-cni-version| replace:: network-operator-v25.7.0-beta.1
46+
.. |ovs-cni-repository| replace:: nvcr.io/nvstaging/mellanox
2647
.. |rdma-cni-version| replace:: network-operator-v25.7.0-beta.1
48+
.. |rdma-cni-repository| replace:: nvcr.io/nvstaging/mellanox
2749
.. |spectrumxop-version| replace:: network-operator-v25.7.0-beta.1
50+
.. |spectrumxop-repository| replace:: nvcr.io/nvstaging/mellanox

docs/customizations/cr-full-example.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This example should serve as a reference, it is not recommended to apply it as i
3838
spec:
3939
ofedDriver:
4040
image: doca-driver
41-
repository: nvcr.io/nvidia/mellanox
41+
repository: |doca-driver-repository|
4242
version: |doca-driver-version|
4343
upgradePolicy:
4444
autoUpgrade: true
@@ -59,7 +59,7 @@ This example should serve as a reference, it is not recommended to apply it as i
5959
periodSeconds: 30
6060
rdmaSharedDevicePlugin:
6161
image: k8s-rdma-shared-dev-plugin
62-
repository: ghcr.io/mellanox
62+
repository: |k8s-rdma-shared-dev-plugin-repository|
6363
version: |k8s-rdma-shared-dev-plugin-version|
6464
# The config below directly propagates to k8s-rdma-shared-device-plugin configuration.
6565
# Replace 'devices' with your (RDMA capable) netdevice name.
@@ -78,7 +78,7 @@ This example should serve as a reference, it is not recommended to apply it as i
7878
}
7979
sriovDevicePlugin:
8080
image: sriov-network-device-plugin
81-
repository: ghcr.io/k8snetworkplumbingwg
81+
repository: |sriov-device-plugin-repository|
8282
version: |sriov-device-plugin-version|
8383
config: |
8484
{
@@ -96,48 +96,48 @@ This example should serve as a reference, it is not recommended to apply it as i
9696
secondaryNetwork:
9797
cniPlugins:
9898
image: plugins
99-
repository: ghcr.io/k8snetworkplumbingwg
99+
repository: |cni-plugins-repository|
100100
version: |cni-plugins-version|
101101
ipoib:
102102
image: ipoib-cni
103-
repository: ghcr.io/mellanox
103+
repository: |ipoib-cni-repository|
104104
version: |ipoib-cni-version|
105105
multus:
106106
image: multus-cni
107-
repository: ghcr.io/k8snetworkplumbingwg
107+
repository: |multus-repository|
108108
version: |multus-version|
109109
ipamPlugin:
110110
image: whereabouts
111-
repository: ghcr.io/k8snetworkplumbingwg
111+
repository: |whereabouts-repository|
112112
version: |whereabouts-version|
113113
nvIpam:
114114
image: nvidia-k8s-ipam
115-
repository: ghcr.io/mellanox
115+
repository: |nvidia-ipam-repository|
116116
version: |nvidia-ipam-version|
117117
enableWebhook: false
118118
ibKubernetes:
119119
image: ib-kubernetes
120-
repository: ghcr.io/mellanox/ib-kubernetes
120+
repository: |ib-kubernetes-repository|
121121
version: |ib-kubernetes-version|
122122
pKeyGUIDPoolRangeStart: "02:00:00:00:00:00:00:00"
123123
pKeyGUIDPoolRangeEnd: "02:FF:FF:FF:FF:FF:FF:FF"
124124
ufmSecret: ufm-secret
125125
nicFeatureDiscovery:
126126
image: nic-feature-discovery
127-
repository: ghcr.io/mellanox
127+
repository: |nic-feature-discovery-repository|
128128
version: |nic-feature-discovery-version|
129129
docaTelemetryService:
130130
image: doca_telemetry
131-
repository: nvcr.io/nvidia/doca
131+
repository: |doca-telemetry-repository|
132132
version: |doca-telemetry-version|
133133
nicConfigurationOperator:
134134
operator:
135135
image: nic-configuration-operator
136-
repository: ghcr.io/mellanox
136+
repository: |nic-configuration-operator-repository|
137137
version: |nic-configuration-operator-version|
138138
configurationDaemon:
139139
image: nic-configuration-operator-daemon
140-
repository: ghcr.io/mellanox
140+
repository: |nic-configuration-operator-repository|
141141
version: |nic-configuration-operator-version|
142142
nicFirmwareStorage:
143143
create: true

0 commit comments

Comments
 (0)