Skip to content

Commit

Permalink
Set default container to driver (#543)
Browse files Browse the repository at this point in the history
* Set default container to driver

* Add exception for the unfixed CVE
  • Loading branch information
ChristianAtDell committed Oct 15, 2024
1 parent 7331ac4 commit 6b0bc82
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/containerscan/allowedlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ general:
- CVE-2019-1010022
- CVE-2023-0286
- CVE-2023-4911 # this will be removed with the glibc library is updated in the UBI image
- CVE-2024-2961 # Another unfixed glibc CVE

bestPracticeViolations:
# list of best practies violatied that needs a fix
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/powerflex/v2.10.0/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ spec:
metadata:
labels:
name: <DriverDefaultReleaseName>-controller
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
affinity:
nodeSelector:
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/powerflex/v2.10.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ spec:
labels:
app: <DriverDefaultReleaseName>-node
driver.dellemc.com: dell-storage
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccount: <DriverDefaultReleaseName>-node
dnsPolicy: ClusterFirstWithHostNet
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/powermax/v2.10.0/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ spec:
metadata:
labels:
app: <DriverDefaultReleaseName>-controller
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccount: <DriverDefaultReleaseName>-controller
affinity:
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/powermax/v2.10.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ spec:
metadata:
labels:
app: <DriverDefaultReleaseName>-node
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccount: <DriverDefaultReleaseName>-node
#nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ spec:
metadata:
labels:
app: <DriverDefaultReleaseName>-controller
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccount: <DriverDefaultReleaseName>-controller
affinity:
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/powerscale/v2.10.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ spec:
metadata:
labels:
app: <DriverDefaultReleaseName>-node
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccount: <DriverDefaultReleaseName>-node
#nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ spec:
metadata:
labels:
name: <DriverDefaultReleaseName>-controller
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccountName: <DriverDefaultReleaseName>-controller
affinity:
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/powerstore/v2.10.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ spec:
labels:
app: <DriverDefaultReleaseName>-node
driver.dellemc.com: dell-storage
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
#nodeSelector:
#tolerations:
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/unity/v2.10.0/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ spec:
metadata:
labels:
app: <DriverDefaultReleaseName>-controller
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccountName: <DriverDefaultReleaseName>-controller
affinity:
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/unity/v2.10.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
metadata:
labels:
app: <DriverDefaultReleaseName>-node
annotations:
kubectl.kubernetes.io/default-container: driver
spec:
serviceAccountName: <DriverDefaultReleaseName>-node
hostIPC: true
Expand Down

0 comments on commit 6b0bc82

Please sign in to comment.