Skip to content

Commit c295d3f

Browse files
committed
add operator manifests
Signed-off-by: Alexander Maslennikov <[email protected]>
1 parent e71d17b commit c295d3f

13 files changed

+558
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 2025 NVIDIA CORPORATION & AFFILIATES
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
apiVersion: v1
15+
kind: ServiceAccount
16+
metadata:
17+
name: nic-configuration-operator
18+
namespace: {{ .RuntimeSpec.Namespace }}
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
# 2025 NVIDIA CORPORATION & AFFILIATES
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
---
15+
apiVersion: rbac.authorization.k8s.io/v1
16+
kind: ClusterRole
17+
metadata:
18+
name: nic-configuration-operator
19+
rules:
20+
- apiGroups:
21+
- ""
22+
resources:
23+
- configmaps
24+
verbs:
25+
- get
26+
- apiGroups:
27+
- ""
28+
resources:
29+
- nodes
30+
verbs:
31+
- get
32+
- list
33+
- patch
34+
- update
35+
- watch
36+
- apiGroups:
37+
- ""
38+
resources:
39+
- pods
40+
verbs:
41+
- list
42+
- apiGroups:
43+
- ""
44+
resources:
45+
- pods/eviction
46+
verbs:
47+
- create
48+
- delete
49+
- get
50+
- list
51+
- patch
52+
- update
53+
- watch
54+
- apiGroups:
55+
- configuration.net.nvidia.com
56+
resources:
57+
- nicconfigurationtemplates
58+
verbs:
59+
- create
60+
- delete
61+
- get
62+
- list
63+
- patch
64+
- update
65+
- watch
66+
- apiGroups:
67+
- configuration.net.nvidia.com
68+
resources:
69+
- nicconfigurationtemplates/finalizers
70+
verbs:
71+
- update
72+
- apiGroups:
73+
- configuration.net.nvidia.com
74+
resources:
75+
- nicconfigurationtemplates/status
76+
verbs:
77+
- get
78+
- patch
79+
- update
80+
- apiGroups:
81+
- configuration.net.nvidia.com
82+
resources:
83+
- nicdevices
84+
verbs:
85+
- create
86+
- delete
87+
- get
88+
- list
89+
- patch
90+
- update
91+
- watch
92+
- apiGroups:
93+
- configuration.net.nvidia.com
94+
resources:
95+
- nicdevices/finalizers
96+
verbs:
97+
- update
98+
- apiGroups:
99+
- configuration.net.nvidia.com
100+
resources:
101+
- nicdevices/status
102+
verbs:
103+
- get
104+
- patch
105+
- update
106+
- apiGroups:
107+
- maintenance.nvidia.com
108+
resources:
109+
- nodemaintenances
110+
verbs:
111+
- create
112+
- delete
113+
- get
114+
- list
115+
- patch
116+
- update
117+
- watch
118+
- apiGroups:
119+
- apps
120+
resources:
121+
- daemonsets
122+
verbs:
123+
- create
124+
- delete
125+
- get
126+
- list
127+
- patch
128+
- update
129+
- watch
130+
- apiGroups:
131+
- configuration.net.nvidia.com
132+
resources:
133+
- nicfirmwaresources
134+
verbs:
135+
- create
136+
- delete
137+
- get
138+
- list
139+
- patch
140+
- update
141+
- watch
142+
- apiGroups:
143+
- configuration.net.nvidia.com
144+
resources:
145+
- nicfirmwaresources/finalizers
146+
verbs:
147+
- update
148+
- apiGroups:
149+
- configuration.net.nvidia.com
150+
resources:
151+
- nicfirmwaresources/status
152+
verbs:
153+
- get
154+
- patch
155+
- update
156+
- apiGroups:
157+
- configuration.net.nvidia.com
158+
resources:
159+
- nicfirmwaretemplates
160+
verbs:
161+
- create
162+
- delete
163+
- get
164+
- list
165+
- patch
166+
- update
167+
- watch
168+
- apiGroups:
169+
- configuration.net.nvidia.com
170+
resources:
171+
- nicfirmwaretemplates/finalizers
172+
verbs:
173+
- update
174+
- apiGroups:
175+
- configuration.net.nvidia.com
176+
resources:
177+
- nicfirmwaretemplates/status
178+
verbs:
179+
- get
180+
- patch
181+
- update
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{ if .RuntimeSpec.IsOpenshift }}
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: Role
4+
metadata:
5+
name: nic-configuration-operator
6+
namespace: {{ .RuntimeSpec.Namespace }}
7+
rules:
8+
- apiGroups:
9+
- security.openshift.io
10+
resources:
11+
- securitycontextconstraints
12+
verbs:
13+
- use
14+
resourceNames:
15+
- privileged
16+
{{ end }}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 2025 NVIDIA CORPORATION & AFFILIATES
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
---
15+
kind: ClusterRoleBinding
16+
apiVersion: rbac.authorization.k8s.io/v1
17+
metadata:
18+
name: nic-configuration-operator
19+
roleRef:
20+
apiGroup: rbac.authorization.k8s.io
21+
kind: ClusterRole
22+
name: nic-configuration-operator
23+
subjects:
24+
- kind: ServiceAccount
25+
name: nic-configuration-operator
26+
namespace: {{ .RuntimeSpec.Namespace }}
27+
---
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# 2025 NVIDIA CORPORATION & AFFILIATES
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
{{ if .RuntimeSpec.IsOpenshift }}
15+
---
16+
apiVersion: rbac.authorization.k8s.io/v1
17+
kind: RoleBinding
18+
metadata:
19+
name: nic-configuration-operator
20+
namespace: {{ .RuntimeSpec.Namespace }}
21+
roleRef:
22+
apiGroup: rbac.authorization.k8s.io
23+
kind: Role
24+
name: nic-configuration-operator
25+
subjects:
26+
- kind: ServiceAccount
27+
name: nic-configuration-operator
28+
namespace: {{ .RuntimeSpec.Namespace }}
29+
{{ end }}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# 2025 NVIDIA CORPORATION & AFFILIATES
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
---
15+
apiVersion: v1
16+
kind: ConfigMap
17+
metadata:
18+
name: nic-configuration-operator-supported-nic-firmware
19+
namespace: {{ .RuntimeSpec.Namespace }}
20+
data:
21+
Nvidia_mlx5_ConnectX-4-24.07: "1013 24.07-0.6.1 12.28.2006"
22+
Nvidia_mlx5_ConnectX-5-24.07: "1017 24.07-0.6.1 16.35.4030"
23+
Nvidia_mlx5_ConnectX-5_Ex-24.07: "1019 24.07-0.6.1 16.35.4030"
24+
Nvidia_mlx5_ConnectX-6-24.07: "101b 24.07-0.6.1 20.42.1000"
25+
Nvidia_mlx5_ConnectX-6_Dx-24.07: "101d 24.07-0.6.1 22.42.1000"
26+
Nvidia_mlx5_ConnectX-6_Lx-24.07: "101f 24.07-0.6.1 26.42.1000"
27+
Nvidia_mlx5_ConnectX-7-24.07: "1021 24.07-0.6.1 28.42.1000"
28+
Nvidia_mlx5_MT42822_BlueField-2_integrated_ConnectX-6_Dx-24.07: "a2d6 24.07-0.6.1 24.42.1000"
29+
Nvidia_mlx5_ConnectX-4-24.10: "1013 24.10-0.7.0 12.28.2006"
30+
Nvidia_mlx5_ConnectX-4_Lx-24.10: "1013 24.10-0.7.0 14.32.1010"
31+
Nvidia_mlx5_ConnectX-5-24.10: "1017 24.10-0.7.0 16.35.4030"
32+
Nvidia_mlx5_ConnectX-5_Ex-24.10: "1019 24.10-0.7.0 16.35.4030"
33+
Nvidia_mlx5_ConnectX-6-24.10: "101b 24.10-0.7.0 20.43.1014"
34+
Nvidia_mlx5_ConnectX-6_Dx-24.10: "101d 24.10-0.7.0 22.43.1014"
35+
Nvidia_mlx5_ConnectX-6_Lx-24.10: "101f 24.10-0.7.0 26.43.1014"
36+
Nvidia_mlx5_ConnectX-7-24.10: "1021 24.10-0.7.0 28.43.1014"
37+
Nvidia_mlx5_MT42822_BlueField-2_integrated_ConnectX-6_Dx-24.10: "a2d6 24.10-0.7.0 24.43.2026"
38+
Nvidia_mlx5_MT43244_BlueField-3_integrated_ConnectX-7_Dx-24.10: "a2dc 24.10-0.7.0 32.43.2026"
39+
Nvidia_mlx5_ConnectX-4_Lx-25.01: "1013 25.01-0.6.0 14.32.1900"
40+
Nvidia_mlx5_ConnectX-5-25.01: "1017 25.01-0.6.0 16.35.4030"
41+
Nvidia_mlx5_ConnectX-5_Ex-25.01: "1019 25.01-0.6.0 16.35.4030"
42+
Nvidia_mlx5_ConnectX-6-25.01: "101b 25.01-0.6.0 20.43.2026"
43+
Nvidia_mlx5_ConnectX-6_Dx-25.01: "101d 25.01-0.6.0 22.44.1036"
44+
Nvidia_mlx5_ConnectX-6_Lx-25.01: "101f 25.01-0.6.0 26.44.1036"
45+
Nvidia_mlx5_ConnectX-7-25.01: "1021 25.01-0.6.0 28.44.1036"
46+
Nvidia_mlx5_MT42822_BlueField-2_integrated_ConnectX-6_Dx-25.01: "a2d6 25.01-0.6.0 24.44.1036"
47+
Nvidia_mlx5_MT43244_BlueField-3_integrated_ConnectX-7_Dx-25.01: "a2dc 25.01-0.6.0 32.44.1036"

0 commit comments

Comments
 (0)