Skip to content

Commit e14dddc

Browse files
authored
chore: adjust mountpath for configstore if pvc is used (#312)
1 parent 9139f96 commit e14dddc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/apps/v1alpha1/nemo_guardrails_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ func (n *NemoGuardrail) GetVolumeMounts() []corev1.VolumeMount {
406406
MountPath: "/config-store/default",
407407
}
408408
if n.Spec.ConfigStore.PVC != nil {
409+
volumeMount.MountPath = "/config-store"
409410
volumeMount.SubPath = n.Spec.ConfigStore.PVC.SubPath
410411
}
411412

0 commit comments

Comments
 (0)