Skip to content

Commit

Permalink
Fix scripts volum issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkisaolamb committed Feb 2, 2024
1 parent 18fc0ca commit 0281e36
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/placement/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ func getVolumes(name string) []corev1.Volume {
{
Name: "scripts",
VolumeSource: corev1.VolumeSource{
ConfigMap: &corev1.ConfigMapVolumeSource{
Secret: &corev1.SecretVolumeSource{
DefaultMode: &scriptsVolumeDefaultMode,
LocalObjectReference: corev1.LocalObjectReference{
Name: name + "-scripts",
},
SecretName: name + "-config-data",
},
},
},
Expand Down

0 comments on commit 0281e36

Please sign in to comment.