Skip to content

Commit 7f92996

Browse files
nmarukovichhors
andauthored
K8SPSMDB-1297-fix fix version (#1942)
Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>
1 parent c3ff004 commit 7f92996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/psmdb/pmm/pmm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func containerForPMM2(cr *api.PerconaServerMongoDB, secret *corev1.Secret, dbPor
148148
pmm.Env = append(pmm.Env, pmmAgentEnvs(spec, secret, customLogin, customAdminParams)...)
149149
}
150150

151-
if cr.CompareVersion("1.18.0") >= 0 {
151+
if cr.CompareVersion("1.21.0") >= 0 {
152152
pmm.VolumeMounts = append(pmm.VolumeMounts, corev1.VolumeMount{
153153
Name: config.MongodDataVolClaimName,
154154
MountPath: config.MongodContainerDataDir,

0 commit comments

Comments
 (0)