File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,9 @@ func VerifyImageValues(cluster *v1beta1.PostgresCluster) error {
154154 cluster .Spec .Monitoring .PGMonitor .Exporter != nil {
155155 images = append (images , "crunchy-postgres-exporter" )
156156 }
157- if PGExporterContainerImage (cluster ) == "" &&
158- cluster .Spec .Monitoring != nil &&
159- cluster .Spec .Monitoring .PGMonitor != nil &&
160- cluster .Spec .Monitoring .PGMonitor .Exporter != nil {
161- images = append (images , "crunchy-postgres-exporter" )
157+ if CollectorContainerImage (cluster .Spec .Instrumentation ) == "" &&
158+ cluster .Spec .Instrumentation != nil {
159+ images = append (images , "crunchy-collector" )
162160 }
163161 if PostgresContainerImage (cluster ) == "" {
164162 if cluster .Spec .PostGISVersion != "" {
You can’t perform that action at this time.
0 commit comments