Skip to content

Commit

Permalink
Use 0440 mode for mounted token
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaron committed Jun 7, 2023
1 parent 937785a commit 084d877
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,9 @@ func NewPodForCR(cr *model.CryostatInstance, specs *ServiceSpecs, imageTags *Ima
Name: "insights-token",
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: cr.Name + "-insights-token",
Optional: &[]bool{true}[0],
SecretName: cr.Name + "-insights-token",
Optional: &[]bool{true}[0],
DefaultMode: &readOnlyMode,
},
},
}
Expand Down

0 comments on commit 084d877

Please sign in to comment.