Operator crashes if pmm section is not specified

Description

Similar to https://jira.percona.com/browse/K8SPG-193

Operator version: 2.2.0

Steps to reproduce:

  1. deploy bundle

  2. deploy cr.yaml without pmm section

 

Result: Operator pod crashes with the following error

 

Expectation: Operator does not crash and pmm just does not work

Environment

None

Activity

Slava Sarzhan October 9, 2023 at 9:03 AM

The issue was fixed.

Done

Details

Assignee

Reporter

Needs QA

Yes

Time tracking

1h logged

Fix versions

Affects versions

Priority

Smart Checklist

Created July 6, 2023 at 11:58 AM
Updated March 5, 2024 at 3:45 PM
Resolved October 26, 2023 at 2:17 PM