Skip to content

Commit

Permalink
add missing volume name for the encryption
Browse files Browse the repository at this point in the history
The name of the volume and the volumeMount
should be the same, this commit adds the missing
volumeName for the encryption mount.

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 committed Sep 26, 2024
1 parent eb40f96 commit 6ac57ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/utils/csi.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ var EtcSelinuxVolume = corev1.Volume{

func KmsConfigVolume(configRef *corev1.LocalObjectReference) corev1.Volume {
return corev1.Volume{
Name: kmsConfigVolumeName,
VolumeSource: corev1.VolumeSource{
ConfigMap: &corev1.ConfigMapVolumeSource{
LocalObjectReference: *configRef,
Expand Down

0 comments on commit 6ac57ff

Please sign in to comment.