Skip to content

Commit

Permalink
Add default service account for toolbox pod
Browse files Browse the repository at this point in the history
Currently rook scc are updated to remove the k8s
default service account, so toolbox should start
with rook-ceph-default service account

Signed-off-by: Nikhil-Ladha <[email protected]>
Co-authored-by: parth-gr <[email protected]>
  • Loading branch information
Nikhil-Ladha and parth-gr committed Mar 19, 2024
1 parent 8357385 commit 30b9ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/v1/storagecluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,8 @@ func (r *StorageCluster) NewToolsDeployment(tolerations []corev1.Toleration) *ap
},
},
Spec: corev1.PodSpec{
DNSPolicy: corev1.DNSClusterFirstWithHostNet,
DNSPolicy: corev1.DNSClusterFirstWithHostNet,
ServiceAccountName: "rook-ceph-default",
Containers: []corev1.Container{
{
Name: name,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30b9ef3

Please sign in to comment.